Table of contents with link

Table of contents with link - Poruke

#1 Objavljeno: 28. 1. 2022. 12:48:58
Man

Man

0 svidjanja u 3 postova.

Grupa: User

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
#2 Objavljeno: 29. 1. 2022. 14:18:33
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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.


#3 Objavljeno: 29. 1. 2022. 14:40:24
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Check for Razonar's replies under this topic.
Here is the link for his last example/sample about your toc request.

Regards

https://en.smath.com/forum/yaf_postsm51476_Automatic-numbering-sections-book.aspx#post51476
#4 Objavljeno: 30. 1. 2022. 09:43:24
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

TOC.PNG

Project Data Analysis Statistical Histogram..sm (91,73 KiB) preuzeto 1344 put(ova).
#5 Objavljeno: 30. 1. 2022. 14:25:41
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

TOC.PNG

Project Data Analysis Statistical Histogram..sm (91,73 KiB) preuzeto 1344 put(ova).


This reply doesn't contain a TOC or something similar.
Not related with OP's request. Jean is being Jean, again..
#6 Objavljeno: 30. 1. 2022. 17:40:21
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

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)

2022-01-30 20_20_39-SMath Studio 0.99.7579 - [TOC.sm_].png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#7 Objavljeno: 31. 1. 2022. 09:50:06
Man

Man

0 svidjanja u 3 postova.

Grupa: User

Wrote

Wrote

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.

TOC_Example.PNG

Wrote

Check for Razonar's replies under this topic.
Here is the link for his last example/sample about your toc request.

Regards

https://en.smath.com/forum/yaf_postsm51476_Automatic-numbering-sections-book.aspx#post51476



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.

Wrote

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)

2022-01-30 20_20_39-SMath Studio 0.99.7579 - [TOC.sm_].png



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.
#8 Objavljeno: 31. 1. 2022. 10:25:35
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

This reply doesn't contain a TOC or something similar.



TOC Hyperlink.PNG
#9 Objavljeno: 31. 1. 2022. 11:58:39
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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.


#10 Objavljeno: 31. 1. 2022. 15:59:51
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

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.


Wrote

At least in build 7579 it worked.



Thank you, I see it doesn't works anymore as expected. I'll check it too.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#11 Objavljeno: 1. 2. 2022. 06:08:47
Man

Man

0 svidjanja u 3 postova.

Grupa: User

Ok Thank you everyone.
#12 Objavljeno: 1. 2. 2022. 09:32:32
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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 (205,29 KiB) preuzeto 1095 put(ova).
#13 Objavljeno: 1. 2. 2022. 16:18:36
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

TOC [4 Clients Model].sm (205,29 KiB) preuzeto 1095 put(ova).


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 korisnika je svidelo ovu objavu
fedeghi 2. 2. 2022. 04:00:00
#14 Objavljeno: 1. 2. 2022. 18:37:26
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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.
Wrote

At least in build 7579 it worked.

Thank you, I see it doesn't works anymore as expected. I'll check it too."
  • Novi postovi
  • Nema novih postova