Program to create TOC based on files in directory

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

#1 已发布: 2018/4/16 19:43:22
m227

m227

4个赞和1个踩,共29个帖子。

组: 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.37 KiB)已下载 893 次。
3位用户喜欢此帖子
Andrey Ivashov 2018/4/17 17:38:00, sergio 2018/4/17 05:09:00, Davide Carpi 2018/4/17 02:58:00
#2 已发布: 2018/4/16 23:59:41
gabben

gabben

1个赞,共7个帖子。

组: User

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

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2018/4/17 02:29:44
gabben

gabben

1个赞,共7个帖子。

组: 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 已发布: 2018/4/17 05:15:53
m227

m227

4个赞和1个踩,共29个帖子。

组: 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.29 KiB)已下载 914 次。
1位用户喜欢此帖子
Andrey Ivashov 2018/4/17 17:38:00
#6 已发布: 2018/4/17 07:24:22
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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位用户喜欢此帖子
frapuano 2018/4/17 08:45:00, sergio 2018/4/17 07:46:00, Andrey Ivashov 2018/4/17 17:38:00
#7 已发布: 2018/4/17 10:27:09
m227

m227

4个赞和1个踩,共29个帖子。

组: 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 已发布: 2018/4/17 10:58:48
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2018/4/17 11:05:42
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2018/4/17 17:46:56
m227

m227

4个赞和1个踩,共29个帖子。

组: 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 已发布: 2018/4/17 18:15:16
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2018/4/17 18:21:52
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 !
  • 有新帖
  • 无新帖