summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
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
parentca8078f6acb0c5638d67f336e1f46f2626446e41 (diff)
hyperxmp (6apr16)
git-svn-id: svn://tug.org/texlive/trunk@40332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdfbin563151 -> 563870 bytes
-rw-r--r--Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx14
-rw-r--r--Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty9
3 files changed, 18 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdf b/Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdf
index a2638a0c07c..f8752df3317 100644
--- a/Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdf
+++ b/Master/texmf-dist/doc/latex/hyperxmp/hyperxmp.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx b/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx
index 96ed92592fa..1c265f1cdc0 100644
--- a/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx
+++ b/Master/texmf-dist/source/latex/hyperxmp/hyperxmp.dtx
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{hyperxmp}
%<*package>
- [2016/02/17 v2.7 Store hyperref metadata in XMP format]
+ [2016/04/05 v2.8 Store hyperref metadata in XMP format]
%</package>
%
%<*driver>
@@ -81,7 +81,7 @@
%</driver>
% \fi
%
-% \CheckSum{1508}
+% \CheckSum{1514}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -2206,14 +2206,22 @@ disabled}%
% \changes{v2.0}{2012/08/24}{Updated also to replace commas}
% \changes{v2.5}{2014/06/19}{Updated also to replace underscores and to
% modify only the text being added, not the already-modified text}
+% \changes{v2.8}{2014/04/05}{Corrected inadvertent lowercasing of non-Latin
+% characters when run under \XeLaTeX\ or \LuaLaTeX\ (bug reported by
+% Leonid Sinev)}
% \begin{macrocode}
\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
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