diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx | 63 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/oberdiek.ins | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/oberdiek.tex | 4 |
3 files changed, 45 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx b/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx index 9eb003fe93e..787b0e207e9 100644 --- a/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx @@ -71,7 +71,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: letltxmacro 2008/06/13 v1.2 Let assignment for LaTeX macros (HO)} +\Msg{* Package: letltxmacro 2008/06/24 v1.3 Let assignment for LaTeX macros (HO)} \Msg{************************************************************************} \keepsilent @@ -144,7 +144,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{letltxmacro.drv}% - [2008/06/13 v1.2 Let assignment for LaTeX macros (HO)]% + [2008/06/24 v1.3 Let assignment for LaTeX macros (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2007/11/11] \begin{document} @@ -153,7 +153,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{813} +% \CheckSum{844} % % \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 @@ -174,7 +174,7 @@ and the derived files % \GetFileInfo{letltxmacro.drv} % % \title{The \xpackage{letltxmacro} package} -% \date{2008/06/13 v1.2} +% \date{2008/06/24 v1.3} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -234,7 +234,7 @@ and the derived files % \cs{newenvironment}, \cs{renewenvironment} & latex/base\\ % \cs{DeclareRobustCommand}& latex/base\\ % \cs{newrobustcmd}, \cs{renewrobustcmd} & etoolbox\\ -% \cs{robustify} & etoolbox 2008/06/12 v1.6a\\ +% \cs{robustify} & etoolbox 2008/06/22 v1.6\\ % \end{tabular} % \end{quote} % @@ -370,7 +370,7 @@ and the derived files % (\cmd) = (\protected\long macro:->) % %\newrobustcmd {\cmd }[2][default]{} -% (\cmd) = (\protected macro:->\@protected@testopt \cmd \\cmd {default}) +% (\cmd) = (\protected macro:->\@testopt \\cmd {default}) % (\\cmd) = (\long macro:[#1]#2->) % %* etoolbox's \robustify: @@ -380,11 +380,12 @@ and the derived files % (\\cmd) = (\long macro:[#1]#2->) % %\DeclareRobustCommand {\cmd }{} \robustify {\cmd } -% (\cmd) = (\protected\long macro:->) +% (\cmd) = (\protected macro:->) % %\DeclareRobustCommand {\cmd }[2][default]{} \robustify {\cmd } -% (\cmd) = (\protected macro:->\@protected@testopt \cmd \\cmd {default}) -% (\\cmd) = (\long macro:[#1]#2->) +% (\cmd) = (\protected macro:->\@protected@testopt \cmd~ \\cmd~ {default}) +% (\cmd~) = (macro:->\@protected@testopt \cmd~ \\cmd~ {default}) +% (\\cmd~) = (\long macro:[#1]#2->) %\end{verbatim} % \endgroup % @@ -440,7 +441,7 @@ and the derived files % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{letltxmacro}% - [2008/06/13 v1.2 Let assignment for LaTeX macros (HO)] + [2008/06/24 v1.3 Let assignment for LaTeX macros (HO)] % \end{macrocode} % % \subsubsection{Main macros} @@ -632,7 +633,7 @@ and the derived files \catcode`\%=14 % \catcode`\ =10 % \catcode13=5 % - \RequirePackage{letltxmacro}[2008/06/13]\relax + \RequirePackage{letltxmacro}[2008/06/24]\relax \RestoreCatcodes } \Test @@ -653,7 +654,7 @@ and the derived files \nofiles \documentclass{minimal} -\usepackage{letltxmacro}[2008/06/13] +\usepackage{letltxmacro}[2008/06/24] \usepackage{qstest} \IncludeTests{*} @@ -753,11 +754,12 @@ and the derived files % \end{macrocode} % % \begin{macrocode} -\usepackage{etoolbox}[2008/06/12] +\usepackage{etoolbox}[2008/06/22] -\begin{qstest}{newrobustcmd}{oldnewrobustcmd} +\begin{qstest}{oldnewrobustcmd}{oldnewrobustcmd} \protected\edef\TestA{% - \noexpand\@testopt + \noexpand\@protected@testopt + \noexpand\TestA \expandafter\noexpand\csname\string\TestA\endcsname {\noexpand\default}% }% @@ -765,9 +767,10 @@ and the derived files \def\csname\string\TestA\endcsname{TestA}% \SaveA \LetLtxMacro\TestB\TestA - \TestDef{TestB}{\@testopt \\TestB {\default }}% + \TestDef{TestB}{\@protected@testopt \TestB \\TestB {\default }}% \protected\edef\TestC{% - \noexpand\@testopt + \noexpand\@protected@testopt + \noexpand\TestB \expandafter\noexpand\csname\string\TestB\endcsname {\noexpand\default}% }% @@ -779,10 +782,9 @@ and the derived files \newrobustcmd{\TestA}[1][\default]{TestA}% \SaveA \LetLtxMacro\TestB\TestA - \TestDef{TestB}{\@protected@testopt \TestB \\TestB {\default }}% + \TestDef{TestB}{\@testopt \\TestB {\default }}% \protected\edef\TestC{% - \noexpand\@protected@testopt - \noexpand\TestB + \noexpand\@testopt \expandafter\noexpand\csname\string\TestB\endcsname {\noexpand\default}% }% @@ -821,7 +823,22 @@ and the derived files \SaveA \LetLtxMacro\TestB\TestA \TestDef{TestB}{\iffalse }% - \protected\long\def\TestC{\iffalse}% + % before etoolbox 2008/06/22: \protected\long\def + % since etoolbox 2008/06/22: \protected\def + \protected\def\TestC{\iffalse}% + \TestEquals{TestB}{TestC}% + \CheckA +\end{qstest} + +\begin{qstest}{robustifydeclarelong}{robustifydeclarelong} + \DeclareRobustCommand\TestA[1]{\iffalse}% + \robustify\TestA + \SaveA + \LetLtxMacro\TestB\TestA + \TestDef{TestB}{\iffalse }% + % before etoolbox 2008/06/22: \protected\long\def + % since etoolbox 2008/06/22: \protected\def + \protected\long\def\TestC#1{\iffalse}% \TestEquals{TestB}{TestC}% \CheckA \end{qstest} @@ -1031,6 +1048,10 @@ and the derived files % \item % Support for \xpackage{etoolbox}'s \cs{robustify} added. % \end{Version} +% \begin{Version}{2008/06/24 v1.3} +% \item +% Test file adapted for etoolbox 2008/06/22 v1.6. +% \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 e235595dd9a..f030910e31e 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 -% 2008/06/17 +% 2008/06/28 % % Copyright (C) 1999, 2001, 2006 by % Heiko Oberdiek <oberdiek@uni-freiburg.de> diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex index ac50d6bd3db..1bfeb299360 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}{oberdiek@uni-freiburg.de} -\newcommand*{\Date}{2008/06/17} +\newcommand*{\Date}{2008/06/28} % Copyright (C) 2006 by % Heiko Oberdiek <oberdiek@uni-freiburg.de> @@ -245,7 +245,7 @@ [\entrysep] \entry{kvsetkeys}{2007/09/29}{1.3}{Key value parser with default handler support}% [\entrysep] -\entry{letltxmacro}{2008/06/13}{1.2}{Let assignment for \LaTeX{} macros}% +\entry{letltxmacro}{2008/06/24}{1.3}{Let assignment for \LaTeX{} macros}% [\entrysep] \entry{listingsutf8}{2007/11/11}{1.1}{Adding support for UTF-8 to listings}% [\entrysep] |