From 929d8005a93b27f29b4ed481f31d62f92f67d28b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 19 Dec 2009 23:10:16 +0000 Subject: hyperref update (19dec09) git-svn-id: svn://tug.org/texlive/trunk@16451 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hyperref/ChangeLog | 7 ++++ Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf | Bin 327585 -> 327953 bytes Master/texmf-dist/doc/latex/hyperref/README | 40 +++++++++++++++++++++ Master/texmf-dist/doc/latex/hyperref/README.pdf | Bin 294417 -> 296772 bytes Master/texmf-dist/doc/latex/hyperref/backref.pdf | 4 +-- Master/texmf-dist/doc/latex/hyperref/hyperref.pdf | Bin 3888431 -> 3913482 bytes Master/texmf-dist/doc/latex/hyperref/nameref.pdf | 4 +-- 7 files changed, 51 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/doc/latex/hyperref') diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog b/Master/texmf-dist/doc/latex/hyperref/ChangeLog index 708e4fe1e37..423e375a7ad 100644 --- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog +++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog @@ -1,3 +1,10 @@ +2009-12-17 6.79v Heiko Oberdiek + * 6.79v + * Fix for `pdfencoding=auto', the code accidently got + deleted for the other drivers than XeTeX. + * `pdfencoding=auto' for XeTeX now adds a method to suppress the + warning "Failed to convert input string to UTF16...", see README. + 2009-12-16 6.79u Heiko Oberdiek * 6.79u * Babel patch of 6.77o rewritten that babel can be loaded diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf index e757f476e0d..71d28306241 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf and b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/README b/Master/texmf-dist/doc/latex/hyperref/README index bb594ecaf1a..69de8de9969 100644 --- a/Master/texmf-dist/doc/latex/hyperref/README +++ b/Master/texmf-dist/doc/latex/hyperref/README @@ -1097,6 +1097,46 @@ vietnam \usepackage{vietnam} \usepackage{hyperref} +XeTeX +----- + Default for the encoding of bookmarks is `pdfencoding=auto'. + That means the strings are always treated as unicode strings. + Only if the string restricts to the printable ASCII set, + it is written as ASCII string. The reason is that the + \special does not support PDFDocEncoding. + + XeTeX uses the program xdvipdfmx for PDF output generation. + This program behaves a little different from dvipdfm, because + of the supported Unicode characters. Strings for bookmarks + or information entries can be output directly. The + big chars (char code > 255) are written in UTF-8 and + xdvipdfmx tries to convert them to UTF-16BE. However + hyperref already provides PDF strings encoded in UTF-16BE, + thus the result is a warning + "Failed to convert input string to UTF16..." + The best way would be, if xdvipdfm could detect the + byte order marker (\376\377) and skips the conversion + if that marker is present. + For the time being I added the following to hyperref, + when option `pdfencoding=auto' is set (default for XeTeX): + The string is converted back to big characters thus that the + string is written as UTF-8. But I am very unhappy with this + solution. Main disadvantage: + Two versions of \pdfstringdef are needed: + a) The string is converted back to big characters for + the "tainted keys" of xdvipdfmx (spc_pdfm.c: default_taintkeys). + The subset hyperref uses is /Title, /Author, /Subject, + /Keywords, /Creator, /Producer, /T. Any changes of this + set in xdvipdfmx cannot be detected by hyperref. + b) Without conversion for the other strings , providing UTF16be + directly. Examples: Prefix of page labels, some elements + of formulars. + Thus *each* application that uses \pdfstringdef now must + check, if it defines a string for some of the tained keys. + If yes, then the call of \pdfstringdef should be preceded + by "\csname HyPsd@XeTeXBigCharstrue\endcsname". + Example: package bookmark. + 7 LIMITATIONS ============= diff --git a/Master/texmf-dist/doc/latex/hyperref/README.pdf b/Master/texmf-dist/doc/latex/hyperref/README.pdf index de53197211a..044a327b5ec 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/README.pdf and b/Master/texmf-dist/doc/latex/hyperref/README.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/backref.pdf b/Master/texmf-dist/doc/latex/hyperref/backref.pdf index 5a930322c6a..772f94c4fd9 100644 --- a/Master/texmf-dist/doc/latex/hyperref/backref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/backref.pdf @@ -10,7 +10,7 @@ endobj endobj 5 0 obj<> endobj -6 0 obj<> +6 0 obj<> endobj 7 0 obj<> endobj @@ -4536,7 +4536,7 @@ xref 0000354372 00000 n 0000354411 00000 n trailer -<>/Info 6 0 R/ID[(Z:Nj@u)(F\) \).Jv[)]>> +<>/Info 6 0 R/ID[(Lk󺯜6͕$j5)(2xM\)n*)]>> startxref 354450 %%EOF diff --git a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf index 11a3e2019cd..65180edf873 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf and b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf index aae45f1d2e6..1a784196508 100644 --- a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf @@ -10,7 +10,7 @@ endobj endobj 5 0 obj<> endobj -6 0 obj<> +6 0 obj<> endobj 7 0 obj<> endobj @@ -4497,7 +4497,7 @@ xref 0000349458 00000 n 0000349497 00000 n trailer -<>/Info 6 0 R/ID[(B|9[)(6|/OW|)]>> +<>/Info 6 0 R/ID[(!E` &ZޣT)(Ji\\fd6ī&;)]>> startxref 349536 %%EOF -- cgit v1.2.3