1 Pages (10 items)
Automatic numbering sections book - Messages
#1 Posted: 9/3/2018 6:22:50 AM
A template about how to create automatic numbering sections, figures, tables and equation labels.
Best regards.
Alvaro.
Automatic numbering sections book.sm (84 KiB) downloaded 337 time(s).
Best regards.
Alvaro.
Automatic numbering sections book.sm (84 KiB) downloaded 337 time(s).
2 users liked this post
#2 Posted: 9/28/2018 9:34:35 PM
Razonar,
How do you start from paragraph 1? preferably 0?
Thanks,
Basile
PS. Can this be extended to have an automatic Table of Contents, List of Figures, List of Tables, and List of Equations?
How do you start from paragraph 1? preferably 0?
Thanks,
Basile
PS. Can this be extended to have an automatic Table of Contents, List of Figures, List of Tables, and List of Equations?
#3 Posted: 9/30/2018 6:29:45 AM
WroteRazonar,
How do you start from paragraph 1? preferably 0?
Thanks,
Basile
PS. Can this be extended to have an automatic Table of Contents, List of Figures, List of Tables, and List of Equations?
Hi Basile. You can start from any paragraph pointing the value of the variable '§, for example from paragraph six is: '§:mat(5,1,1)
For paragraph 1 use zero as starting value.
Yes, I it's possible automate the TOC, but I don't know how to catch in the SMath document the page number, so, I can do that but manually adding it. Index at the end of the attached.
Automatic numbering sections book.sm (85 KiB) downloaded 102 time(s).
Best regards.
Alvaro.
1 users liked this post
Вячеслав Мезенцев 9/30/2018 6:42:00 AM
#4 Posted: 9/30/2018 2:20:51 PM
Very nice 
I guess you can add the code in a function to reduce the code repetition and call only that function on the region placeholder

I guess you can add the code in a function to reduce the code repetition and call only that function on the region placeholder
One day I'll resurrect the sections region project

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 9/30/2018 3:00:44 PM
WroteVery nice
I guess you can add the code in a function to reduce the code repetition and call only that function on the region placeholderOne day I'll resurrect the sections region project![]()
Yes, it's possible, let's me see if can do that.
Here, my old mcad 11 project for numbering pages.
numbers.zip (151 KiB) downloaded 96 time(s).
numbers.pdf (343 KiB) downloaded 148 time(s).
Best regards.
Alvaro.
#6 Posted: 9/30/2018 11:04:38 PM
I never looked outside the document...
Any table of contents, figures, tables, equations, possible?
Thank you.
Basile
Any table of contents, figures, tables, equations, possible?
Thank you.
Basile
#7 Posted: 10/1/2018 1:27:12 AM
Hi. The One-Function version, with TOC at the end.
Best regards
Alvaro.
Automatic numbering sections book v2.sm (38 KiB) downloaded 131 time(s).
Best regards
Alvaro.
Automatic numbering sections book v2.sm (38 KiB) downloaded 131 time(s).
1 users liked this post
Davide Carpi 10/1/2018 3:25:00 AM
#8 Posted: 10/1/2018 5:04:38 AM
You can display the index at the begin of the document if you assign it to an absolute variable at the end (those variables starting with a tilde ~)
On german keyboards, the tilde has to be copied from a text region as it is catched as a hotkey for boolean = in math regions).
BTW, why don't you use formatted labels?
![2018-10-01 09_58_08-SMath Studio 0.99.6839 - [Automatic%20numbering%20sections%20book%20v3.sm].png](/en-US/file/S7nvyG/2018-10-01-09_58_08-SMath-Studio-0_99_6839---_Automatic_20numbering_20sections_20book_20v3_sm__png)
Automatic%20numbering%20sections%20book%20v3.sm (40 KiB) downloaded 96 time(s).
On german keyboards, the tilde has to be copied from a text region as it is catched as a hotkey for boolean = in math regions).
BTW, why don't you use formatted labels?
Automatic%20numbering%20sections%20book%20v3.sm (40 KiB) downloaded 96 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#9 Posted: 10/1/2018 3:46:23 PM
Hi Martin. Thanks for the update about global variables. I don't use formated labels because I want only to show how get automatic numbering into several SMath documents with native SMath tools. Without any doubt with formated labels it will looks great.
Best regards
Alvaro
Best regards
Alvaro
#10 Posted: 10/1/2018 8:56:27 PM
The formated label version.
Best regards
Alvaro
Automatic numbering sections book - Formated label.sm (36 KiB) downloaded 275 time(s).
Best regards
Alvaro
Automatic numbering sections book - Formated label.sm (36 KiB) downloaded 275 time(s).
4 users liked this post
Вячеслав Мезенцев 10/1/2018 9:10:00 PM, frapuano 10/2/2018 6:05:00 AM, sergio 1/21/2020 8:38:00 AM, Igor K 10/1/2024 5:44:00 PM
1 Pages (10 items)
-
New Posts
-
No New Posts