#72 latex2e: \PrerenderUnicode approp.so that utf8 pdftitle work

closed-rejected
nobody
None
5
2010-03-29
2010-03-03
No

Subject: latex2e: \PrerenderUnicode appropriately so that utf8 pdftitle & friends work

Or else, e.g. for

\hypersetup{
pdftitle={Привет Мир}
}

we get tons of warnings like

Package hyperref Warning: Token not allowed in a PDFDocEncoded string,
(hyperref) removing `\begingroup' on input line 80.

Package hyperref Warning: Token not allowed in a PDFDocEncoded string,
(hyperref) removing `\<let>-command' on input line 80.

Package hyperref Warning: Token not allowed in a PDFDocEncoded string,
(hyperref) removing `\utf@viii@undeferr' on input line
80.

Package hyperref Warning: Token not allowed in a PDFDocEncoded string,
(hyperref) removing `\endgroup' on input line 80.

...

See documentation on ucs.sty (last page) about why this is needed.
---
docutils/docs/user/latex.txt | 7 -------
docutils/docutils/writers/latex2e/__init__.py | 7 +++++++
docutils/test/test_writers/test_latex2e.py | 25 +++++++++++++++++++++++++
3 files changed, 32 insertions(+), 7 deletions(-)

P.S. If possible, please keep my patch description in svn commit log. Thanks.

Discussion

  • Günter Milde

    Günter Milde - 2010-03-03

    I am not sure, this is really needed. In any way, it does not obsolete the hint in latex.txt, as there are more "hidden"
    parts that might need preloading Unicode as well as the kerning/ligature problem mentioned in ucs.pdf.

    A document with Cyrillic title renders fine with
    \usepackage[T2A]{fontenc}
    \usepackage[utf8]{inputenc}
    here. Why do you need utf8x?

    I invite you to discuss topics at the docutils-devel mail list.

     
  • Kirill Smelkov

    Kirill Smelkov - 2010-03-29
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks