Rank: Newbie
Groups: Registered
Joined: 28/01/2022(UTC) Posts: 3
|
Hello,
I have been using Smath for the last two years, but only basic stuffs.
Right now, I have a document that's a little bit long and I would like to add a table of contents with the ability to jump to the chapters, like in Word.
Is there a way to achieve this?
Best regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: waulu13 Right now, I have a document that's a little bit long and I would like to add a table of contents with the ability to jump to the chapters, like in Word. Is there a way to achieve this? Not sure what's too long ... If the table per chapters, then sub-collect. Please, attach the table imported in Smath. Cheers ... Jean.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: Jean Giraud This reply doesn't contain a TOC or something similar. Not related with OP's request. Jean is being Jean, again..
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
Complex documents can be split into individual sm files which can be cross-referenced by text regions with active links. The interactive handbook is an example of such a document. In the early years this approach required editing of the xml contents of the sm files, based on inspection of Andrey's math reference book. Davide has provided the Text region utilities plugin, which provides means to edit these links from within SMath Studio. The "toolbox" also provides batch generation of links to all files in a given directory. Unfortunately, this doesn't work any more in recent SMath versions. At least in build 7579 it worked. The link text can be generated based on file name (as in the screen shot) or based on title or description from the metadata (File> Properties) |
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 28/01/2022(UTC) Posts: 3
|
Originally Posted by: Jean Giraud Originally Posted by: waulu13 Right now, I have a document that's a little bit long and I would like to add a table of contents with the ability to jump to the chapters, like in Word. Is there a way to achieve this? Not sure what's too long ... If the table per chapters, then sub-collect. Please, attach the table imported in Smath. Cheers ... Jean. Hi Jean, thank you for your reply, but I am not sure I understood it. Maybe I wasn't clear, I have attached an image of what I pretend. Originally Posted by: overlord Hi Razonar, thank you for your reply. I downloaded the file, I think the table of contents is not clickable right? So, I would like to click over some chapter in the Table of Contents and Smath automatically jumps to the page where the chapter is located. Originally Posted by: mkraska Complex documents can be split into individual sm files which can be cross-referenced by text regions with active links. The interactive handbook is an example of such a document. In the early years this approach required editing of the xml contents of the sm files, based on inspection of Andrey's math reference book. Davide has provided the Text region utilities plugin, which provides means to edit these links from within SMath Studio. The "toolbox" also provides batch generation of links to all files in a given directory. Unfortunately, this doesn't work any more in recent SMath versions. At least in build 7579 it worked. The link text can be generated based on file name (as in the screen shot) or based on title or description from the metadata (File> Properties) Hi mkraska, thank you for your reply. I saw that option too, thanks. If I don't find a way of doing everything in the same documents, I may do that yes. Edited by user 31 January 2022 15:55:12(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord This reply doesn't contain a TOC or something similar.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: waulu13 Hi Jean, thank you for your reply, but I am not sure I understood it. Maybe I wasn't clear, I have attached an image of what I pretend. Attach your 3 Chapters as 3 clean images from Word. I will make them brute force accessible. Cheers ... Jean.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
As for now an hyperlink approach like those proposed above is available/useful only if the contents are in different worksheets. I have to check the recent improvements by Andrey but my latest attempt to implement TOC in WriterRegion wasn't good enough for some limitations, I'll give it another try soon. Originally Posted by: mkraska At least in build 7579 it worked. Thank you, I see it doesn't works anymore as expected. I'll check it too. Edited by user 31 January 2022 22:04:11(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 28/01/2022(UTC) Posts: 3
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: waulu13 Ok Thank you everyone. In the mean time you have Go to page from the coded TOC, you can survive/access ▄ this demo. Very easy to sanity QA my for 4 Clients from remote. BTW, the Mathsoft page hyperlink was tested only, never used in the Mathsoft Collaboratory over 10 years I shared. Cheers, best ... Jean. TOC [4 Clients Model].sm (206kb) downloaded 27 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 508 time(s) in 338 post(s)
|
Originally Posted by: Jean Giraud This is not a TOC example. This is not even a workaround for a TOC. I can't even describe what kind of a monstrosity reply this is.
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord This is not a TOC example. This is not a TOC ... a hyperlink to regions of a work sheet. "As for now an hyperlink approach like those proposed above is available/useful only if the contents are in different worksheets. I have to check the recent improvements by Andrey but my latest attempt to implement TOC in WriterRegion wasn't good enough for some limitations, I'll give it another try soon. Originally Posted by: mkraska At least in build 7579 it worked. Thank you, I see it doesn't works anymore as expected. I'll check it too."
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.