From 0bab86b3e25de6a7fd454127e21a7074346e96d3 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 29 Jun 2020 03:03:16 +0000
Subject: CTAN sync 202006290303

---
 macros/latex/contrib/pdftexcmds/pdftexcmds.dtx | 71 +++++++++-----------------
 1 file changed, 25 insertions(+), 46 deletions(-)

(limited to 'macros/latex/contrib/pdftexcmds/pdftexcmds.dtx')

diff --git a/macros/latex/contrib/pdftexcmds/pdftexcmds.dtx b/macros/latex/contrib/pdftexcmds/pdftexcmds.dtx
index 7e9de4e558..e39a5799df 100644
--- a/macros/latex/contrib/pdftexcmds/pdftexcmds.dtx
+++ b/macros/latex/contrib/pdftexcmds/pdftexcmds.dtx
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
 %
 % File: pdftexcmds.dtx
-% Version: 2020-06-04 v0.32
+% Version: 2020-06-27 v0.33
 % Info: Utility functions of pdfTeX for LuaTeX
 %
 % Copyright (C)
@@ -67,7 +67,7 @@
 %
 % Installation:
 %    TDS:tex/generic/pdftexcmds/pdftexcmds.sty
-%    TDS:scripts/pdftexcmds/pdftexcmds.lua
+%    TDS:tex/generic/pdftexcmds/pdftexcmds.lua
 %    TDS:doc/latex/pdftexcmds/pdftexcmds.pdf
 %    TDS:source/latex/pdftexcmds/pdftexcmds.dtx
 %
@@ -86,7 +86,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: pdftexcmds 2020-06-04 v0.32 Utility functions of pdfTeX for LuaTeX (HO)}
+\Msg{* Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -98,7 +98,7 @@
 This is a generated file.
 
 Project: pdftexcmds
-Version: 2020-06-04 v0.32
+Version: 2020-06-27 v0.33
 
 Copyright (C)
    2007, 2009-2011  Heiko Oberdiek
@@ -155,7 +155,7 @@ and the derived files
 }
 \def\currentpostamble{\defaultpostamble}%
 \generate{%
-  \usedir{scripts/pdftexcmds}%
+  \usedir{tex/generic/pdftexcmds}%
   \file{pdftexcmds.lua}{\from{pdftexcmds.dtx}{lua}}%
 }
 
@@ -164,12 +164,9 @@ and the derived files
 \Msg{************************************************************************}
 \Msg{*}
 \Msg{* To finish the installation you have to move the following}
-\Msg{* file into a directory searched by TeX:}
+\Msg{* files into a directory searched by TeX:}
 \Msg{*}
 \Msg{*     pdftexcmds.sty}
