Table of contents with link

Table of contents with link - Сообщения

#1 Опубликовано: 3 года назад
Man

Man

0 сообщений из 3 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: User

TOC.PNG

Project Data Analysis Statistical Histogram..sm (91 КиБ) скачан 94 раз(а).
#5 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: Moderator

Wrote

TOC.PNG

Project Data Analysis Statistical Histogram..sm (91 КиБ) скачан 94 раз(а).


This reply doesn't contain a TOC or something similar.
Not related with OP's request. Jean is being Jean, again..
#6 Опубликовано: 3 года назад
Martin Kraska

Martin Kraska

1 230 сообщений из 2 156 понравились пользователям.

Группа: 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
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#7 Опубликовано: 3 года назад
Man

Man

0 сообщений из 3 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: User

Wrote

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



TOC Hyperlink.PNG
#9 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Davide Carpi

Davide Carpi

1 418 сообщений из 2 874 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Man

Man

0 сообщений из 3 понравились пользователям.

Группа: User

Ok Thank you everyone.
#12 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: 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 КиБ) скачан 100 раз(а).
#13 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: Moderator

Wrote

TOC [4 Clients Model].sm (205 КиБ) скачан 100 раз(а).


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 пользователям понравился этот пост
fedeghi 3 года назад
#14 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

983 сообщений из 6 866 понравились пользователям.

Группа: 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."
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений