[XeTeX] bann...rule...eann == noann?
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Thu Nov 3 16:20:24 CET 2011
Hello,
I don't get an annotation using bann...eann:
% xetex --ini --output-driver='xdvipdfmx -V4' test
\catcode`\{=1
\catcode`\}=2
\pdfpagewidth=100bp
\pdfpageheight=200bp
\font\tenrm=cmr10\relax
\tenrm
\shipout\vbox{%
\kern-1in\relax
\hbox{%
\kern-1in\relax
\vrule width0pt height200bp depth0pt\relax
% Destination at (30bp,150bp)
\raise150bp\hbox to 0pt{%
\kern30bp %
\special{pdf:dest (foobar) [@thispage /XYZ @xpos @ypos null]}%
\kern-1bp
\vrule width2bp height1bp depth1bp\relax
\hss
}%
% Link annotation at (70bp,50bp)
\raise50bp\hbox to 0pt{%
\kern70bp %
\kern-2bp
\special{%
pdf:bann<<%
/Type/Annot%
/Subtype/Link%
/Border[0 0 1]%
/C[0 0 1]% blue border
/A<<%
/S/GoTo%
/D(foobar)%
>>%
>>%
}%
% ABC%
\vrule width4bp height2bp depth2bp\relax
\special{pdf:eann}%
\hss
}%
}%
}
\end
The annotation apperas, if there are characters inbetween (ABC).
Yours sincerely
Heiko Oberdiek
More information about the XeTeX
mailing list