Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

4 Pages«<234
Options
Go to last post Go to first unread
Offline Davide Carpi  
#61 Posted : 04 June 2019 15:07:58(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,391
Man
Italy
Location: Italy

Was thanked: 1195 time(s) in 787 post(s)
Hi Federico,

Originally Posted by: fedeghi Go to Quoted Post
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.


Originally Posted by: fedeghi Go to Quoted Post
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 a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Jean Giraud  
#62 Posted : 04 June 2019 15:14:49(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,427
Canada

Was thanked: 845 time(s) in 675 post(s)
Originally Posted by: fedeghi Go to Quoted Post
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


Offline Jean Giraud  
#63 Posted : 04 June 2019 16:52:25(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,427
Canada

Was thanked: 845 time(s) in 675 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 (64kb) downloaded 23 time(s).

Offline Jean Giraud  
#64 Posted : 04 June 2019 17:04:50(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,427
Canada

Was thanked: 845 time(s) in 675 post(s)
... refreshed

NASAairplane.pdf (72kb) downloaded 26 time(s).
Offline mkraska  
#65 Posted : 05 June 2019 09:14:04(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,675
Germany

Was thanked: 924 time(s) in 582 post(s)
Originally Posted by: fedeghi Go to Quoted Post
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/wi...th%20with%20Plugins.ashx
Offline Jean Giraud  
#66 Posted : 05 June 2019 15:00:43(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,427
Canada

Was thanked: 845 time(s) in 675 post(s)
Originally Posted by: mkraska Go to Quoted Post
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.
Offline fedeghi  
#67 Posted : 05 June 2019 16:27:03(UTC)
fedeghi


Rank: Advanced Member

Groups: Registered
Joined: 14/09/2013(UTC)
Posts: 63
Italy

Was thanked: 17 time(s) in 12 post(s)
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 Rolleyes ).
On the other hand, I think I will not try the LaTex option, too complicated for me to involve LaTex for this task only.
Offline Jean Giraud  
#68 Posted : 05 June 2019 19:47:04(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,427
Canada

Was thanked: 845 time(s) in 675 post(s)
Originally Posted by: fedeghi Go to Quoted Post
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


Offline PompelmoTell  
#69 Posted : 13 June 2019 11:54:44(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 245
Man
Italy
Location: italy

Was thanked: 92 time(s) in 77 post(s)
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
Offline Davide Carpi  
#70 Posted : 13 June 2019 12:46:37(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,391
Man
Italy
Location: Italy

Was thanked: 1195 time(s) in 787 post(s)
Thank you, I think I can fix it this weekend. Good
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 13/06/2019(UTC)
Offline Davide Carpi  
#71 Posted : 15 June 2019 16:12:05(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,391
Man
Italy
Location: Italy

Was thanked: 1195 time(s) in 787 post(s)
Should be fixed now (plugin updated).
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 15/06/2019(UTC),  on 15/06/2019(UTC)
Users browsing this topic
4 Pages«<234
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.