[tex-eplain] [XeTeX] XeTeX : images as links

Philip Taylor P.Taylor at Rhul.Ac.Uk
Sat Sep 21 08:31:34 CEST 2013



Ross Moore wrote:

> Can you post a PDF, preferably uncompressed,
> so we can look at how the hyperlink is specified.

As requested.  Below is the source.  If I use the PDF version,
all is fine; if I use the JPG version, no hyperlink (see source,
below : both versions in place, latter overrides former).

** Phil.
--------
\catcode `\< = \catcode `\@
	\input eplain
\catcode `\< = \active
	
\enablehyperlinks
	
\uselanguage {UKenglish}

\setbox 0 = \vtop to 0 pt {\kern 2,5\baselineskip \XeTeXpdffile
Images/LPL-MS-1214/PDF/f1r.pdf height 0,4\vsize \vss}
\setbox 0 = \vtop to 0 pt {\kern 2,5\baselineskip \XeTeXpicfile
Images/LPL-MS-1214/JPG/f1r.jpg height 0,4\vsize \vss}

\hlstart
{url}{}{http://hellenic-institute.rhul.ac.uk/research/LPL/Greek-MSS/MS-1214/JPG/f1r.jpg}
\rightline {\box 0}
\hlend

\input MS-1214-V15.xml

\end
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MS-1214-V15-jpg.pdf
Type: application/pdf
Size: 483451 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-eplain/attachments/20130921/d2b8bb95/attachment-0001.pdf>


More information about the tex-eplain mailing list