Subject: mailing-list for TeXmacs Users
List archive
From : Karl Hegbloom <address@hidden>- To: marc lalaude-labayle <address@hidden>, texmacs-users <address@hidden>
- Subject: Re: [TeXmacs] Hyperlinks, actions and ... pdf
- Date: Tue, 01 Mar 2016 01:20:02 +0000
I've been running it with this (attached) patch applied for quite a while. Hyperlinks to http sites work with it applied.
On Mon, Feb 29, 2016 at 3:20 PM Karl Hegbloom <address@hidden> wrote:
The patch has to be applied. I don't have access at the moment, but later I'll post it for you. I got it from the archives. It applies against the Subversion checkout.
On Mon, Feb 29, 2016, 14:37 marc lalaude-labayle <address@hidden> wrote:MarcThx to all,2. Is there a way to include an action to get firefox to open a html file ?Then i saw an "action" menu. So my second question, relative to the primitive problem :1. How to get hyperlinks after a pdf export ?Since i can't achieve this directly, i exported my file to pdf but i can't get hyperlinks working. I saw a patch but while applying it, i got warned : it seems to be already applied (i am running a svn compiled version under ubuntu 16.10 at this moment). So here is my first question :Hi,i have several problems with include hyperlinks or actions. The primitive problem is the following : I want to insert hyperlink in texmacs but when clicking on it, i want that firefox opens the link.
Index: src/Typeset/Concat/concat_active.cpp =================================================================== --- src/Typeset/Concat/concat_active.cpp (revision 8873) +++ src/Typeset/Concat/concat_active.cpp (working copy) @@ -160,8 +160,16 @@ if (build_locus (env, t, ids, col, ref, anchor)) { marker (descend (ip, 0)); tree old= env->local_begin (COLOR, col); - typeset (t[last], descend (ip, last)); +/* typeset (t[last], descend (ip, last)); + env->local_end (COLOR, old);*/ +// pdf hlink are created at the post_display typesetting step only for locus_box (see change_boxes.cpp) +// for some reason hlink loci were not typeset as locus_box (code commented just above) +// minimal modification (copied from below) that enable hlinks to become pdf hlinks : + box b= typeset_as_concat (env, t[last], descend (ip, last)); env->local_end (COLOR, old); + print (locus_box (ip, b, ids, env->pixel, ref, anchor)); +// end changes + marker (descend (ip, 1)); } else {
- 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.