This way we avoid lots of warnings like
Package hyperref Warning: Glyph not defined in PD1 encoding,
(hyperref) removing `\cyrn' on input line 468.
for
Section title with cyrillic characters (привет по русски)
---------------------------------------------------------
The problem is present with both utf8, ucs+utf8x, or even with koi8r
inputenc.
[unicode] hyperref option works with all those inputencodings, and also
since it works with latin1 either and only affect ouput encoding in PDF,
it seems it's safe to always use it.
---
docutils/docutils/writers/latex2e/__init__.py | 2 +-
.../test/functional/expected/latex_docinfo.tex | 2 +-
.../functional/expected/standalone_rst_latex.tex | 2 +-
docutils/test/test_writers/test_latex2e.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
Thank you for your contribution! It has been checked in to the
Docutils repository.
You can download the most current snapshot from:
http://docutils.sourceforge.net/docutils-snapshot.tgz
It turned out that hyperref's 'unicode' option is incompatible with XeTeX and CJK.
See e.g.
http://bugs.debian.org/470902
http://getfo.org/texml/tour_pdf.html
http://newsgroups.derkeiler.com/Archive/De/de.comp.text.tex/2007-03/msg00989.html
It can, however, be specified in the new --hyperref-options config setting.