[luatex] \pdfannot in LuaLaTeX

Heiko Oberdiek heiko.oberdiek at googlemail.com
Fri Nov 5 12:50:26 CET 2010


On Fri, Nov 05, 2010 at 06:45:17AM +0100, Pablo Rodríguez wrote:

> On 11/05/2010 05:11 AM, Heiko Oberdiek wrote:
> >On Thu, Nov 04, 2010 at 05:20:22PM +0100, Pablo Rodríguez wrote:
> >
> >>[...]
> >>
> >>everything has its right encoding, but the text in the annotation is
> >>wrong encoded. Text is in utf-8.
> >
> >The PDF specification doesn't know UTF-8.
> >You can use \pdfstringdef:
> 
> Thanks, Heiko, for your help.
> 
> How do I introduce a carriage return in the \Contents?

Reread my example.

> \pdfstringdef{\CText}{El tamaño \015 Las versiones}
> 
> no carriage return is introduced and the text after \015 is
> displayed as CJK (I guess it is Chinese).

\textCR that works in both encodings PDFDocEncoding (PD1) and
Unicode (PU).

Yours sincerely
  Heiko Oberdiek


More information about the luatex mailing list