diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/protecteddef.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/protecteddef.dtx | 75 |
1 files changed, 58 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/protecteddef.dtx b/Master/texmf-dist/source/latex/oberdiek/protecteddef.dtx index 7a216c4ab9c..b9353f26510 100644 --- a/Master/texmf-dist/source/latex/oberdiek/protecteddef.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/protecteddef.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: protecteddef.dtx % Version: 2011/01/31 v1.0 -% +% Info: Define protected commands +% % Copyright (C) 2011 by % 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 % version 1.3c of this license or (at your option) any later @@ -15,23 +16,23 @@ % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of % LaTeX version 2005/12/01 or later. -% +% % This work has the LPPL maintenance status "maintained". -% +% % This Current Maintainer of this work is Heiko Oberdiek. -% +% % The Base Interpreter refers to any `TeX-Format', % because some files are installed in TDS:tex/generic//. -% +% % This work consists of the main source file protecteddef.dtx % and the derived files % protecteddef.sty, protecteddef.pdf, protecteddef.ins, protecteddef.drv, % protecteddef-test1.tex, protecteddef-test2.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/protecteddef.dtx % CTAN:macros/latex/contrib/oberdiek/protecteddef.pdf -% +% % Unpacking: % (a) If protecteddef.ins is present: % tex protecteddef.ins @@ -40,7 +41,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{protecteddef.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If protecteddef.drv is present: % latex protecteddef.drv @@ -50,14 +51,14 @@ % if available. Here you can specify further options, e.g. % use A4 as paper format: % \PassOptionsToClass{a4paper}{article} -% +% % Programm calls to get the documentation (example): % pdflatex protecteddef.dtx % makeindex -s gind.ist protecteddef.idx % pdflatex protecteddef.dtx % makeindex -s gind.ist protecteddef.idx % pdflatex protecteddef.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/protecteddef.sty % TDS:doc/latex/oberdiek/protecteddef.pdf @@ -80,7 +81,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: protecteddef 2011/01/31 v1.0 Definition of protected macros (HO)} +\Msg{* Package: protecteddef 2011/01/31 v1.0 Define protected commands (HO)} \Msg{************************************************************************} \keepsilent @@ -130,6 +131,10 @@ and the derived files \usedir{doc/latex/oberdiek/test}% \file{protecteddef-test1.tex}{\from{protecteddef.dtx}{test1}}% \file{protecteddef-test2.tex}{\from{protecteddef.dtx}{test2}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{protecteddef.xml}{\from{protecteddef.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -156,16 +161,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{protecteddef.drv}% - [2011/01/31 v1.0 Definition of protected macros (HO)]% + [2011/01/31 v1.0 Define protected commands (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{protecteddef.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{810} +% \CheckSum{811} % % \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 @@ -349,7 +354,7 @@ and the derived files \fi \expandafter\x\csname ver@protecteddef.sty\endcsname \ProvidesPackage{protecteddef}% - [2011/01/31 v1.0 Definition of protected macros (HO)]% + [2011/01/31 v1.0 Define protected commands (HO)]% % \end{macrocode} % % \subsection{Catcodes} @@ -991,6 +996,42 @@ and the derived files %\end{verbatim} % \end{quote} % +% \section{Catalogue} +% +% The following XML file can be used as source for the +% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}. +% The elements \texttt{caption} and \texttt{description} are imported +% from the original XML file from the Catalogue. +% The name of the XML file in the Catalogue is \xfile{protecteddef.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='protecteddef'> + <name>protecteddef</name> + <caption>Define protected commands.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2011'/> + <license type='lppl1.3'/> + <version number='1.0'/> + <description> + The package defines a command <tt>\ProtectedDef</tt> that will + create LaTeX ‘robust’ command or an e-TeX + ‘protected’ command as appropriate + to its environment. + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/protecteddef.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/protecteddef.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{History} % \begin{Version}{2011/01/31 v1.0} % \item |