Hyperlink Region

Hyperlink Region - Add hyperlinks in SMath Studio worksheets/SMath Viewer - Messages

#61 Posted: 6/4/2019 9:07:58 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hi Federico,

Wrote

Hi Davide,
is there a way to save a pdf of an .sm file, and keeping the Hyperlink Region as a real embedded hyperlink in the pdf file?


Not in my knowledge, the only way might be to expose the link path on the screen. Regions are passed to the printer as Graphic objects, all the magic is done beyond our code. Even in TextRegions or WriterRegions, text is converted to links if the pdf engine detects a link scheme in the text, regardless what is done in the program.


Wrote

Currently I'm saving pdfs with Andrey's tool "PDF Files Plugin", meaning that I simply select " SAVE AS ---> .pdf " from the "file" tab.
Doing this, the hyperlink Region will become an image in the pdf file.


I'm not even sure if the above requirement is related more to the "Hyperlink plugin" or to the "PDF Files Plugin" behaviour.


I don't know if it is possible to do something using the PDFFiles PLugin, I'll take a look at it...
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#62 Posted: 6/4/2019 9:14:49 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hi Jean, my goal is not to reconvert.
Probably I didn't write it properly: I would like to open an sm file that contains Hyperlinks, and save it as pdf where Hyperlink Regions are still clickable links.


Oh ! I understand.
Don't take my word, my 15 years old NUANCE PDF creator has that feature.
At the time I paid CDN $ < 50. Still working but never use for *.sm


#63 Posted: 6/4/2019 10:52:25 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Here is the answer:
1. include the web hyperlink in the Davide Writer Region in your *.sm document
2. saves as virtual CutePDF in your PDF directory.
3. open the *.PDF from the directory
4. click on the blue link.
5. authorize Adobe reader to open web
6. here is ... Ah Ah ! done.



NASA.pdf (63 KiB) downloaded 81 time(s).

#64 Posted: 6/4/2019 11:04:50 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... refreshed

NASAairplane.pdf (71 KiB) downloaded 77 time(s).
#65 Posted: 6/5/2019 3:14:04 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Hi Davide,
is there a way to save a pdf of an .sm file, and keeping the Hyperlink Region as a real embedded hyperlink in the pdf file?

Currently I'm saving pdfs with Andrey's tool "PDF Files Plugin", meaning that I simply select " SAVE AS ---> .pdf " from the "file" tab.
Doing this, the hyperlink Region will become an image in the pdf file.


I'm not even sure if the above requirement is related more to the "Hyperlink plugin" or to the "PDF Files Plugin" behaviour.



A crude workaround might be to go via Latex format and using the hyperref package. This of course destroys the 2D layout of the document.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#66 Posted: 6/5/2019 9:00:43 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

A crude workaround might be to go via Latex format and using the hyperref package. This of course destroys the 2D layout of the document.


How to do post 63, example to download, it works back for me.
Federico didn't reply. Downloaded 3 times only, maybe limited interest.
What we don't know: Smath version that have save as *.PDF may not
recognize save as virtual printer ... Use freeware CutePDF virtual printer.
#67 Posted: 6/5/2019 10:27:03 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

Hi Jean, I have read your reply and looked for CutePDF, will test it on my home pc (don't want to install to much on the office pc on my own ).
On the other hand, I think I will not try the LaTex option, too complicated for me to involve LaTex for this task only.
#68 Posted: 6/5/2019 1:47:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hi Jean, I have read your reply and looked for CutePDF, will test it on my home pc


CutePDF is one of those perpetual exceptional freeware:
Worth trying for better bed time ! ... Jean


#69 Posted: 6/13/2019 5:54:44 AM
sergio

sergio

115 likes in 329 posts.

Group: User

Davide,
has been experiencing the following problem for some time now (so not only in the latest version of development available).
To generate a hyperlink quickly and without forgetting any characters, I used to copy the full name of the file to the clipboard and then copy it into smath. As shown in the figure, the simple procedure indicated is complicated by the fact that the particular characters (including the dot and the colon that are always present and in any case) are apparently well copied in smath (as seen from the string) but if applied in the Hiperlink Region , give problems.

I thank you for the attention you will give me.

sergio
CodificaCaratteri.png
#70 Posted: 6/13/2019 6:46:37 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Thank you, I think I can fix it this weekend.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
sergio 6/13/2019 4:24:00 PM
#71 Posted: 6/15/2019 10:12:05 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Should be fixed now (plugin updated).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
NDTM Amarasekera 6/15/2019 10:20:00 AM, sergio 6/15/2019 11:42:00 AM
  • New Posts New Posts
  • No New Posts No New Posts