summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-26 21:48:50 +0000
committerKarl Berry <karl@freefriends.org>2017-03-26 21:48:50 +0000
commit8de464391f34ff48f5909697c17029955fab69ba (patch)
tree0cb94c919f7116453339030d04fb7771502fbf8e /Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
parent2b9849f3cee2b95c4e8b11aa69a30ed1ba52f49f (diff)
oberdiek (26mar17)
git-svn-id: svn://tug.org/texlive/trunk@43610 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty41
1 files changed, 20 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty b/Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
index ab001ad2b7f..3abd5898476 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: pdftexcmds
-%% Version: 2016/05/21 v0.22
+%% Version: 2017/03/19 v0.25
%%
%% Copyright (C) 2007, 2009-2011 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -104,7 +104,7 @@
\fi
\expandafter\x\csname ver@pdftexcmds.sty\endcsname
\ProvidesPackage{pdftexcmds}%
- [2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO)]%
+ [2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO)]%
\begingroup\catcode61\catcode48\catcode32=10\relax%
\catcode13=5 % ^^M
\endlinechar=13 %
@@ -479,20 +479,22 @@
\else
\expandafter\pdftexcmds@AtEnd
\fi%
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname RequirePackage\endcsname\relax
- \def\TMP@RequirePackage#1[#2]{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname ver@#1.sty\endcsname\relax
- \input #1.sty\relax
- \fi
- }%
- \TMP@RequirePackage{luatex-loader}[2009/04/10]%
-\else
- \RequirePackage{luatex-loader}[2009/04/10]%
+\ifnum\luatexversion<80
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname RequirePackage\endcsname\relax
+ \def\TMP@RequirePackage#1[#2]{%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname ver@#1.sty\endcsname\relax
+ \input #1.sty\relax
+ \fi
+ }%
+ \TMP@RequirePackage{luatex-loader}[2009/04/10]%
+ \else
+ \RequirePackage{luatex-loader}[2009/04/10]%
+ \fi
\fi
\pdftexcmds@directlua{%
- require("oberdiek.pdftexcmds")%
+ require("pdftexcmds")%
}
\ifnum\luatexversion>37 %
\ifnum0%
@@ -504,13 +506,13 @@
\everyjob\expandafter{%
\the\everyjob
\pdftexcmds@directlua{%
- require("oberdiek.pdftexcmds")%
+ require("pdftexcmds")%
}%
}%
\fi
\fi
\begingroup
- \def\x{2016/05/21 v0.22}%
+ \def\x{2017/03/19 v0.25}%
\ltx@onelevel@sanitize\x
\edef\y{%
\pdftexcmds@directlua{%
@@ -707,11 +709,8 @@
\fi
\ifnum\luatexversion<68 %
\else
- \def\pdf@shellescape{%
- \directlua0{%
- oberdiek.pdftexcmds.shellescape()%
- }%
- }%
+ \protected\edef\pdf@shellescape{%
+ \numexpr\directlua{tex.sprint(status.shell_escape)}\relax}
\fi
\def\pdf@system#1{%
\directlua0{%