[tex-live] utf-8 encoding in outline

Denis Bitouzé dbitouze at wanadoo.fr
Wed Dec 18 19:49:46 CET 2013


Le mercredi 18/12/13 à 17h07,
Ulrike Fischer <news3 at nililand.de> a écrit :

> It is broken with xelatex, see readme of hyperref page 25. xelatex
> needs pdfencoding=auto. 

Does 'pdfencoding=auto' work with (pdf)latex and xelatex? I'm not sure
reading the readme page 13:

Option 'pdfencoding'

  The PDF format allows two encodings for bookmarks and entries in the
  information dictionary: PDFDocEncoding and Unicode as UTF-16BE. Option
  "pdfencoding" selects between these encodings:

  * "pdfdoc" uses PDFDocEncoding. It uses just one byte per character,
    but the supported characters are limited (244 in PDF-1.7).

  * "unicode" sets Unicode. It is encoded as UTF-16BE. Two bytes are
    used for most characters, surrogates need four bytes.

  * "auto" PDFDocEncoding if the string does not contain characters
    outside the encoding and Unicode otherwise.

If the answer is yes, could the option 'unicode' be safely replaced by
'pdfencoding=auto'?

Thanks.
-- 
Denis



More information about the tex-live mailing list