summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-17 22:42:13 +0000
committerKarl Berry <karl@freefriends.org>2011-04-17 22:42:13 +0000
commitad1e4d8e6581af6cb4c9a35f02f09ffda2d97df7 (patch)
tree62d972bb50afece3227f1ab7a79a67cd254389ce /Master/texmf-dist/source/latex/oberdiek
parent45824df4db55ca98caef21d38b00d54ccdb5be4c (diff)
oberdiek (17apr11)
git-svn-id: svn://tug.org/texlive/trunk@22111 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/atveryend.dtx159
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/embedfile.dtx4
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx6
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/hobsub.dtx6
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/kvdefinekeys.dtx4
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx436
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/oberdiek.ins2
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/oberdiek.tex10
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/pdflscape.dtx4
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx53
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/readme-ctan.txt4
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/rerunfilecheck.dtx41
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/resizegather.dtx4
13 files changed, 633 insertions, 100 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/atveryend.dtx b/Master/texmf-dist/source/latex/oberdiek/atveryend.dtx
index f76dbac3f8b..dc5076a61e2 100644
--- a/Master/texmf-dist/source/latex/oberdiek/atveryend.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/atveryend.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2009, 2010 by
+% Copyright (C) 2009-2011 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -73,7 +73,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: atveryend 2010/03/24 v1.5 Hooks at very end of document (HO)}
+\Msg{* Package: atveryend 2011/04/15 v1.6 Hooks at very end of document (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -84,7 +84,7 @@
This is a generated file.
-Copyright (C) 2009, 2010 by
+Copyright (C) 2009-2011 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
@@ -142,7 +142,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{atveryend.drv}%
- [2010/03/24 v1.5 Hooks at very end of document (HO)]%
+ [2011/04/15 v1.6 Hooks at very end of document (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/02/04]
\begin{document}
@@ -151,7 +151,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{937}
+% \CheckSum{1065}
%
% \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
@@ -172,7 +172,7 @@ and the derived files
% \GetFileInfo{atveryend.drv}
%
% \title{The \xpackage{atveryend} package}
-% \date{2010/03/24 v1.5}
+% \date{2011/04/15 v1.6}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -227,6 +227,16 @@ and the derived files
% The code is called after the \xext{aux} file is closed and read in again.
% It is the place for final checks, rerun hints, final messages.
%
+% \begin{declcs}{AtEndAfterFileList} \M{code}
+% \end{declcs}
+% After the \xext{aux} file closing and reading \hologo{LaTeX}
+% prints the file list if requested by \cs{listfiles}.
+% Then this hook is executed.
+%
+% \begin{declcs}{AtVeryVeryEnd} \M{code}
+% \end{declcs}
+% This code is called right before the final \cs{@@end}.
+%
% \subsection{Related work}
%
% \begin{description}
@@ -318,7 +328,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{atveryend}%
- [2010/03/24 v1.5 Hooks at very end of document (HO)]
+ [2011/04/15 v1.6 Hooks at very end of document (HO)]
% \end{macrocode}
%
% \subsection{Hooks}
@@ -338,6 +348,17 @@ and the derived files
\let\AtVeryEnd@AtVeryEndDocumentHook\@empty
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\AtVeryEnd@AtEndAfterFileListHook}
+% \begin{macrocode}
+\let\AtVeryEnd@AtEndAfterFileListHook\@empty
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\AtVeryEnd@AtVeryVeryEndHook}
+% \begin{macrocode}
+\let\AtVeryEnd@AtVeryVeryEndHook\@empty
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\BeforeClearDocument}
% \begin{macrocode}
\newcommand*{\BeforeClearDocument}{%
@@ -359,6 +380,21 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\AtEndAfterFileList}
+% \begin{macrocode}
+\newcommand*{\AtEndAfterFileList}{%
+ \g@addto@macro\AtVeryEnd@AtEndAfterFileListHook
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\AtVeryVeryEnd}
+% \begin{macrocode}
+\newcommand*{\AtVeryVeryEnd}{%
+ \g@addto@macro\AtVeryEnd@AtVeryVeryEndHook
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\Call@BeforeClearDocument}
% \begin{macrocode}
\newcommand*{\Call@BeforeClearDocument}{%
@@ -405,6 +441,40 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\Call@AtEndAfterFileList}
+% \begin{macrocode}
+\newcommand*{\Call@AtEndAfterFileList}{%
+ \Call@AtVeryEndDocument
+ \let\AtEndAfterFileList\@firstofone
+ \ifx\AtVeryEnd@AtEndAfterFileListHook\@empty
+ \PackageInfo{atveryend}{Empty hook `AtEndAfterFileList'}%
+ \else
+ \PackageInfo{atveryend}{Executing hook `AtEndAfterFileList'}%
+ \AtVeryEnd@AtEndAfterFileListHook
+ \fi
+ \global\let\AtVeryEnd@AtEndAfterFileListHook\@undefined
+ \global\let\Call@AtEndAfterFileList\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Call@AtVeryVeryEnd}
+% \begin{macrocode}
+\newcommand*{\Call@AtVeryVeryEnd}{%
+ \Call@AtEndAfterFileList
+ \let\AtVeryVeryEnd\@firstofone
+ \ifx\AtVeryEnd@AtVeryVeryEndHook\@empty
+ \PackageInfo{atveryend}{Empty hook `AtVeryVeryEnd'}%
+ \else
+ \PackageInfo{atveryend}{Executing hook `AtVeryVeryEnd'}%
+ \AtVeryEnd@AtVeryVeryEndHook
+ \fi
+ \global\let\AtVeryEnd@AtVeryVeryEndHook\@undefined
+ \global\let\Call@AtVeryVeryEnd\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{Redefining \cs{enddocument}}
%
% This approach looks for known versions of \cs{enddocument}
@@ -473,6 +543,7 @@ and the derived files
\fi
\Call@AtVeryEndDocument
\@dofilelist
+ \Call@AtEndAfterFileList
\ifdim \font@submax >\fontsubfuzz\relax
\@font@warning{Size substitutions with differences\MessageBreak
up to \font@submax\space have occurred.\@gobbletwo}%
@@ -491,6 +562,7 @@ and the derived files
\fi
\endgroup
\deadcycles\z@
+ \Call@AtVeryVeryEnd
\@@end
}
% \end{macrocode}
@@ -556,8 +628,11 @@ and the derived files
\immediate\closeout\@mainaux
\fi
\Call@AtVeryEndDocument
+ \csname @dofilelist\endcsname
+ \Call@AtEndAfterFileList
\endgroup
\deadcycles\z@
+ \Call@AtVeryVeryEnd
\@@end
}
% \end{macrocode}
@@ -610,11 +685,68 @@ and the derived files
\@refundefined
\endgroup
\deadcycles\z@
+ \Call@AtVeryVeryEnd
\@@end
}
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\AtVeryEnd@test@c@lenddoca}
+% \begin{macrocode}
+\long\def\AtVeryEnd@test@c@lenddoca{%
+ \@dofilelist
+ \ifdim\font@submax>\fontsubfuzz\relax
+ \@font@warning{%
+ Size substitutions with differences\MessageBreak
+ up to \font@submax\space have occured.\@gobbletwo
+ }%
+ \fi
+ \@defaultsubs
+ \if@filesw
+ \ifx\@multiplelabels\relax
+ \if@tempswa
+ \@latex@warning@no@line{%
+ Label(s) may have changed. %
+ Rerun to get cross-references right%
+ }%
+ \fi
+ \else
+ \@multiplelabels
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\c@lenddoca}
+% \begin{macrocode}
+\ifx\AtVeryEnd@c@lenddoca\c@lenddoca
+ \def\c@lenddoca{%
+ \@dofilelist
+ \Call@AtEndAfterFileList
+ \ifdim\font@submax>\fontsubfuzz\relax
+ \@font@warning{%
+ Size substitutions with differences\MessageBreak
+ up to \font@submax\space have occured.\@gobbletwo
+ }%
+ \fi
+ \@defaultsubs
+ \if@filesw
+ \ifx\@multiplelabels\relax
+ \if@tempswa
+ \@latex@warning@no@line{%
+ Label(s) may have changed. %
+ Rerun to get cross-references right%
+ }%
+ \fi
+ \else
+ \@multiplelabels
+ \fi
+ \fi
+ }%
+\fi
+% \end{macrocode}
+% \end{macro}
+%
% \subsubsection{Class \xpackage{jpsj2}}
%
% \begin{macro}{\AtVeryEnd@test@jpsj}
@@ -674,8 +806,11 @@ and the derived files
\fi
\fi
\Call@AtVeryEndDocument
+ \csname @dofilelist\endcsname
+ \Call@AtEndAfterFileList
\endgroup
\deadcycles\z@
+ \Call@AtVeryVeryEnd
\@@end
}
% \end{macrocode}
@@ -794,13 +929,17 @@ and the derived files
% \begin{macrocode}
\AtEndDocument{%
\@ifundefined{@dofilelist}{%
- \gdef\@dofilelist{\Call@AtVeryEndDocument}%
+ \gdef\@dofilelist{%
+ \Call@AtVeryEndDocument
+ \Call@AtEndAfterFileList
+ }%
}{%
\begingroup
\toks@\expandafter{\@dofilelist}%
\xdef\@dofilelist{%
\noexpand\Call@AtVeryEndDocument
\the\toks@
+ \noexpand\Call@AtEndAfterFileList
}%
\endgroup
}%
@@ -1299,6 +1438,10 @@ and the derived files
% \item
% \cs{Call@BeforeClearDocument} fixed (Ahmed Musa).
% \end{Version}
+% \begin{Version}{2011/04/15 v1.6}
+% \item
+% \cs{Call@AtEndAfterFileList} and \cs{Call@AtVeryVeryEnd} added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx b/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx
index 2d2a917a16b..a6c17500a3f 100644
--- a/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2006-2010 by
+% Copyright (C) 2006-2011 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -96,7 +96,7 @@
This is a generated file.
-Copyright (C) 2006-2010 by
+Copyright (C) 2006-2011 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
diff --git a/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx b/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
index 4d96793c697..bb225812e0c 100644
--- a/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% Copyright (C) 2001, 2006-2010 by
-% Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -86,7 +86,7 @@
This is a generated file.
Copyright (C) 2001, 2006-2010 by
- Heiko Oberdiek <oberdiek@uni-freiburg.de>
+ Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -175,7 +175,7 @@ and the derived files
%
% \title{The \xpackage{epstopdf} package}
% \date{2010/02/09 v2.5}
-% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
+% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
%
diff --git a/Master/texmf-dist/source/latex/oberdiek/hobsub.dtx b/Master/texmf-dist/source/latex/oberdiek/hobsub.dtx
index e1bfea3da1b..d383ea89bd2 100644
--- a/Master/texmf-dist/source/latex/oberdiek/hobsub.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/hobsub.dtx
@@ -254,7 +254,7 @@ and the derived files
%
% \def\TableGeneric{^^A
% \TableEntry{\xpackage{infwarerr}}{}{2010/04/08 v1.3}^^A
-% \TableEntry{\xpackage{ltxcmds}}{}{2011/03/16 v1.18}^^A
+% \TableEntry{\xpackage{ltxcmds}}{}{2011/04/14 v1.19}^^A
% \TableEntry{\xpackage{ifluatex}}{}{2010/03/01 v1.3}^^A
% \TableEntry{\xpackage{ifvtex}}{}{2010/03/01 v1.5}^^A
% \TableEntry{\xpackage{intcalc}}{}{2007/09/27 v1.1}^^A
@@ -263,7 +263,7 @@ and the derived files
% \TableEntry{\xpackage{kvsetkeys}}{}{2011/04/07 v1.13}^^A
% \TableEntry{\xpackage{kvdefinekeys}}{}{2011/04/07 v1.3}^^A
% \TableEntry{\xpackage{luatex-loader}}{}{2010/03/09 v0.4}^^A
-% \TableEntry{\xpackage{pdftexcmds}}{\xpackage{ifluatex}, \xpackage{ifpdf}, \xpackage{infwarerr}, \xpackage{ltxcmds}, \xpackage{luatex-loader}}{2011/04/10 v0.14}^^A
+% \TableEntry{\xpackage{pdftexcmds}}{\xpackage{ifluatex}, \xpackage{ifpdf}, \xpackage{infwarerr}, \xpackage{ltxcmds}, \xpackage{luatex-loader}}{2011/04/16 v0.15}^^A
% \TableEntry{\xpackage{pdfescape}}{\xpackage{ltxcmds}, \xpackage{pdftexcmds}}{2011/04/04 v1.12}^^A
% \TableEntry{\xpackage{bigintcalc}}{\xpackage{pdftexcmds}}{2011/01/30 v1.2}^^A
% \TableEntry{\xpackage{bitset}}{\xpackage{bigintcalc}, \xpackage{infwarerr}, \xpackage{intcalc}}{2011/01/30 v1.1}^^A
@@ -273,7 +273,7 @@ and the derived files
% \TableEntry{\xpackage{letltxmacro}}{}{2010/09/02 v1.4}^^A
% \TableEntry{\xpackage{hopatch}}{}{2011/01/30 v1.0}^^A
% \TableEntry{\xpackage{xcolor-patch}}{}{2011/01/30 v1.7}^^A
-% \TableEntry{\xpackage{atveryend}}{}{2010/03/24 v1.5}^^A
+% \TableEntry{\xpackage{atveryend}}{}{2011/04/15 v1.6}^^A
% \TableEntry{\xpackage{atbegshi}}{\xpackage{ifpdf}, \xpackage{infwarerr}, \xpackage{ltxcmds}}{2011/01/30 v1.15}^^A
% \TableEntry{\xpackage{refcount}}{\xpackage{infwarerr}, \xpackage{ltxcmds}}{2010/12/01 v3.2}^^A
% \TableEntry{\xpackage{hycolor}}{\xpackage{xcolor-patch}}{2011/01/30 v1.7}^^A
diff --git a/Master/texmf-dist/source/latex/oberdiek/kvdefinekeys.dtx b/Master/texmf-dist/source/latex/oberdiek/kvdefinekeys.dtx
index 7587a9ed5f6..a5d5dacd92b 100644
--- a/Master/texmf-dist/source/latex/oberdiek/kvdefinekeys.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/kvdefinekeys.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2010 by
+% Copyright (C) 2010, 2011 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -87,7 +87,7 @@
This is a generated file.
-Copyright (C) 2010 by
+Copyright (C) 2010, 2011 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
diff --git a/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx
index 4da0aa4a7db..02d1c671384 100644
--- a/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx
@@ -25,7 +25,7 @@
% ltxcmds.sty, ltxcmds.pdf, ltxcmds.ins, ltxcmds.drv,
% ltxcmds-test1.tex, ltxcmds-test-gobble.tex,
% ltxcmds-test-ifempty.tex, ltxcmds-test-zapspace.tex,
-% ltxcmds-test-ifboxempty.tex.
+% ltxcmds-test-ifboxempty.tex, ltxcmds-test-nextchar.tex.
%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/ltxcmds.dtx
@@ -65,6 +65,7 @@
% TDS:doc/latex/oberdiek/test/ltxcmds-test-ifempty.tex
% TDS:doc/latex/oberdiek/test/ltxcmds-test-zapspace.tex
% TDS:doc/latex/oberdiek/test/ltxcmds-test-ifboxempty.tex
+% TDS:doc/latex/oberdiek/test/ltxcmds-test-nextchar.tex
% TDS:source/latex/oberdiek/ltxcmds.dtx
%
%<*ignore>
@@ -82,7 +83,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: ltxcmds 2011/03/16 v1.18 LaTeX kernel commands for general use (HO)}
+\Msg{* Package: ltxcmds 2011/04/14 v1.19 LaTeX kernel commands for general use (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -118,7 +119,7 @@ and the derived files
ltxcmds.sty, ltxcmds.pdf, ltxcmds.ins, ltxcmds.drv,
ltxcmds-test1.tex, ltxcmds-test-gobble.tex,
ltxcmds-test-ifempty.tex, ltxcmds-test-zapspace.tex,
- ltxcmds-test-ifboxempty.tex.
+ ltxcmds-test-ifboxempty.tex, ltxcmds-test-nextchar.tex.
\endpreamble
\let\MetaPrefix\DoubleperCent
@@ -134,6 +135,7 @@ and the derived files
\file{ltxcmds-test-ifempty.tex}{\from{ltxcmds.dtx}{test-ifempty}}%
\file{ltxcmds-test-zapspace.tex}{\from{ltxcmds.dtx}{test-zapspace}}%
\file{ltxcmds-test-ifboxempty.tex}{\from{ltxcmds.dtx}{test-ifboxempty}}%
+ \file{ltxcmds-test-nextchar.tex}{\from{ltxcmds.dtx}{test-nextchar}}%
}
\catcode32=13\relax% active space
@@ -160,7 +162,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{ltxcmds.drv}%
- [2011/03/16 v1.18 LaTeX kernel commands for general use (HO)]%
+ [2011/04/14 v1.19 LaTeX kernel commands for general use (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/02/04]
\usepackage{zref-savepos}
@@ -172,7 +174,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{2029}
+% \CheckSum{2312}
%
% \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
@@ -193,7 +195,7 @@ and the derived files
% \GetFileInfo{ltxcmds.drv}
%
% \title{The \xpackage{ltxcmds} package}
-% \date{2011/03/16 v1.18}
+% \date{2011/04/14 v1.19}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -250,6 +252,23 @@ and the derived files
% and a space is not gobbled afterwards. Macro \cs{ltx@minusone}
% is available since version 2010/12/12 v1.15.
%
+% \subsection{Scratch registers}
+%
+% Following the conventions of \hologo{plainTeX} and \hologo{LaTeX}
+% the first ten registers are free to use. Even numbered registers
+% are for local, odd numbered for global use.
+%
+% \begin{declcs}{ltx@(Loc,Glob)(Toks,Dimen,Skip)(A,B,C,D,E)}
+% \end{declcs}
+% The name consists of the prefix \cs{ltx@}, then
+% \texttt{Loc} or \texttt{Glob} for local or global usage follows.
+% The register type is given by \texttt{Toks} for token register,
+% \texttt{Dimen} for dimen register and \texttt{Skip} for skip
+% register. As last part the registers are numbered from \texttt{A}
+% to \texttt{E}. Example: \cs{ltx@LocToksA}.
+%
+% Since 2011/04/14 v1.19.
+%
% \subsection{Argument killers}
%
% \begin{declcs}{ltx@gobble} \M{1} \TO\\
@@ -442,7 +461,7 @@ and the derived files
%
% Note that the file name used in \cs{ProvidesFile} and
% \cs{ltx@iffileloaded} must match. For example, if \TeX's
-% default extension \xext{.tex} was given in the first command,
+% default extension \xext{tex} was given in the first command,
% then it must also specified in the latter command and vice versa.
%
% \subsubsection{Version date check}
@@ -477,12 +496,32 @@ and the derived files
% it will be initialized as empty macro before. Due to a bug \meta{addition}
% must not contain \cs{par} before version 2010/10/25 v1.9.
%
-% \subsection{Macro \cs{ltx@ifnextchar}}
+% \subsection{Next character detection}
%
% \begin{declcs}{ltx@ifnextchar} \M{char} \M{yes} \M{no}
% \end{declcs}
% If next character is \meta{char} then \meta{yes} is called,
% otherwise \meta{no}. The character is not removed.
+% Spaces are silently removed when looking for \meta{char}
+% as \hologo{LaTeX}'s version \cs{kernel@ifnextchar} does.
+% But there are also small differences:
+% \begin{itemize}
+% \item The space can be used as \meta{char}. In this case
+% optional spaces before \meta{char} are not supported of course.
+% \item If the optional space is a command that is a character
+% (defined by \cs{let} or \cs{futurelet}), then
+% \cs{kernel@ifnextchar} breaks with an \hologo{TeX} error.
+% \cs{ltx@ifnextchar} silently removes this token as
+% optional space.
+% \end{itemize}
+% Since 2010/03/01 v1.3.
+%
+% \begin{declcs}{ltx@ifnextchar@nospace} \M{char} \M{yes} \M{no}
+% \end{declcs}
+% Macro \cs{ltx@ifnextchar@nospace} behaves like
+% macro \cs{ltx@ifnextchar} with the exception that
+% optional spaces are not supported before \meta{char}.
+% Since 2011/04/14 v1.19.
%
% \subsection{\cs{ltx@leavevmode}, \cs{ltx@mbox}}
%
@@ -647,7 +686,7 @@ and the derived files
\fi
\expandafter\x\csname ver@ltxcmds.sty\endcsname
\ProvidesPackage{ltxcmds}%
- [2011/03/16 v1.18 LaTeX kernel commands for general use (HO)]%
+ [2011/04/14 v1.19 LaTeX kernel commands for general use (HO)]%
% \end{macrocode}
%
% \begin{macrocode}
@@ -736,6 +775,165 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
+% \subsection{Scratch registers}
+%
+% \begin{macro}{\ltx@LocToksA}
+% \begin{macrocode}
+\toksdef\ltx@LocToksA=0 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocToksB}
+% \begin{macrocode}
+\toksdef\ltx@LocToksB=2 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocToksC}
+% \begin{macrocode}
+\toksdef\ltx@LocToksC=4 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocToksD}
+% \begin{macrocode}
+\toksdef\ltx@LocToksD=6 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocToksE}
+% \begin{macrocode}
+\toksdef\ltx@LocToksE=8 %
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ltx@GlobToksA}
+% \begin{macrocode}
+\toksdef\ltx@GlobToksA=1 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobToksB}
+% \begin{macrocode}
+\toksdef\ltx@GlobToksB=3 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobToksC}
+% \begin{macrocode}
+\toksdef\ltx@GlobToksC=5 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobToksD}
+% \begin{macrocode}
+\toksdef\ltx@GlobToksD=7 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobToksE}
+% \begin{macrocode}
+\toksdef\ltx@GlobToksE=9 %
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ltx@LocDimenA}
+% \begin{macrocode}
+\dimendef\ltx@LocDimenA=0 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocDimenB}
+% \begin{macrocode}
+\dimendef\ltx@LocDimenB=2 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocDimenC}
+% \begin{macrocode}
+\dimendef\ltx@LocDimenC=4 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocDimenD}
+% \begin{macrocode}
+\dimendef\ltx@LocDimenD=6 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocDimenE}
+% \begin{macrocode}
+\dimendef\ltx@LocDimenE=8 %
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ltx@GlobDimenA}
+% \begin{macrocode}
+\dimendef\ltx@GlobDimenA=1 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobDimenB}
+% \begin{macrocode}
+\dimendef\ltx@GlobDimenB=3 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobDimenC}
+% \begin{macrocode}
+\dimendef\ltx@GlobDimenC=5 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobDimenD}
+% \begin{macrocode}
+\dimendef\ltx@GlobDimenD=7 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobDimenE}
+% \begin{macrocode}
+\dimendef\ltx@GlobDimenE=9 %
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ltx@LocSkipA}
+% \begin{macrocode}
+\skipdef\ltx@LocSkipA=0 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocSkipB}
+% \begin{macrocode}
+\skipdef\ltx@LocSkipB=2 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocSkipC}
+% \begin{macrocode}
+\skipdef\ltx@LocSkipC=4 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocSkipD}
+% \begin{macrocode}
+\skipdef\ltx@LocSkipD=6 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocSkipE}
+% \begin{macrocode}
+\skipdef\ltx@LocSkipE=8 %
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ltx@GlobSkipA}
+% \begin{macrocode}
+\skipdef\ltx@GlobSkipA=1 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobSkipB}
+% \begin{macrocode}
+\skipdef\ltx@GlobSkipB=3 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobSkipC}
+% \begin{macrocode}
+\skipdef\ltx@GlobSkipC=5 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobSkipD}
+% \begin{macrocode}
+\skipdef\ltx@GlobSkipD=7 %
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@GlobSkipE}
+% \begin{macrocode}
+\skipdef\ltx@GlobSkipE=9 %
+% \end{macrocode}
+% \end{macro}
+%
+%
% \subsection{Argument killers}
%
% \begin{macro}{\ltx@gobble}
@@ -1339,8 +1537,8 @@ and the derived files
\fi
\fi
\begingroup
- \toks0\expandafter{#1#2}%
- \xdef#1{\the\toks0}%
+ \ltx@LocToksA\expandafter{#1#2}%
+ \xdef#1{\the\ltx@LocToksA}%
\endgroup
}
% \end{macrocode}
@@ -1357,23 +1555,23 @@ and the derived files
\fi
\fi
\begingroup
- \toks0\expandafter{\LTXcmds@gtemp#2}%
- \xdef\LTXcmds@gtemp{\the\toks0}%
+ \ltx@LocToksA\expandafter{\LTXcmds@gtemp#2}%
+ \xdef\LTXcmds@gtemp{\the\ltx@LocToksA}%
\endgroup
\let#1\LTXcmds@gtemp
}
% \end{macrocode}
% \end{macro}
%
-% \subsection{Macro \cs{ltx@ifnextchar}}
+% \subsection{Next character detection}
%
% \begin{macro}{\ltx@ifnextchar}
% \begin{macrocode}
\long\def\ltx@ifnextchar#1#2#3{%
\begingroup
\let\LTXcmds@CharToken= #1\relax
- \toks\ltx@zero{#2}%
- \toks\ltx@two{#3}%
+ \ltx@LocToksA{\endgroup#2}%
+ \ltx@LocToksB{\endgroup#3}%
\futurelet\LTXcmds@LetToken\LTXcmds@ifnextchar
}
% \end{macrocode}
@@ -1382,39 +1580,62 @@ and the derived files
% \begin{macrocode}
\def\LTXcmds@ifnextchar{%
\ifx\LTXcmds@LetToken\LTXcmds@CharToken
- \expandafter\endgroup\the\toks\expandafter\ltx@zero
+ \the\expandafter\ltx@LocToksA
\else
\ifx\LTXcmds@LetToken\LTXcmds@SpaceToken
\expandafter\expandafter\expandafter\LTXcmds@@ifnextchar
\else
- \expandafter\endgroup\the\toks
- \expandafter\expandafter\expandafter\ltx@two
+ \the\expandafter\expandafter\expandafter\ltx@LocToksB
\fi
\fi
}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\LTXcmds@@ifnextchar}
-% \begin{macrocode}
-\begingroup
- \def\x#1{\endgroup
- \def\LTXcmds@@ifnextchar#1{%
- \futurelet\LTXcmds@LetToken\LTXcmds@ifnextchar
- }%
- }%
-\x{ }
+% \cs{futurelet} does not distinguish between a
+% character and a command that is a character
+% (defined by using \cs{let} or \cs{futurelet}).
+% Therefore the space is catched by \cs{romannumeral}
+% with negative character constant that gobbles one
+% optional space.
+% \begin{macrocode}
+\def\LTXcmds@@ifnextchar{%
+ \expandafter\futurelet
+ \expandafter\LTXcmds@LetToken
+ \expandafter\LTXcmds@ifnextchar
+ \romannumeral-`\.%
+}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\LTXcmds@SpaceToken}
% \begin{macrocode}
-\begingroup
- \def\x#1{\endgroup
- \let\LTXcmds@SpaceToken= #1%
- }%
-\x{ }
+\ltx@firstofone{\let\LTXcmds@SpaceToken= } %
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\ltx@ifnextchar@nospace}
+% \begin{macrocode}
+\long\def\ltx@ifnextchar@nospace#1#2#3{%
+ \begingroup
+ \let\LTXcmds@CharToken= #1\relax
+ \ltx@LocToksA{\endgroup#2}%
+ \ltx@LocToksB{\endgroup#3}%
+ \futurelet\LTXcmds@LetToken\LTXcmds@ifnextchar@nospace
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\LTXcmds@ifnextchar@nospace}
+% \begin{macrocode}
+\def\LTXcmds@ifnextchar@nospace{%
+ \the
+ \ifx\LTXcmds@LetToken\LTXcmds@CharToken
+ \expandafter\ltx@LocToksA
+ \else
+ \expandafter\ltx@LocToksB
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
% \subsection{\cs{ltx@leavevmode}, \cs{ltx@mbox}}
%
% \begin{macro}{\ltx@leavevmode}
@@ -1828,7 +2049,7 @@ $ \next
\expandafter\ifx\csname RequirePackage\endcsname\relax
\input ltxcmds.sty\relax
\else
- \RequirePackage{ltxcmds}[2011/03/16]%
+ \RequirePackage{ltxcmds}[2011/04/14]%
\fi
\catcode`\@=11 %
\def\msg#{\immediate\write16}%
@@ -2015,7 +2236,7 @@ X=%
\expandafter\ifx\csname RequirePackage\endcsname\relax
\input ltxcmds.sty\relax
\else
- \RequirePackage{ltxcmds}[2011/03/16]%
+ \RequirePackage{ltxcmds}[2011/04/14]%
\fi
\def\msg#{\immediate\write16}
\def\TestY{\Y}
@@ -2135,7 +2356,7 @@ X=%
\expandafter\ifx\csname RequirePackage\endcsname\relax
\input ltxcmds.sty\relax
\else
- \RequirePackage{ltxcmds}[2011/03/16]%
+ \RequirePackage{ltxcmds}[2011/04/14]%
\fi
\def\msg#{\immediate\write16}
\def\space{ }
@@ -2209,7 +2430,7 @@ X=%
\expandafter\ifx\csname RequirePackage\endcsname\relax
\input ltxcmds.sty\relax
\else
- \RequirePackage{ltxcmds}[2011/03/16]%
+ \RequirePackage{ltxcmds}[2011/04/14]%
\fi
\def\msg#{\immediate\write16}
% make box 0 void
@@ -2292,7 +2513,141 @@ X=%
\csname @@end\endcsname\end
%</test-ifboxempty>
% \end{macrocode}
-
+%
+% \subsection{Test for next character detection}
+%
+% \begin{macrocode}
+%<*test-nextchar>
+\catcode`\{=1 %
+\catcode`\}=2 %
+\catcode`\#=6 %
+\catcode`\@=11 %
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \input ltxcmds.sty\relax
+ \input eolgrab.sty\relax
+\else
+ \RequirePackage{ltxcmds}[2011/04/14]%
+ \RequirePackage{eolgrab}[2011/01/12]%
+\fi
+\def\msg#{\immediate\write16}
+\begingroup
+ \def\x#1{%
+ \endgroup
+ \let\TestSpaceToken= #1\relax
+ }%
+\x{ }
+\def\TestSpace{ }
+\begingroup
+ \lccode32=65 % space -> A
+\lowercase{%
+ \endgroup
+ \def\TestSpaceA{ }%
+}
+\def\TestCatch{%
+ \eolgrab\@TestCatch
+}
+\def\@TestCatch#1{%
+ \begingroup
+ \def\x{#1}%
+ \ifx\x\ltx@empty
+ \else
+ \ltx@onelevel@sanitize\x
+ \errmessage{Unparsed stuff on line [\x]}%
+ \fi
+ \endgroup
+}
+\def\TestCmdM#1{%
+ \TestCheckType{M}%
+ \TestCatch
+}
+\def\TestCmdOM[#1]#2{%
+ \TestCheckType{O}%
+ \TestCatch
+}
+\def\TestCheckType#1{%
+ \if\TestCmdType#1\relax
+ \else
+ \errmessage{Wrong type #1, expected: \TestCmdType}%
+ \fi
+}
+\def\TestCmd#1{%
+ \def\TestCmdType{#1}%
+ \ltx@ifnextchar[\TestCmdOM\TestCmdM
+}
+\def\TestCmdExp#1{%
+ \expandafter\TestCmd\expandafter#1%
+}
+\outer\def\TestOuter{}
+\TestCmd O[o]{m}
+\TestCmd M{m}
+\TestCmd O [o]{m}
+\TestCmd M {m}
+\def\x#1{\def\x{#1#1}}\x{ }
+\TestCmdExp O\x[o]{m}
+\TestCmdExp M\x{m}
+\def\x#1{\def\x{#1#1#1#1}}\x{ }
+\TestCmdExp O\x[o]{m}
+\TestCmdExp M\x{m}
+\def\x{\TestSpaceToken}
+\TestCmdExp O\x[o]{m}
+\TestCmdExp M\x{m}
+\def\x{\TestSpaceToken\TestSpaceToken\TestSpaceToken}
+\TestCmdExp O\x[o]{m}
+\TestCmdExp M\x{m}
+\TestCmd M\TestSpace
+\TestOuter
+\TestCmd M \TestSpace
+\TestOuter
+%
+\def\TestCmd#1{%
+ \def\TestCmdType{#1}%
+ \ltx@ifnextchar@nospace[\TestCmdOM\TestCmdM
+}
+\TestCmd O[o]{m}
+\TestCmd M{m}
+\TestCmd M [
+\TestOuter
+\TestCmd M {m}
+\TestOuter
+%
+\def\TestCmd#1{%
+ \def\TestCmdType{#1}%
+ \ltx@ifnextchar(\TestCmdPM\TestCmdM
+}
+\def\TestCmdPM(#1)#2{%
+ \TestCheckType{P}%
+ \TestCatch
+}
+\TestCmd P(p){m}
+\TestCmd M{m}
+\TestCmd P (p){m}
+\TestCmd M {m}
+%
+\def\TestCmd#1{%
+ \def\TestCmdType{#1}%
+ \ltx@ifnextchar{ }\TestCmdSM\TestCmdM
+}
+\def\TestCmdSM#1#{%
+ \TestCheckType{S}%
+ \begingroup
+ \let\x= #1\relax
+ \ifx\x\TestSpaceToken
+ \else
+ \errmessage{unexpected space token: \meaning#1}%
+ \fi
+ \endgroup
+ \def\TestCmdType{M}%
+ \TestCmdM
+}
+\TestCmd S {m}
+\TestCmd M{m}
+\tracingmacros=1
+\def\x#1{\def\x{#1#1}}\x{ }
+\TestCmdExp S\x{m}
+\csname @@end\endcsname\end
+%</test-nextchar>
+% \end{macrocode}
%
% \section{Installation}
%
@@ -2360,6 +2715,7 @@ X=%
% test/ltxcmds-test-ifempty.tex & doc/latex/oberdiek/test/ltxcmds-test-ifempty.tex\\
% test/ltxcmds-test-zapspace.tex & doc/latex/oberdiek/test/ltxcmds-test-zapspace.tex\\
% test/ltxcmds-test-ifboxempty.tex & doc/latex/oberdiek/test/ltxcmds-test-ifboxempty.tex\\
+% test/ltxcmds-test-nextchar.tex & doc/latex/oberdiek/test/ltxcmds-test-nextchar.tex\\
% ltxcmds.dtx & source/latex/oberdiek/ltxcmds.dtx\\
% \end{tabular}^^A
% }^^A
@@ -2677,6 +3033,12 @@ X=%
% \item
% \cs{ltx@ifclasslater} fixed.
% \end{Version}
+% \begin{Version}{2011/04/14 v1.19}
+% \item
+% \cs{ltx@ifnextchar}: detection of optional spaces modified.
+% \item
+% \cs{ltx(Loc,Glob)(Toks,Dimen,Skip)(A,B,C,D,E)} added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins
index d007259dc89..92c0258d3db 100644
--- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins
+++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins
@@ -1,5 +1,5 @@
% oberdiek.ins
-% 2011/04/13
+% 2011/04/16
%
% Copyright (C) 1999, 2001, 2006 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex
index 33d35cdbb3f..a933b190938 100644
--- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex
+++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex
@@ -6,7 +6,7 @@
\newcommand*{\Subject}{CTAN:\CTANdir}
\newcommand*{\Author}{Heiko Oberdiek}
\newcommand*{\Email}{heiko.oberdiek at googlemail.com}
-\newcommand*{\Date}{2011/04/13}
+\newcommand*{\Date}{2011/04/16}
% Copyright (C) 2006-2011 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -178,7 +178,7 @@
[\entrysep]
\entry{attachfile2}{2010/09/27}{2.6}{attach files into PDF}%
[\entrysep]
-\entry{atveryend}{2010/03/24}{1.5}{Hooks at very end of document}%
+\entry{atveryend}{2011/04/15}{1.6}{Hooks at very end of document}%
[\entrysep]
\entry{auxhook}{2011/03/04}{1.3}{Hooks for auxiliary files}%
[\entrysep]
@@ -268,7 +268,7 @@
[\entrysep]
\entry{listingsutf8}{2007/11/11}{1.1}{Adding support for UTF-8 to listings}%
[\entrysep]
-\entry{ltxcmds}{2011/03/16}{1.18}{\LaTeX{} kernel commands for general use}%
+\entry{ltxcmds}{2011/04/14}{1.19}{\LaTeX{} kernel commands for general use}%
[\entrysep]
\entry{luacolor}{2011/03/29}{1.4}{Coloring based on LuaTeX's node attributes}%
[\entrysep]
@@ -302,7 +302,7 @@
[\entrysep]
\entry{pdfrender}{2010/01/28}{1.2}{Access to some PDF graphics parameters}%
[\entrysep]
-\entry{pdftexcmds}{2011/04/10}{0.14}{Utilities of pdfTeX for LuaTeX}%
+\entry{pdftexcmds}{2011/04/16}{0.15}{Utilities of pdfTeX for LuaTeX}%
[\entrysep]
\entry{picture}{2009/10/11}{1.3}{Dimens for picture macros}%
[\entrysep]
@@ -312,7 +312,7 @@
[\entrysep]
\entry{refcount}{2010/12/01}{3.2}{Data extraction from references}%
[\entrysep]
-\entry{rerunfilecheck}{2010/03/16}{1.6}{Rerun checks for auxiliary files}%
+\entry{rerunfilecheck}{2011/04/15}{1.7}{Rerun checks for auxiliary files}%
[\entrysep]
\entry{resizegather}{2010/03/01}{1.2}{Automatically resizing of too large equations}%
[\entrysep]
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdflscape.dtx b/Master/texmf-dist/source/latex/oberdiek/pdflscape.dtx
index fc436d61798..a788a91500a 100644
--- a/Master/texmf-dist/source/latex/oberdiek/pdflscape.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/pdflscape.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2001, 2004, 2006, 2007 by
+% Copyright (C) 2001, 2004, 2006-2008 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -94,7 +94,7 @@
This is a generated file.
-Copyright (C) 2001, 2004, 2006, 2007 by
+Copyright (C) 2001, 2004, 2006-2008 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
index 208f51ff6b2..a62c1f11327 100644
--- a/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx
@@ -83,7 +83,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: pdftexcmds 2011/04/10 v0.14 Utilities of pdfTeX for LuaTeX (HO)}
+\Msg{* Package: pdftexcmds 2011/04/16 v0.15 Utilities of pdfTeX for LuaTeX (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -175,7 +175,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{pdftexcmds.drv}%
- [2011/04/10 v0.14 Utilities of pdfTeX for LuaTeX (HO)]%
+ [2011/04/16 v0.15 Utilities of pdfTeX for LuaTeX (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/02/04]
\usepackage{paralist}
@@ -185,7 +185,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1618}
+% \CheckSum{1622}
%
% \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
@@ -206,7 +206,7 @@ and the derived files
% \GetFileInfo{pdftexcmds.drv}
%
% \title{The \xpackage{pdftexcmds} package}
-% \date{2011/04/10 v0.14}
+% \date{2011/04/16 v0.15}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -367,6 +367,11 @@ and the derived files
% configuration option. In \hologo{LuaTeX} option |--safer| disables
% the execution of external commands.
%
+% In \hologo{LuaTeX} before 0.70.0 \cs{pdf@shellescape} is not
+% available due to a bug in |os.execute()|. The argumentless form
+% crashes in some circumstances with segmentation fault.
+% It is fixed in version 0.70.0, revision 4167 of \hologo{LuaTeX}.
+%
% Hints for usage:
% \begin{itemize}
% \item \cs{pdf@shellescape} might be a numerical constant,
@@ -529,7 +534,7 @@ and the derived files
\fi
\expandafter\x\csname ver@pdftexcmds.sty\endcsname
\ProvidesPackage{pdftexcmds}%
- [2011/04/10 v0.14 Utilities of pdfTeX for LuaTeX (HO)]%
+ [2011/04/16 v0.15 Utilities of pdfTeX for LuaTeX (HO)]%
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -1040,7 +1045,7 @@ and the derived files
require("oberdiek.pdftexcmds")%
}
\begingroup
- \def\x{2011/04/10 v0.14}%
+ \def\x{2011/04/16 v0.15}%
\ltx@onelevel@sanitize\x
\edef\y{%
\pdftexcmds@directlua{%
@@ -1282,11 +1287,14 @@ and the derived files
%
% \begin{macro}{\pdf@shellescape}
% \begin{macrocode}
-\def\pdf@shellescape{%
- \directlua0{%
- oberdiek.pdftexcmds.shellescape()%
+\ifnum\luatexversion<70 %
+\else
+ \def\pdf@shellescape{%
+ \directlua0{%
+ oberdiek.pdftexcmds.shellescape()%
+ }%
}%
-}
+\fi
% \end{macrocode}
% \end{macro}
%
@@ -1361,7 +1369,7 @@ and the derived files
module("oberdiek.pdftexcmds", package.seeall)
local systemexitstatus
function getversion()
- tex.write("2011/04/10 v0.14")
+ tex.write("2011/04/16 v0.15")
end
function strcmp(A, B)
if A == B then
@@ -1618,14 +1626,20 @@ function filemdfivesum(filename)
end
function shellescape()
if os.execute then
- local result = os.execute()
- if result == 0 then
- tex.write("0")
+ if status
+ and status.luatex_version
+ and status.luatex_version >= 70 then
+ tex.write(os.execute())
else
- if result == nil then
+ local result = os.execute()
+ if result == 0 then
tex.write("0")
else
- tex.write("1")
+ if result == nil then
+ tex.write("0")
+ else
+ tex.write("1")
+ end
end
end
else
@@ -2318,6 +2332,13 @@ end
% Patch for bug in \hologo{LuaTeX} between 0.40.6 and 0.65 that
% is fixed in revision 4096.
% \end{Version}
+% \begin{Version}{2011/04/16 v0.15}
+% \item
+% \hologo{LuaTeX}: \cs{pdf@shellescape} is only supported
+% for version 0.70.0 and higher due to a bug, \texttt{os.execute()}
+% crashes in some circumstances. Fixed in \hologo{LuaTeX}
+% beta-0.70.0, revision 4167.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/readme-ctan.txt b/Master/texmf-dist/source/latex/oberdiek/readme-ctan.txt
index 73320b277b9..eb3243dfd53 100644
--- a/Master/texmf-dist/source/latex/oberdiek/readme-ctan.txt
+++ b/Master/texmf-dist/source/latex/oberdiek/readme-ctan.txt
@@ -1,4 +1,4 @@
-README 2011/04/10
+README 2011/04/15
This file describes the directory
CTAN:macros/latex/contrib/oberdiek/
@@ -41,4 +41,4 @@ Other files in the CTAN directory:
The name is a convenience to users of the program `texdoc'.
Happy TeXing
- Heiko Oberdiek <oberdiek at uni-freiburg.de>
+ Heiko Oberdiek <heiko.oberdiek at googlemail.com>
diff --git a/Master/texmf-dist/source/latex/oberdiek/rerunfilecheck.dtx b/Master/texmf-dist/source/latex/oberdiek/rerunfilecheck.dtx
index 043e80f1475..baab75076e9 100644
--- a/Master/texmf-dist/source/latex/oberdiek/rerunfilecheck.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/rerunfilecheck.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2009, 2010 by
+% Copyright (C) 2009-2011 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -75,7 +75,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: rerunfilecheck 2010/03/16 v1.6 Rerun checks for auxiliary files (HO)}
+\Msg{* Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -86,7 +86,7 @@
This is a generated file.
-Copyright (C) 2009, 2010 by
+Copyright (C) 2009-2011 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
@@ -149,7 +149,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{rerunfilecheck.drv}%
- [2010/03/16 v1.6 Rerun checks for auxiliary files (HO)]%
+ [2011/04/15 v1.7 Rerun checks for auxiliary files (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/02/04]
\begin{document}
@@ -158,7 +158,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{601}
+% \CheckSum{604}
%
% \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
@@ -179,7 +179,7 @@ and the derived files
% \GetFileInfo{rerunfilecheck.drv}
%
% \title{The \xpackage{rerunfilecheck} package}
-% \date{2010/03/16 v1.6}
+% \date{2011/04/15 v1.7}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -196,11 +196,11 @@ and the derived files
%
% \LaTeX\ informs the user, when to run \LaTeX\ again, if the
% references have changed. It has the old references from the
-% first reading of the \xext{.aux} files already in memory, thus
-% it compares them with the new version of the \xext{.aux} file
+% first reading of the \xext{aux} files already in memory, thus
+% it compares them with the new version of the \xext{aux} file
% at the end of the document. However this rerun warnings are
% not given for the table of contents and other data stored
-% in the \xext{.aux} files or other auxiliary files.
+% in the \xext{aux} files or other auxiliary files.
% Usually many of these data as the table of contents is not keep
% in memory. If someone wants to detect changes, he has either
% to keep the data in memory. This does not scale well with huge
@@ -224,9 +224,9 @@ and the derived files
% an option.
% \begin{description}
% \item[\xoption{mainaux}:]
-% Check the main \xext{.aux} file.
+% Check the main \xext{aux} file.
% \item[\xoption{partaux}:]
-% Check the \xext{.aux} files from \cs{include} files.
+% Check the \xext{aux} files from \cs{include} files.
% \item[\xoption{starttoc}:]
% Add the rerun checks in \cs{@starttoc} that is called by
% \cs{tableofcontents}, \cs{listoffigures}, \dots
@@ -257,7 +257,7 @@ and the derived files
% Example for the configuration file:
% \begin{macrocode}
%<*cfg>
-\ProvidesFile{rerunfilecheck.cfg}[2010/03/16 Default configuration]%
+\ProvidesFile{rerunfilecheck.cfg}[2011/04/15 Default configuration]%
\RerunFileCheckSetup{aux}
%</cfg>
% \end{macrocode}
@@ -358,7 +358,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rerunfilecheck}%
- [2010/03/16 v1.6 Rerun checks for auxiliary files (HO)]
+ [2011/04/15 v1.7 Rerun checks for auxiliary files (HO)]
% \end{macrocode}
%
% \subsection{Options}
@@ -430,7 +430,7 @@ and the derived files
\fi%
% \end{macrocode}
%
-% \subsection{Standard \xext{.aux} files}
+% \subsection{Standard \xext{aux} files}
%
% \begin{macrocode}
\ifReFiCh@partaux
@@ -573,7 +573,7 @@ and the derived files
% \subsection{Rerun check}
%
% \begin{macrocode}
-\RequirePackage{atveryend}[2009/12/07]
+\RequirePackage{atveryend}[2011/04/15]
\RequirePackage{uniquecounter}[2009/12/18]
% \end{macrocode}
%
@@ -640,7 +640,7 @@ and the derived files
% \begin{macrocode}
\def\ReFiCh@@RerunFileCheck#1#2#3#4{%
\ReFiCh@Check\global#1{#2}%
- \AtVeryEndDocument{%
+ \AtEndAfterFileList{%
\begingroup
#3%
\ReFiCh@Check{}\x{#2}%
@@ -710,9 +710,11 @@ and the derived files
%
% \section{Test}
%
+% \begin{macrocode}
%<*test1>
-\def\LoadCommand{\RequirePackage{rerunfilecheck}[2010/03/16]}
+\def\LoadCommand{\RequirePackage{rerunfilecheck}[2011/04/15]}
%</test1>
+% \end{macrocode}
% \subsection{Catcode checks for loading}
%
% \begin{macrocode}
@@ -1040,6 +1042,11 @@ and the derived files
% Reverted to version 1.4 and \cs{IfFileExists} wrapper of
% version 1.5 is removed.
% \end{Version}
+% \begin{Version}{2011/04/15 v1.7}
+% \item
+% Using \cs{AtEndAfterFileList} of package \xpackage{atveryend}
+% 2011/04/15 v1.6 instead of \cs{AtVeryEndDocument}.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/resizegather.dtx b/Master/texmf-dist/source/latex/oberdiek/resizegather.dtx
index 6ea61827c93..4468281ef87 100644
--- a/Master/texmf-dist/source/latex/oberdiek/resizegather.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/resizegather.dtx
@@ -217,7 +217,7 @@ and the derived files
% that only needs to hook into \xpackage{amsmath}'s code to add
% the resizing feature.
%
-% Resized equations are recorded in the \xext{.log} file
+% Resized equations are recorded in the \xext{log} file
% for small exceeds (default setting is smaller than five percent).
% Otherwise a warning is given.
%
@@ -244,7 +244,7 @@ and the derived files
% its available width by the given fraction.
% Default is |0.05|: A warning is given if the equation
% is too large by five percent.
-% Otherwise the exceed is recorded in the \xext{.log} file
+% Otherwise the exceed is recorded in the \xext{log} file
% only.
% \end{description}
% The next options are boolean options. They are enabled