diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx | 82 |
1 files changed, 69 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx index 02d1c671384..c13a2a457e5 100644 --- a/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx @@ -1,5 +1,8 @@ % \iffalse meta-comment % +% File: ltxcmds.dtx +% Version: 2011/04/18 v1.20 +% % Copyright (C) 2009-2011 by % Heiko Oberdiek <heiko.oberdiek at googlemail.com> % @@ -83,7 +86,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: ltxcmds 2011/04/14 v1.19 LaTeX kernel commands for general use (HO)} +\Msg{* Package: ltxcmds 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)} \Msg{************************************************************************} \keepsilent @@ -94,6 +97,9 @@ This is a generated file. +Project: ltxcmds +Version: 2011/04/18 v1.20 + Copyright (C) 2009-2011 by Heiko Oberdiek <heiko.oberdiek at googlemail.com> @@ -162,7 +168,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltxcmds.drv}% - [2011/04/14 v1.19 LaTeX kernel commands for general use (HO)]% + [2011/04/18 v1.20 LaTeX kernel commands for general use (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/02/04] \usepackage{zref-savepos} @@ -174,7 +180,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{2312} +% \CheckSum{2385} % % \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 @@ -195,7 +201,7 @@ and the derived files % \GetFileInfo{ltxcmds.drv} % % \title{The \xpackage{ltxcmds} package} -% \date{2011/04/14 v1.19} +% \date{2011/04/18 v1.20} % \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}} % % \maketitle @@ -686,7 +692,7 @@ and the derived files \fi \expandafter\x\csname ver@ltxcmds.sty\endcsname \ProvidesPackage{ltxcmds}% - [2011/04/14 v1.19 LaTeX kernel commands for general use (HO)]% + [2011/04/18 v1.20 LaTeX kernel commands for general use (HO)]% % \end{macrocode} % % \begin{macrocode} @@ -1060,7 +1066,7 @@ and the derived files \long\def\ltx@cdrzero#1\@nil{#1}% % \end{macrocode} % \end{macro} - +% % \begin{macro}{\ltx@cartwo} % \begin{macrocode} \long\def\ltx@cartwo#1#2#3\@nil{#1#2} @@ -1582,7 +1588,8 @@ and the derived files \ifx\LTXcmds@LetToken\LTXcmds@CharToken \the\expandafter\ltx@LocToksA \else - \ifx\LTXcmds@LetToken\LTXcmds@SpaceToken + \expandafter + \ifx\csname LTXcmds@LetToken\endcsname\LTXcmds@SpaceToken \expandafter\expandafter\expandafter\LTXcmds@@ifnextchar \else \the\expandafter\expandafter\expandafter\ltx@LocToksB @@ -2049,7 +2056,7 @@ $ \next \expandafter\ifx\csname RequirePackage\endcsname\relax \input ltxcmds.sty\relax \else - \RequirePackage{ltxcmds}[2011/04/14]% + \RequirePackage{ltxcmds}[2011/04/18]% \fi \catcode`\@=11 % \def\msg#{\immediate\write16}% @@ -2236,7 +2243,7 @@ X=% \expandafter\ifx\csname RequirePackage\endcsname\relax \input ltxcmds.sty\relax \else - \RequirePackage{ltxcmds}[2011/04/14]% + \RequirePackage{ltxcmds}[2011/04/18]% \fi \def\msg#{\immediate\write16} \def\TestY{\Y} @@ -2356,7 +2363,7 @@ X=% \expandafter\ifx\csname RequirePackage\endcsname\relax \input ltxcmds.sty\relax \else - \RequirePackage{ltxcmds}[2011/04/14]% + \RequirePackage{ltxcmds}[2011/04/18]% \fi \def\msg#{\immediate\write16} \def\space{ } @@ -2430,7 +2437,7 @@ X=% \expandafter\ifx\csname RequirePackage\endcsname\relax \input ltxcmds.sty\relax \else - \RequirePackage{ltxcmds}[2011/04/14]% + \RequirePackage{ltxcmds}[2011/04/18]% \fi \def\msg#{\immediate\write16} % make box 0 void @@ -2527,7 +2534,7 @@ X=% \input ltxcmds.sty\relax \input eolgrab.sty\relax \else - \RequirePackage{ltxcmds}[2011/04/14]% + \RequirePackage{ltxcmds}[2011/04/18]% \RequirePackage{eolgrab}[2011/01/12]% \fi \def\msg#{\immediate\write16} @@ -2599,6 +2606,20 @@ X=% \TestOuter \TestCmd M \TestSpace \TestOuter +\TestCmd M\iftrue +\TestOuter +\TestCmd M\iffalse +\TestOuter +\TestCmd M\else +\TestOuter +\TestCmd M\fi +\TestOuter +\TestCmd M \iftrue +\TestOuter +\TestCmd M \iffalse +\TestOuter +\TestCmd M \else +\TestOuter % \def\TestCmd#1{% \def\TestCmdType{#1}% @@ -2609,6 +2630,13 @@ X=% \TestCmd M [ \TestOuter \TestCmd M {m} +\TestCmd M\iftrue +\TestOuter +\TestCmd M\iffalse +\TestOuter +\TestCmd M\else +\TestCmd M\fi +\TestOuter \TestOuter % \def\TestCmd#1{% @@ -2642,9 +2670,32 @@ X=% } \TestCmd S {m} \TestCmd M{m} -\tracingmacros=1 \def\x#1{\def\x{#1#1}}\x{ } \TestCmdExp S\x{m} +% +\def\TestCmd#1{% + \def\TestCmdType{#1}% + \ltx@ifnextchar\iffalse\TestCmdIM\TestCmdM +} +\def\TestCmdIM\iffalse#1{% + \TestCheckType{I}% + \TestCatch +} +\TestCmd M\iftrue +\TestOuter +\TestCmd M \iftrue +\TestCmd I\iffalse\iffalse +\TestCmd I \iffalse\iffalse +\TestOuter +% +\def\TestCmd#1{% + \def\TestCmdType{#1}% + \ltx@ifnextchar@nospace\iffalse\TestCmdIM\TestCmdM +} +\TestCmd M\iftrue +\TestOuter +\TestCmd I\iffalse\iffalse +\TestOuter \csname @@end\endcsname\end %</test-nextchar> % \end{macrocode} @@ -3039,6 +3090,11 @@ X=% % \item % \cs{ltx(Loc,Glob)(Toks,Dimen,Skip)(A,B,C,D,E)} added. % \end{Version} +% \begin{Version}{2011/04/18 v1.20} +% \item +% \cs{ltx@ifnextchar} with conditional support (thanks GL for +% bug report). +% \end{Version} % \end{History} % % \PrintIndex |