Program to create TOC based on files in directory

Program to create TOC based on files in directory - Small program - Messages

#1 Posted: 4/16/2018 7:43:22 PM
m227

m227

4 likes in 29 posts.

Group: User

Hi, I just needed to make a table of contents file built from hyperlinks. I installed Hyperlink Region of Davide Carpi but found creating hyperlinks to be too uncomfortable for many files. So I wrote small (Windows) program to facilitate this functionality. Tested on Win7/64, Win10. I'm not sure if i did not do something already done. Screenshots and exe file attached.
2018-04-17 00_35_31-SMath helpers.png
2018-04-17 00_42_02-SMath Studio - [TOC.sm].png
SMath_Helpers.7z (39 KiB) downloaded 107 time(s).
3 users liked this post
Andrey Ivashov 4/17/2018 5:38:00 PM, sergio 4/17/2018 5:09:00 AM, Davide Carpi 4/17/2018 2:58:00 AM
#2 Posted: 4/16/2018 11:59:41 PM
gabben

gabben

1 likes in 7 posts.

Group: User

I have found myself in the same situation. This tool is a great help. Thank you.
#3 Posted: 4/17/2018 12:41:57 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I have found myself in the same situation.
This tool is a great help. Thank you.



A TOC for some simple/nvariant models Mathcad style might help.
But in real Smath, you will accumulate work by categories that
you constantly update. Click on your Smath file Directory,
browse much quicker than browsing 100's pages TOC.
In few scroll, I find fast among 1500 Smath work sheets.
#4 Posted: 4/17/2018 2:29:44 AM
gabben

gabben

1 likes in 7 posts.

Group: User

Great that youve found a way that works for you. Please be careful with coining whats "real" Smath and whats not - the method you describe does not fit all use cases.


Wrote

Wrote

I have found myself in the same situation.
This tool is a great help. Thank you.



A TOC for some simple/nvariant models Mathcad style might help.
But in real Smath, you will accumulate work by categories that
you constantly update. Click on your Smath file Directory,
browse much quicker than browsing 100's pages TOC.
In few scroll, I find fast among 1500 Smath work sheets.



#5 Posted: 4/17/2018 5:15:53 AM
m227

m227

4 likes in 29 posts.

Group: User

Wrote

Wrote

I have found myself in the same situation.
This tool is a great help. Thank you.



A TOC for some simple/nvariant models Mathcad style might help.
But in real Smath, you will accumulate work by categories that
you constantly update. Click on your Smath file Directory,
browse much quicker than browsing 100's pages TOC.
In few scroll, I find fast among 1500 Smath work sheets.



Jean, gabben is right. My sample case was different: I prepared about 30 sample files for students. I simply wanted to make list of samples in the same format as they are (i had to have it also as PDF file). I am aware that this is not a browser replacement. If it matters I can prepare plug-in some time (if i grab more python or c#), I think it could be trivial for Davide. Here is upgraded version.

2018-04-17 10_12_30-SMath helpers.png
SMath_Helpers.7z (41 KiB) downloaded 103 time(s).
1 users liked this post
Andrey Ivashov 4/17/2018 5:38:00 PM
#6 Posted: 4/17/2018 7:24:22 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Nice tool

Wrote

I installed Hyperlink Region of Davide Carpi but found creating hyperlinks to be too uncomfortable for many files.


There is the text region utilities (but works on text region hyperlinks, thus *.sm and *.smz files only)

2018-04-17 12_23_40-SMath Studio - [East%20Balcony%20Design.sm_].png

Can I add your utility in the wiki?


BTW, document sections+TOC plugin still work in progress, need some further improvement in Writer Region...
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
frapuano 4/17/2018 8:45:00 AM, sergio 4/17/2018 7:46:00 AM, Andrey Ivashov 4/17/2018 5:38:00 PM
#7 Posted: 4/17/2018 10:27:09 AM
m227

m227

4 likes in 29 posts.

Group: User

Wrote

Can I add your utility in the wiki?


Davide, thank you for your praise, feel free to add this tool, I am glad if I could help someone. It can be my small contribution to SMath development. By the way I did some other tools, i.e. copying excel ranges as tables to SMath Studio and recently (not finished yet) translating SMath equations to MS Word 2007+ equations (to use them in internal Word Equation form instead of raster pictures). I am sure that if I used Python I could make internal plug-ins, but as my native environment is Delphi I am a little limited. Fortunately (Long live Andrey!) SMath XML and clipboard format is very self-explaining.
#8 Posted: 4/17/2018 10:58:48 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

A TOC for some simple/invariant models Mathcad style might help.


... Mathcad 8 Pro. TOC of MathSoft models 977 work sheets [65 MB]
Personally, I expanded all sections in a single "visit sheet".
Easy to glance by section and title ... click, bingo !
Finding something of interest is fast/magic.

My Smath work sheet Directory is in C:\Smath 6179 [1408 documents, 117 MB]
All that stuff is by categories,
as easy to glance than Mathcad TOC and personal *.mcd



#9 Posted: 4/17/2018 11:05:42 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

All that stuff is by categories,



... all my Instrumentation Category 89 documents, 10 MB
... all in suite, easy to retrieve from titles.

#10 Posted: 4/17/2018 5:46:56 PM
m227

m227

4 likes in 29 posts.

Group: User

Wrote

Wrote

All that stuff is by categories,


... all my Instrumentation Category 89 documents, 10 MB
... all in suite, easy to retrieve from titles.


Jean, I am amazed by your huge collection of MathCad files and gathered knowledge. Such library surely must have some sort of order to be usable. However boasting of space used to store this data does not move me at all. After working with a big hog as MathCad is I was astonished by SMath Studio tiny size. When I downloaded SMath Studio for the first time I could not believe that it could be such small. This is what I call Zen of programming. Of course today computers have plenty of storage so no need to worry about files size. Anyway, imho the size is not any indicator of quality (and sometimes it is in a negative sense).
#11 Posted: 4/17/2018 6:15:16 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

feel free to add this tool, I am glad if I could help someone.


Thank you

Wrote

By the way I did some other tools, i.e. copying excel ranges as tables to SMath Studio and recently (not finished yet) translating SMath equations to MS Word 2007+ equations (to use them in internal Word Equation form instead of raster pictures). I am sure that if I used Python I could make internal plug-ins, but as my native environment is Delphi I am a little limited.


About translating to Word equations you can found the same feature in DataExchange (when you save ODT files, they can be opened both in LibreOffice and in Word with editable math) and even in WriterRegion (single equation can be copied and pasted in MS Word); about cells conversion there are the clipboard region and the utility linked above (sources of all are in our repository and are in C#, no soures for the external tool)
I know thesse are different approaches than your that is based on the xml file, but might be a point of contact to start learning about how plugins are made

Wrote

Fortunately (Long live Andrey!) SMath XML and clipboard format is very self-explaining.


True
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Posted: 4/17/2018 6:21:52 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Such library surely must have some sort of order to be usable.



Yes, Mathcad 8 Pro. TOC model sheets are ordered by categories,
per say ODE solvers. This TOC was removed in MCD 11, replaced
by another TOC muchmuch less educative and smaller.
OriginLab, very powerful is only 6 MB ~ 3 times Smath.
Mathcad was [still is] a collection of subcontracts,
some of them very immense ! Mathcad 3D !
  • New Posts New Posts
  • No New Posts No New Posts