[XeTeX] xdvipdfmx 0.3 and PDF annotations
Pablo Rodríguez
oinos at web.de
Mon Dec 4 12:23:57 CET 2006
Jonathan Kew wrote:
> On 3 Dec 2006, at 6:20 pm, Pablo Rodríguez wrote:
>> if I try to add an annotation, using the following code (from
>> dvipdfmx,
>> that works fine with it):
>>
>> \special{pdf: ann width 7cm height 5cm
>> << /Type /Annot /Subtype /Text /Open true
>> /Contents (χαλεπὰ τὰ καλά) >>}
>
>> I'm afraid this could be a bug on xdvipdfmx.
>
> No, it's a TeX/LaTeX-level problem, as demonstrated by the success of
> the sample above. I'd need to see a complete minimal example of what
> you're doing if I'm to try and track down the cause.
Thanks, Jonathan. The minimal example bellow shows that annotations
don't work when spanish is selected as main language in babel.
\documentclass{article}
\usepackage[spanish]{babel}
\begin{document}
\special{pdf: ann width 7cm height 5cm
<< /Type /Annot /Subtype /Text /Open true
/Contents (χαλεπὰ τὰ καλά) >>}
hola
\end{document}
I hope it helps,
Pablo
More information about the XeTeX
mailing list