[Dev-luatex] Unicode in \pdfinfo
Jonathan Sauer
Jonathan.Sauer at silverstroke.com
Tue Jul 1 11:40:57 CEST 2008
Hello,
> >> \pdfinfo{/Title(\directlua0{pdf.hexify<'my title'>})}
> >>
> >> so <> instead of () as string delimiter
> >
> > How does that work?
>
> [...]
>
> <hex sequence>
>
> which again is utf16 but this time hex encoded (less efficient but so
> seldom used that it does not really matter)
Ah, so you meant:
\pdfinfo{/Title<\directlua0{pdf.hexify('my title')}>}
I got confused because the parameter to pdf.hexify was delimited by
<> instead of ().
> Hans
Jonathan
More information about the dev-luatex
mailing list