-\Msg{*}
-\Msg{* And install the following script files:}
-\Msg{*}
 \Msg{*     pdftexcmds.lua}
 \Msg{*}
 \Msg{* To produce the documentation run the file `pdftexcmds.drv'}
@@ -196,18 +193,17 @@ and the derived files
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{pdftexcmds.drv}%
-  [2020-06-04 v0.32 Utility functions of pdfTeX for LuaTeX (HO)]%
+  [2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)]%
 \documentclass{ltxdoc}
 \usepackage{holtxdoc}[2011/11/22]
 \usepackage{paralist}
 \usepackage{csquotes}
 \usepackage[
-  backend=bibtex,
-  bibencoding=ascii,
-  alldates=iso8601,
+  backend=biber,
+  alldates=iso,
 ]{biblatex}[2011/11/13]
-\bibliography{oberdiek-source}
-\bibliography{pdftexcmds}
+\addbibresource{oberdiek-source.bib}
+\addbibresource{pdftexcmds.bib}
 \begin{document}
   \DocInput{pdftexcmds.dtx}%
 \end{document}
@@ -219,7 +215,7 @@ and the derived files
 % \GetFileInfo{pdftexcmds.drv}
 %
 % \title{The \xpackage{pdftexcmds} package}
-% \date{2020-06-04 v0.32}
+% \date{2020-06-27 v0.33}
 % \author{Heiko Oberdiek\thanks
 % {Please report any issues at \url{https://github.com/ho-tex/pdftexcmds/issues}}}
 %
@@ -597,7 +593,7 @@ and the derived files
   \fi
 \expandafter\x\csname ver@pdftexcmds.sty\endcsname
 \ProvidesPackage{pdftexcmds}%
-  [2020-06-04 v0.32 Utility functions of pdfTeX for LuaTeX (HO)]%
+  [2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)]%
 %    \end{macrocode}
 %
 % \subsection{Catcodes}
@@ -693,6 +689,7 @@ and the derived files
 %
 %    \begin{macrocode}
 \ifluatex
+   \ifcsname catcodetable@string\endcsname\else\input{ltluatex}\fi
 \else
   \def\pdftexcmds@nopdftex{%
     \let\pdftexcmds@nopdftex\relax
@@ -772,6 +769,7 @@ and the derived files
          \expandafter\ifx\csname pdf#1\endcsname\relax\else pdf\fi#1\endcsname\relax
       \pdftexcmds@nopdftex
     \else
+      \begingroup\expandafter\expandafter\expandafter\endgroup
       \expandafter\let\csname pdf@#1\expandafter\endcsname
       \csname\expandafter\ifx\csname pdf#1\endcsname\relax\else pdf\fi#1\endcsname
     \fi
@@ -1137,7 +1135,7 @@ and the derived files
   \fi
 \fi
 \begingroup
-  \def\x{2020-06-04 v0.32}%
+  \def\x{2020-06-27 v0.33}%
   \ltx@onelevel@sanitize\x
   \edef\y{%
     \pdftexcmds@directlua{%
@@ -1544,7 +1542,7 @@ local pdftexcmds = oberdiek.pdftexcmds or {}
 oberdiek.pdftexcmds = pdftexcmds
 local systemexitstatus
 function pdftexcmds.getversion()
-  tex.write("2020-06-04 v0.32")
+  tex.write("2020-06-27 v0.33")
 end
 %    \end{macrocode}
 %
@@ -1933,7 +1931,7 @@ end
 %    \begin{macrocode}
 %</lua>
 %    \end{macrocode}
-%% \section{Installation}
+% \section{Installation}
 %
 % \subsection{Download}
 %
@@ -1944,31 +1942,6 @@ end
 % \item[\CTAN{macros/latex/contrib/pdftexcmds/pdftexcmds.pdf}] Documentation.
 % \end{description}
 %
-%
-% \paragraph{Bundle.} All the packages of the bundle `pdftexcmds'
-% are also available in a TDS compliant ZIP archive. There
-% the packages are already unpacked and the documentation files
-% are generated. The files and directories obey the TDS standard.
-% \begin{description}
-% \item[\CTANinstall{install/macros/latex/contrib/pdftexcmds.tds.zip}]
-% \end{description}
-% \emph{TDS} refers to the standard ``A Directory Structure
-% for \TeX\ Files'' (\CTANpkg{tds}). Directories
-% with \xfile{texmf} in their name are usually organized this way.
-%
-% \subsection{Bundle installation}
-%
-% \paragraph{Unpacking.} Unpack the \xfile{pdftexcmds.tds.zip} in the
-% TDS tree (also known as \xfile{texmf} tree) of your choice.
-% Example (linux):
-% \begin{quote}
-%   |unzip pdftexcmds.tds.zip -d ~/texmf|
-% \end{quote}
-%
-% \paragraph{Script installation.}
-% Check the directory \xfile{TDS:scripts/pdftexcmds/} for
-% scripts that need further installation steps.
-%
 % \subsection{Package installation}
 %
 % \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
@@ -1985,7 +1958,7 @@ end
 % \def\t{^^A
 % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
 %   pdftexcmds.sty & tex/generic/pdftexcmds/pdftexcmds.sty\\
-%   pdftexcmds.lua & scripts/pdftexcmds/pdftexcmds.lua\\
+%   pdftexcmds.lua & tex/generic/pdftexcmds/pdftexcmds.lua\\
 %   pdftexcmds.pdf & doc/latex/pdftexcmds/pdftexcmds.pdf\\
 %   pdftexcmds.dtx & source/latex/pdftexcmds/pdftexcmds.dtx\\
 % \end{tabular}^^A
@@ -2256,6 +2229,12 @@ end
 %   \begin{Version}{2020-06-04 v0.32}
 %   \item Updated pdftexcmds.elapsedtime to lua 5.3 (issue 4).
 %   \end{Version}
+%   \begin{Version}{2020-06-24 v0.33}
+%   \item avoid that \cs{pdfelapsedtime} and \cs{pdfresettimer} are set to \cs{relax}
+%   when using xelatex (issue 5).
+%   \item load ltluatex when using plain so that the catcode tables are
+%   available.
+%   \end{Version}
 % \end{History}
 %
 % \PrintIndex
-- 
cgit v1.2.3

