[texhax] Hyperlinks lost in pdf file

Philip Taylor P.Taylor at Rhul.Ac.Uk
Tue Jan 19 18:38:35 CET 2016


This appears to work, Rudolfo, provided that one uses "dvips -z" as
recommended by Dan Luecking :

> \input eplain
> \enablehyperlinks
> 
> \def \bra #1{\hlstart {url}{}{#1.pdf}}
> \def \ket {\hlend}
> 
> A hyperlink \bra {http://philip-taylor.org/}XXX\ket
> \end

> E:\TeX\Source>tex untitled-17
> This is TeX, Version 3.14159265 (TeX Live 2014/W32TeX) (preloaded format=tex)
> (./untitled-17.tex (d:/TeX/Live/2014/texmf-dist/tex/eplain/eplain.tex)
> 
> Eplain: using `hypertex' hyperlink driver. [1] )
> Output written on untitled-17.dvi (1 page, 288 bytes).
> Transcript written on untitled-17.log.
> 
> E:\TeX\Source>dvips -z untitled-17
> This is dvips(k) 5.994 Copyright 2014 Radical Eye Software (www.radicaleye.com)
> ' TeX output 2016.01.19:1735' -> untitled-17.ps
> <d:/TeX/Live/2014/texmf-dist/dvips/base/tex.pro>
> <d:/TeX/Live/2014/texmf-dist/dvips/base/texps.pro>
> <d:/TeX/Live/2014/texmf-dist/dvips/base/special.pro>
> <d:/TeX/Live/2014/texmf-dist/dvips/base/hps.pro>.
> <d:/TeX/Live/2014/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>[1]
> <./head.tmp><./body.tmp>
> 
> E:\TeX\Source>ps2pdf untitled-17.ps %%% very annoying that one has to specify the extension %%%
> 
> E:\TeX\Source>untitled-17.pdf


Philip Taylor


More information about the texhax mailing list