mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] Hyperlinks in PDF


Chronological Thread 
  • From: "Sam Liddicott" <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] Hyperlinks in PDF
  • Date: Thu, 25 Nov 2010 12:14:02 -0000
  • Envelope-to:
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=


In printed documents, I think hyperlinks should be presented as footnotes. Currently, the entire hyperlink destination is lost without any indication that there ever was a hyperlink.

I first tried this attempt which gives an explicit different rendering for printer

<assign|hl|<macro|t|l|<specific|screen|<hlink|<arg|t>|<arg|l>>><specific|printer|<arg|t><\footnote>
<arg|l>
</footnote>>>>

A footnote number is consumed on-screen (but can't be seen) - this is understandable, but puzzling to the reader; but in the PS output it shows the footnote number by the link but doesn't show the footnote at the bottom of the page.

I decided that it makes sense to show the footnote text on the screen too, so I tried
<assign|hl|<macro|t|l|<specific|screen|<hlink|<arg|t>|<arg|l>>><specific|printer|<arg|t>><\footnote>
<arg|l>
</footnote>>>

But it doesn't reserve space for work (because of how specific works - it would be nice to have a <specific-exclude> tag that renders everywhere except the name environments...

Finally I tried this:
<assign|hl|<macro|t|l|<hlink|<arg|t>|<arg|l>><\footnote>
<arg|l>
</footnote>>>

And it seems fair enough.

To make it work:
<assign|old-hlink|<value|hlink>>
<assign|hlink|<macro|t|l|<old-hlink|<arg|t>|<arg|l>><\footnote>
<arg|l>
</footnote>>>

Anyone got thoughts on this?

--
[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>

<http://www.openrightsgroup.org/>


  • [TeXmacs] Hyperlinks in PDF, Sam Liddicott, 11/25/2010

Archive powered by MHonArc 2.6.19.

Top of page