Subject: mailing-list for TeXmacs Users
List archive
From : philippe joyez <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Hyperlinks, actions and ... pdf
- Date: Tue, 1 Mar 2016 17:27:54 +0000 (UTC)
marc lalaude-labayle <marc.lalaude <at> gmail.com> writes:
>
>
>
>
> Thanks.
> And after the compilation is there a way to add this patch ?
> Marc
>
No, this is a patch in the c++ code, you have to compile after applying the
patch. If you still have the directory in which you compiled the first time,
then apply the patch there and re-compile, it will be very fast.
regarding your second question :
you can place the following in your "my-init-texmacs.scm"
(tm-define (ext-hlink dest)
(:secure #t)
(:synopsis "uses system default apps to open a destination")
(:argument dest "can be a web url, a file...")
(let
((dest-string dest)
(cmd (cond
((os-macos?) "open ")
((os-win32?) "start ")
(else "xdg-open "))))
(eval-system (string-append cmd dest-string))))
and then you can indeed use an action tag in the document:
<action|visible link name|(ext-hlink "http://whatever")>
Note however that this kind of hlink won't get exported to pdf!
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, Karl Hegbloom, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, marc lalaude-labayle, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, philippe joyez, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, marc lalaude-labayle, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, philippe joyez, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, Karl Hegbloom, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, Philippe Joyez, 03/02/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, Karl Hegbloom, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, philippe joyez, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, marc lalaude-labayle, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, philippe joyez, 03/01/2016
- Re: [TeXmacs] Hyperlinks, actions and ... pdf, marc lalaude-labayle, 03/01/2016
Archive powered by MHonArc 2.6.19.