summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperxmp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-12 23:34:55 +0000
committerKarl Berry <karl@freefriends.org>2012-03-12 23:34:55 +0000
commitb38ccc8042a2fbd6c1752bd089345ddf0cc38df1 (patch)
tree9d8ee676f9425ed0df4b956f056d7d256666e51b /Master/texmf-dist/tex/latex/hyperxmp
parentb6227abf37f373d7db4dcf49b07c889c2fb04d2b (diff)
hyperxmp (12mar12)
git-svn-id: svn://tug.org/texlive/trunk@25621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperxmp')
-rw-r--r--Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty13
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
index ba39d4a3e94..a7dec0caeeb 100644
--- a/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
+++ b/Master/texmf-dist/tex/latex/hyperxmp/hyperxmp.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2011 by Scott Pakin <scott+dtx@pakin.org>
+%% Copyright (C) 2012 by Scott Pakin <scott+dtx@pakin.org>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3c of this license
@@ -22,9 +22,16 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{hyperxmp}
- [2011/06/12 v1.4 Store hyperref metadata in XMP format]
+ [2012/03/10 v1.5 Store hyperref metadata in XMP format]
\edef\hyxmp@dq@code{\the\catcode`\"}
\catcode`\"=12
+\def\hyxmp@driver{hpdftex}
+\ifx\hyxmp@driver\Hy@driver
+ \let\hyxmp@at@end=\AtEndDocument
+\else
+ \RequirePackage{atenddvi}
+ \let\hyxmp@at@end=\AtEndDvi
+\fi
\RequirePackage{keyval}
\RequirePackage{pdfescape}
\RequirePackage{stringenc}
@@ -70,7 +77,7 @@ metadata values to hyperxmp}%
\ifHy@unicode
\hyxmp@reencode\@pdfmetalang
\fi
- \AtEndDocument{%
+ \hyxmp@at@end{%
\hyxmp@find@metadata
\hyxmp@embed@packet
}%