[texhax] XeTeX : images as links
Philip Taylor
P.Taylor at Rhul.Ac.Uk
Sat Sep 21 13:18:44 CEST 2013
Philip Taylor wrote:
> Thank you VERY much, Heiko. Very much appreciated.
> What I found interesting is that identical code works
> for \XeTeXpdffile but not for \XeTeXpicfile (see my
> later message to Ross for details).
>
> ** Phil.
And the following trivial change to the original source
code (the addition of 2 hair spaces) achieves the desired aim :
\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
{%
\vskip 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 {\char "200B \box 0 \char "200B }
\hlend
More information about the texhax
mailing list