summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx57
1 files changed, 34 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
index cf391124676..08e4a9438d4 100644
--- a/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: pdftexcmds.dtx
-% Version: 2016/05/10 v0.21
+% Version: 2016/05/21 v0.22
% Info: Utility functions of pdfTeX for LuaTeX
%
% Copyright (C) 2007, 2009-2011 by
@@ -88,7 +88,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: pdftexcmds 2016/05/10 v0.21 Utility functions of pdfTeX for LuaTeX (HO)}
+\Msg{* Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -100,7 +100,7 @@
This is a generated file.
Project: pdftexcmds
-Version: 2016/05/10 v0.21
+Version: 2016/05/21 v0.22
Copyright (C) 2007, 2009-2011 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -189,7 +189,7 @@ and the derived files
%<*bib>
@online{AndyThomas:Analog,
author={Thomas, Andy},
- title={Analog of {\texttt{\textbackslash}pdfelapsedtime} for
+ title={Analog of {\texttt{\csname textbackslash\endcsname}pdfelapsedtime} for
{\hologo{LuaTeX}} and {\hologo{XeTeX}}},
url={http://tex.stackexchange.com/a/32531},
urldate={2011-11-29},
@@ -201,7 +201,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{pdftexcmds.drv}%
- [2016/05/10 v0.21 Utility functions of pdfTeX for LuaTeX (HO)]%
+ [2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\usepackage{paralist}
@@ -218,7 +218,6 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1756}
%
% \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
@@ -239,8 +238,10 @@ and the derived files
% \GetFileInfo{pdftexcmds.drv}
%
% \title{The \xpackage{pdftexcmds} package}
-% \date{2016/05/10 v0.21}
-% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
+% \date{2016/05/21 v0.22}
+% \author{Heiko Oberdiek\thanks
+% {Please report any issues at https://github.com/ho-tex/oberdiek/issues}\\
+% \xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
%
@@ -404,13 +405,14 @@ and the derived files
%
% \begin{declcs}{pdf@draftmode}
% \end{declcs}
-% If the \TeX\ compiler knows \cs{pdfdraftmode} (\hologo{pdfTeX},
+% If the \TeX\ compiler knows \cs{pdfdraftmode} or \cs{draftmode}
+% (\hologo{pdfTeX},
% \hologo{LuaTeX}), then \cs{pdf@draftmode} returns, whether
-% this mode is enabled. The result is an implicite number:
+% this mode is enabled. The result is an implicit number:
% one means the draft mode is available and enabled.
% If the value is zero, then the mode is not active or
% \cs{pdfdraftmode} is not available.
-% An explicite number is yielded by \cs{number}\cs{pdf@draftmode}.
+% An explicit number is yielded by \cs{number}\cs{pdf@draftmode}.
% The macro cannot
% be used to change the mode, see \cs{pdf@setdraftmode}.
%
@@ -615,7 +617,7 @@ and the derived files
\fi
\expandafter\x\csname ver@pdftexcmds.sty\endcsname
\ProvidesPackage{pdftexcmds}%
- [2016/05/10 v0.21 Utility functions of pdfTeX for LuaTeX (HO)]%
+ [2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO)]%
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -828,7 +830,7 @@ and the derived files
if tex.enableprimitives then
tex.enableprimitives(
'pdf@',
- {'primitive', 'ifprimitive', 'pdfdraftmode'}
+ {'primitive', 'ifprimitive', 'pdfdraftmode','draftmode'}
)
tex.enableprimitives('', {'luaescapestring'})
end
@@ -867,23 +869,24 @@ and the derived files
%
% \begin{macro}{\pdf@primitive}
% \begin{macrocode}
-\pdftexcmds@temp{primitive}{pdfprimitive}{pdfprimitive}% pdfTeX, LuaTeX
-\pdftexcmds@temp{primitive}{primitive}{primitive}% XeTeX
-\pdftexcmds@temp{primitive}{luatexprimitive}{pdfprimitive}% LuaTeX
-\pdftexcmds@temp{primitive}{luatexpdfprimitive}{pdfprimitive}% LuaTeX
+\pdftexcmds@temp{primitive}{pdfprimitive}{pdfprimitive}% pdfTeX, oldLuaTeX
+\pdftexcmds@temp{primitive}{primitive}{primitive}% XeTeX, luatex
+\pdftexcmds@temp{primitive}{luatexprimitive}{pdfprimitive}% oldLuaTeX
+\pdftexcmds@temp{primitive}{luatexpdfprimitive}{pdfprimitive}% oldLuaTeX
% \end{macrocode}
% \end{macro}
% \begin{macro}{\pdf@ifprimitive}
% \begin{macrocode}
-\pdftexcmds@temp{ifprimitive}{ifpdfprimitive}{ifpdfprimitive}% pdfTeX, LuaTeX
-\pdftexcmds@temp{ifprimitive}{ifprimitive}{ifprimitive}% XeTeX
-\pdftexcmds@temp{ifprimitive}{luatexifprimitive}{ifpdfprimitive}% LuaTeX
-\pdftexcmds@temp{ifprimitive}{luatexifpdfprimitive}{ifpdfprimitive}% LuaTeX
+\pdftexcmds@temp{ifprimitive}{ifpdfprimitive}{ifpdfprimitive}% pdfTeX, oldLuaTeX
+\pdftexcmds@temp{ifprimitive}{ifprimitive}{ifprimitive}% XeTeX, luatex
+\pdftexcmds@temp{ifprimitive}{luatexifprimitive}{ifpdfprimitive}% oldLuaTeX
+\pdftexcmds@temp{ifprimitive}{luatexifpdfprimitive}{ifpdfprimitive}% oldLuaTeX
% \end{macrocode}
% \end{macro}
%
% Disable broken \cs{pdfprimitive}.
% \begin{macrocode}
+\ifluatex\else
\begingroup
\expandafter\ifx\csname pdf@primitive\endcsname\relax
\else
@@ -907,6 +910,7 @@ and the derived files
\fi
\fi
\endgroup
+\fi
% \end{macrocode}
%
% \subsubsection{Result}
@@ -1004,6 +1008,9 @@ and the derived files
\fi
}
\ifluatex
+\ifx\pdfdraftmode\@undefined
+ \let\pdfdraftmode\draftmode
+\fi
\else
\pdf@isprimitive
\fi
@@ -1153,7 +1160,7 @@ and the derived files
\fi
\fi
\begingroup
- \def\x{2016/05/10 v0.21}%
+ \def\x{2016/05/21 v0.22}%
\ltx@onelevel@sanitize\x
\edef\y{%
\pdftexcmds@directlua{%
@@ -1560,7 +1567,7 @@ and the derived files
module("oberdiek.pdftexcmds", package.seeall)
local systemexitstatus
function getversion()
- tex.write("2016/05/10 v0.21")
+ tex.write("2016/05/21 v0.22")
end
% \end{macrocode}
%
@@ -2663,6 +2670,10 @@ end
% local unpack added
% (thanks \'{E}lie Roux).
% \end{Version}
+% \begin{Version}{2016/05/21 v0.22}
+% \item
+% adjust textbackslash usage in bib file for biber bug.
+% \end{Version}
% \end{History}
%
% \PrintIndex