summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperxmp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-07 20:54:25 +0000
committerKarl Berry <karl@freefriends.org>2016-04-07 20:54:25 +0000
commitecd16f26e720c4e19b5548e898fbe990dde82303 (patch)
treece60d51f422b781a1daa73a75cc5f8459c0301ff /Master/texmf-dist/tex/latex/hyperxmp
parentca8078f6acb0c5638d67f336e1f46f2626446e41 (diff)
hyperxmp (6apr16)
git-svn-id: svn://tug.org/texlive/trunk@40332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperxmp')
-rw-r--r--Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
index 71b3e81e109..c246e65e362 100644
--- a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
+++ b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{hyperxmp}
- [2016/02/17 v2.7 Store hyperref metadata in XMP format]
+ [2016/04/05 v2.8 Store hyperref metadata in XMP format]
\edef\hyxmp@dq@code{\the\catcode`\"}
\catcode`\"=12
\def\hyxmp@driver{hpdftex}
@@ -544,10 +544,15 @@ disabled}%
\newcommand*{\hyxmp@add@to@xml}[1]{%
\bgroup
\@tempcnta=0
+ \ifhyxmp@unicodetex
+ \@tempcntb=65536%
+ \else
+ \@tempcntb=256%
+ \fi
\loop
\lccode\@tempcnta=\@tempcnta
\advance\@tempcnta by 1
- \ifnum\@tempcnta<256
+ \ifnum\@tempcnta<\@tempcntb
\repeat
\lccode`\_=`\ \relax
\lccode`\^^C=`\,\relax