Hyperlink Region

Hyperlink Region - Add hyperlinks in SMath Studio worksheets/SMath Viewer - Сообщения

#61 Опубликовано: 04.06.2019 09:07:58
Davide Carpi

Davide Carpi

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

Группа: 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 Опубликовано: 04.06.2019 09:14:49
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 04.06.2019 10:52:25
Jean Giraud

Jean Giraud

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

Группа: 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 КиБ) скачан 52 раз(а).

#64 Опубликовано: 04.06.2019 11:04:50
Jean Giraud

Jean Giraud

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

Группа: User

... refreshed

NASAairplane.pdf (71 КиБ) скачан 57 раз(а).
#65 Опубликовано: 05.06.2019 03:14:04
Martin Kraska

Martin Kraska

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

Группа: 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 Опубликовано: 05.06.2019 09:00:43
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 05.06.2019 10:27:03
fedeghi

fedeghi

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

Группа: 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 Опубликовано: 05.06.2019 13:47:04
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 13.06.2019 05:54:44
sergio

sergio

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

Группа: 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 Опубликовано: 13.06.2019 06:46:37
Davide Carpi

Davide Carpi

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

Группа: 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 пользователям понравился этот пост
sergio 13.06.2019 16:24:00
#71 Опубликовано: 15.06.2019 10:12:05
Davide Carpi

Davide Carpi

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

Группа: 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 пользователям понравился этот пост
NDTM Amarasekera 15.06.2019 10:20:00, sergio 15.06.2019 11:42:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений