summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-09 13:55:25 +0000
committerKarl Berry <karl@freefriends.org>2007-10-09 13:55:25 +0000
commit91727e5b49a8ac386cd44dd6c8aaa46e8f532879 (patch)
tree462ab659720688278f7bf3191e46099718167b81 /Master/texmf-dist
parentf04ffa128afb0a0866f70b0c8eb81210421c6356 (diff)
rm elatex, now etoolbox
git-svn-id: svn://tug.org/texlive/trunk@5151 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/elatex/README51
-rw-r--r--Master/texmf-dist/doc/latex/elatex/elatex.pdfbin128315 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elatex/elatex.tex442
-rw-r--r--Master/texmf-dist/tex/latex/elatex/elatex.sty450
4 files changed, 0 insertions, 943 deletions
diff --git a/Master/texmf-dist/doc/latex/elatex/README b/Master/texmf-dist/doc/latex/elatex/README
deleted file mode 100644
index aef393e863c..00000000000
--- a/Master/texmf-dist/doc/latex/elatex/README
+++ /dev/null
@@ -1,51 +0,0 @@
-$Id: README,v 1.1 2007/05/28 15:16:54 lehman stable $
-
-ABOUT
-
-The elatex package is a toolbox of programming facilities geared
-primarily towards LaTeX class and package authors. It provides LaTeX
-frontends to some of the new primitives provided by e-TeX as well as
-some generic tools which are not strictly related to e-TeX but match
-the profile of this package. This package will not modify any part
-of the LaTeX kernel. Its name is not meant to imply that it patches
-LaTeX such that the kernel makes use of e-TeX facilities by default.
-As of this writing, the package is work in progress in the sense
-that it does not cover all e-TeX primitives. At present, it provides
-facilities for macro definitions, expansion control, hook
-management, and macro patching.
-
-LICENSE
-
-Copyright (c) 2007 Philipp Lehman. This package is author-
-maintained. Permission is granted to copy, distribute and/or modify
-this software under the terms of the LaTeX Project Public License
-(LPPL), version 1.3. This software is provided `as is', without
-warranty of any kind, either expressed or implied, including, but
-not limited to, the implied warranties of merchantability and
-fitness for a particular purpose.
-
-INSTALLATION
-
-Copy the file `elatex.sty' to
-
- <TEXMFLOCAL>/tex/latex/elatex/
-
-where <TEXMFLOCAL> denotes the root of the local TeX installation
-tree, for example
-
- /usr/local/share/texmf/
-or
- c:\localtexmf\
-
-Note that you may have to create those directories if this is the
-first package you're installing locally (as opposed to via a package
-manager). Don't forget to update the file hash tables after
-installing the files. Please see the following TeX FAQ answers for
-further details:
-
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wherefiles
-http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds
-
-The manual may be copied to the `doc' subdirectory of the local TeX
-installation tree or to any other place where you will find it later.
diff --git a/Master/texmf-dist/doc/latex/elatex/elatex.pdf b/Master/texmf-dist/doc/latex/elatex/elatex.pdf
deleted file mode 100644
index 60042d5a844..00000000000
--- a/Master/texmf-dist/doc/latex/elatex/elatex.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elatex/elatex.tex b/Master/texmf-dist/doc/latex/elatex/elatex.tex
deleted file mode 100644
index d6e83e53207..00000000000
--- a/Master/texmf-dist/doc/latex/elatex/elatex.tex
+++ /dev/null
@@ -1,442 +0,0 @@
-% $Id: elatex.tex,v 1.1 2007/05/28 15:16:54 lehman stable $
-% This is the source of elatex.pdf. This file is primarily included
-% in the distribution for legal reasons. It will not compile as is
-% because it depends on unpublished classes and packages.
-
-\documentclass{latexdoc}
-\usepackage[latin9]{inputenc}
-\usepackage[american]{babel}
-\usepackage[strict,style=american]{csquotes}
-\MakeAutoQuote{«}{»}
-\MakeAutoQuote*{<}{>}
-
-\rcsid{$Id: elatex.tex,v 1.1 2007/05/28 15:16:54 lehman stable $}
-
-\titlepage{%
- title={The \sty{elatex} package},
- subtitle={An \etex toolbox for class and package authors},
- url={http://www.ctan.org/tex-archive/macros/latex/contrib/elatex/},
- author={Philipp Lehman},
- email={plehman@gmx.net},
- revision={\rcsrevision},
- date={\rcstoday}}
-
-\hypersetup{%
- pdftitle={The elatex package},
- pdfsubject={An e-TeX toolbox for class and package authors},
- pdfauthor={Philipp Lehman},
- pdfkeywords={tex, etex, latex, class, package}}
-
-\makeatletter
-\renewcommand*{\=}{\nobreak\hskip\z@skip-\hskip\z@skip}
-\makeatother
-
-\begin{document}
-
-\printtitlepage
-\tableofcontents
-
-\section{Introduction}
-
-\subsection{About}
-
-The \sty{elatex} package is a toolbox of programming facilities geared primarily towards \latex class and package authors. It provides \latex frontends to some of the new primitives provided by \etex as well as some generic tools which are not strictly related to \etex but match the profile of this package. This package will not modify any part of the \latex kernel. Its name is not meant to imply that it patches \latex such that the kernel makes use of \etex facilities by default. The package is work in progress. At present, it provides facilities for macro definitions, expansion control, hook management, and macro patching.
-
-\subsection{License}
-
-Copyright \textcopyright\ 2007 Philipp Lehman. This package is author\=maintained. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version 1.3.\fnurl{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt} This software is provided <as is>, without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose.
-
-\subsection[Contributions]{Contributions and feedback}
-
-I started to work on this package when I found myself implementing the same tools and shorthands I had employed in previous \latex packages for yet another package. For the most part, the facilities provided by \sty{elatex} address my needs as a package author and future development is likely to be guided by these needs as well. Please note that I will not be able to address any feature requests. However, I am open to contributions by other class and package authors, provided that the contributed code is sufficiently generic, matches the profile of this package, and may be added to the package without requiring significant adaption.
-
-\subsection{Acknowledgments}
-
-The \ltxcmd{ifblank} test of this package is based on code by Donald Arseneau.
-
-\section{User commands}
-\label{use}
-
-The facilities in this section are geared towards regular users as well as class and package authors.
-
-\subsection{Definitions}
-\label{use:def}
-
-\begin{syntax}
-
-\cmd{newrobustcmd}{command}[arguments][optarg default]{definition}
-
-The syntax and behavior of this command is similar to \ltxcmd{newcommand} except that the newly defined \ltxarg{command} is robust. This command differs from the \ltxcmd{DeclareRobustCommand} command from the \latex kernel in that it issues an error rather than just an informational message if the \ltxarg{command} is already defined. Since it uses \etex's low-level protection mechanism rather than the corresponding high-level \latex facilities, it does not require an additional macro to implement the <robustness>. This command itself is also robust.
-
-\cmd{renewrobustcmd}{command}[arguments][optarg default]{definition}
-
-The syntax and behavior of this command is similar to \ltxcmd{renewcommand} except that the redefined \ltxarg{command} is robust. This command itself is also robust.
-
-\cmd{providerobustcmd}{command}[arguments][optarg default]{definition}
-
-The syntax and behavior of this command is similar to \ltxcmd{providecommand} except that the newly defined \ltxarg{command} is robust. Note that this command only provides a robust definition if the \ltxarg{command} is undefined. It will not make an already defined \ltxarg{command} robust. This command itself is robust.
-
-\subsection{Patching}
-\label{use:pat}
-
-\cmd{robustify}{command}
-
-Redefines a \ltxarg{command} such that it is robust without altering its syntax or definition. If the \ltxarg{command} has been defined with \ltxcmd{DeclareRobustCommand}, this will be detected automatically. \latex's high-level protection mechanism is replaced by the corresponding low-level \etex facility in this case. This command is robust and may only be used in the document preamble.
-
-\end{syntax}
-
-\section{Author commands}
-
-The facilities in this section are geared towards class and package authors.
-
-\subsection{Definitions}
-\label{aut:def}
-
-The facilities in this section are simple but frequently required shorthands which extend the scope of the \ltxcmd{@namedef} and \ltxcmd{@nameuse} macros from the \latex kernel.
-
-\begin{syntax}
-
-\cmd{csdef}{csname}<arguments>{definition}
-
-Similar to the \tex primitive \ltxcmd{def} except that it takes a control sequence name as its first argument. This command is robust and corresponds to \ltxcmd{@namedef}.
-
-\cmd{csgdef}{csname}<arguments>{definition}
-
-Similar to the \tex primitive \ltxcmd{gdef} except that it takes a control sequence name as its first argument. This command is robust.
-
-\cmd{csedef}{csname}<arguments>{definition}
-
-Similar to the \tex primitive \ltxcmd{edef} except that it takes a control sequence name as its first argument. This command is robust.
-
-\cmd{csxdef}{csname}<arguments>{definition}
-
-Similar to the \tex primitive \ltxcmd{xdef} except that it takes a control sequence name as its first argument. This command is robust.
-
-\cmd{protected@csedef}{csname}<arguments>{definition}
-
-Similar to \ltxcmd{csedef} except that \latex's protection mechanism is temporarily enabled. To put it in other words: this command is similar to the \latex kernel command \ltxcmd{protected@edef} except that it takes a control sequence name as its first argument. This command is robust.
-
-\cmd{protected@csxdef}{csname}<arguments>{definition}
-
-Similar to \ltxcmd{csxdef} except that \latex's protection mechanism is temporarily enabled. To put it in other words: this command is similar to the \latex kernel command \ltxcmd{protected@xdef} except that it takes a control sequence name as its first argument. This command is robust.
-
-\cmd{cslet}{csname}{command}
-
-Similar to the \tex primitive \ltxcmd{let} except that the first argument is a control sequence name. This command is robust.
-
-\cmd{letcs}{command}{csname}
-
-Similar to the \tex primitive \ltxcmd{let} except that the second argument is a control sequence name. This command is robust.
-
-\cmd{csletcs}{csname}{csname}
-
-Similar to the \tex primitive \ltxcmd{let} except that both arguments are control sequence names. This command is robust.
-
-\cmd{csuse}{csname}
-
-Takes a control sequence name as its argument and forms a control sequence token. This command differs from the \ltxcmd{@nameuse} macro from the \latex kernel in that it expands to an empty string if the control sequence is undefined.
-
-\end{syntax}
-
-\subsection[Arithmetic]{Arithmetic definitions}
-\label{aut:cal}
-
-The facilities in this section permit calculations using macros rather than length registers and counters.
-
-\begin{syntax}
-
-\cmd{numdef}{command}{integer expression}
-
-This command is similar to \ltxcmd{edef} except that the \ltxarg{integer expression} is processed with \ltxcmd{numexpr}. The \ltxarg{integer expression} may be any arbitrary code which is valid in this context. The definition assigned to \ltxarg{command} will be the result of that calculation. If the \ltxarg{command} is undefined, it will be initialized to <\texttt{0}> before the \ltxarg{integer expression} is processed.
-
-\cmd{numgdef}{command}{integer expression}
-
-Similar to \ltxcmd{numdef} except that the assignment is global.
-
-\cmd{csnumdef}{csname}{integer expression}
-
-Similar to \ltxcmd{numdef} except that it takes a control sequence name as its first argument.
-
-\cmd{csnumgdef}{csname}{integer expression}
-
-Similar to \ltxcmd{numgdef} except that it takes a control sequence name as its first argument.
-
-\cmd{dimdef}{command}{dimen expression}
-
-This command is similar to \ltxcmd{edef} except that the \ltxarg{dimen expression} is processed with \ltxcmd{dimexpr}. The \ltxarg{dimen expression} may be any arbitrary code which is valid in this context. The definition assigned to \ltxarg{command} will be the result of that calculation. If the \ltxarg{command} is undefined, it will be initialized to <\texttt{0pt}> before the \ltxarg{dimen expression} is processed.
-
-\cmd{dimgdef}{command}{dimen expression}
-
-Similar to \ltxcmd{dimdef} except that the assignment is global.
-
-\cmd{csdimdef}{csname}{dimen expression}
-
-Similar to \ltxcmd{dimdef} except that it takes a control sequence name as its first argument.
-
-\cmd{csdimgdef}{csname}{dimen expression}
-
-Similar to \ltxcmd{dimgdef} except that it takes a control sequence name as its first argument.
-
-\cmd{gluedef}{command}{glue expression}
-
-This command is similar to \ltxcmd{edef} except that the \ltxarg{glue expression} is processed with \ltxcmd{glueexpr}. The \ltxarg{glue expression} may be any arbitrary code which is valid in this context. The definition assigned to \ltxarg{command} will be the result of that calculation. If the \ltxarg{command} is undefined, it will be initialized to <\texttt{0pt plus 0pt minus 0pt}> before the \ltxarg{glue expression} is processed.
-
-\cmd{gluegdef}{command}{glue expression}
-
-Similar to \ltxcmd{gluedef} except that the assignment is global.
-
-\cmd{csgluedef}{csname}{glue expression}
-
-Similar to \ltxcmd{gluedef} except that it takes a control sequence name as its first argument.
-
-\cmd{csgluegdef}{csname}{glue expression}
-
-Similar to \ltxcmd{gluegdef} except that it takes a control sequence name as its first argument.
-
-\cmd{mudef}{command}{muglue expression}
-
-This command is similar to \ltxcmd{edef} except that the \ltxarg{muglue expression} is processed with \ltxcmd{muexpr}. The \ltxarg{muglue expression} may be any arbitrary code which is valid in this context. The definition assigned to \ltxarg{command} will be the result of that calculation. If the \ltxarg{command} is undefined, it will be initialized to <\texttt{0mu}> before the \ltxarg{muglue expression} is processed.
-
-\cmd{mugdef}{command}{muglue expression}
-
-Similar to \ltxcmd{mudef} except that the assignment is global.
-
-\cmd{csmudef}{csname}{muglue expression}
-
-Similar to \ltxcmd{mudef} except that it takes a control sequence name as its first argument.
-
-\cmd{csmugdef}{csname}{muglue expression}
-
-Similar to \ltxcmd{mugdef} except that it takes a control sequence name as its first argument.
-
-\end{syntax}
-
-\subsection[Expansion]{Expansion control}
-
-The facilities in this section are useful to control expansion in an \ltxcmd{edef} or a similar context.
-
-\begin{syntax}
-
-\cmd{expandonce}{command}
-
-This command expands \ltxarg{command} once and prevents further expansion of the replacement text.
-
-\cmd{csexpandonce}{csname}
-
-Similar to \ltxcmd{expandonce} except that it takes a control sequence name as its argument.
-
-\cmd{protecting}{code}
-
-This command applies \latex's protection mechanism, which normally requires prefixing each fragile command with \ltxcmd{protect}, to an entire chunk of arbitrary \ltxarg{code} or text. Its behavior depends on the current state of \ltxcmd{protect}. Note that the braces around \ltxarg{code} are mandatory even if it is a single token.
-
-\end{syntax}
-
-\subsection[Hooks]{Hook management}
-\label{aut:hok}
-
-The facilities in this section are intended for hook management. A <hook> in this context is a plain macro without any arguments and prefixes which is used to collect code to be executed later. These facilities may also be useful to patch simple macros by appending code to them. For more complex patching operations, see section \ref{aut:pat}. All commands in this section will initialize the hook if it is undefined.
-
-\subsubsection{Appending code to a hook}
-\label{aut:hok:app}
-
-The facilities in this section append arbitrary code to a hook.
-
-\begin{syntax}
-
-\cmd{appto}{command}{code}
-
-This command appends arbitrary \ltxarg{code} to a \ltxarg{command}. If the \ltxarg{code} contains any parameter characters, they need not be doubled. This command is robust.
-
-\cmd{gappto}{command}{code}
-
-Similar to \ltxcmd{appto} except that the assignment is global. This command may be used as a drop-in replacement for the \ltxcmd{g@addto@macro} command in the \latex kernel.
-
-\cmd{eappto}{command}{code}
-
-This command appends arbitrary \ltxarg{code} to a \ltxarg{command}. The \ltxarg{code} is expanded at definition\=time. Only the new \ltxarg{code} is expanded, the current definition of \ltxarg{command} is not. This command is robust.
-
-\cmd{xappto}{command}{code}
-
-Similar to \ltxcmd{eappto} except that the assignment is global.
-
-\cmd{protected@eappto}{command}{code}
-
-Similar to \ltxcmd{eappto} except that \latex's protection mechanism is temporarily enabled.
-
-\cmd{protected@xappto}{command}{code}
-
-Similar to \ltxcmd{xappto} except that \latex's protection mechanism is temporarily enabled.
-
-\cmd{csappto}{csname}{code}
-
-Similar to \ltxcmd{appto} except that it takes a control sequence name as its first argument.
-
-\cmd{csgappto}{csname}{code}
-
-Similar to \ltxcmd{gappto} except that it takes a control sequence name as its first argument.
-
-\cmd{cseappto}{csname}{code}
-
-Similar to \ltxcmd{eappto} except that it takes a control sequence name as its first argument.
-
-\cmd{csxappto}{csname}{code}
-
-Similar to \ltxcmd{xappto} except that it takes a control sequence name as its first argument.
-
-\cmd{protected@cseappto}{command}{code}
-
-Similar to \ltxcmd{protected@eappto} except that it takes a control sequence name as its first argument.
-
-\cmd{protected@csxappto}{command}{code}
-
-Similar to \ltxcmd{protected@xappto} except that it takes a control sequence name as its first argument.
-
-\end{syntax}
-
-\subsubsection{Prepending code to a hook}
-\label{aut:hok:pre}
-
-The facilities in this section <prepend> arbitrary code to a hook, \ie the code is inserted at the beginning of the hook rather than being added at the end.
-
-\begin{syntax}
-
-\cmd{preto}{command}{code}
-
-Similar to \ltxcmd{appto} except that the \ltxarg{code} is <prepended>, \ie inserted at the beginning of the hook rather than being added at the end.
-
-\cmd{gpreto}{command}{code}
-
-Similar to \ltxcmd{preto} except that the assignment is global.
-
-\cmd{epreto}{command}{code}
-
-Similar to \ltxcmd{eappto} except that the \ltxarg{code} is <prepended>, \ie inserted at the beginning of the hook rather than being added at the end.
-
-\cmd{xpreto}{command}{code}
-
-Similar to \ltxcmd{epreto} except that the assignment is global.
-
-\cmd{protected@epreto}{command}{code}
-
-Similar to \ltxcmd{epreto} except that \latex's protection mechanism is temporarily enabled.
-
-\cmd{protected@xpreto}{command}{code}
-
-Similar to \ltxcmd{xpreto} except that \latex's protection mechanism is temporarily enabled.
-
-\cmd{cspreto}{csname}{code}
-
-Similar to \ltxcmd{preto} except that it takes a control sequence name as its first argument.
-
-\cmd{csgpreto}{csname}{code}
-
-Similar to \ltxcmd{gpreto} except that it takes a control sequence name as its first argument.
-
-\cmd{csepreto}{csname}{code}
-
-Similar to \ltxcmd{epreto} except that it takes a control sequence name as its first argument.
-
-\cmd{csxpreto}{csname}{code}
-
-Similar to \ltxcmd{xpreto} except that it takes a control sequence name as its first argument.
-
-\cmd{protected@csepreto}{command}{code}
-
-Similar to \ltxcmd{protected@epreto} except that it takes a control sequence name as its first argument.
-
-\cmd{protected@csxpreto}{command}{code}
-
-Similar to \ltxcmd{protected@xpreto} except that it takes a control sequence name as its first argument.
-
-\end{syntax}
-
-\subsection{Patching}
-\label{aut:pat}
-
-The facilities in this section are useful to hook into or modify existing code. All commands presented here preserve the number of arguments and the prefixes of the patched \ltxarg{command}. Note that the patching process involves detokenizing the \ltxarg{command} and retokenizing it under the current category code regime after patching. The category code of <@> is temporarily set to 11. If the definition of the \ltxarg{command} includes any tokens with non\=standard category codes, the respective category codes must be adjusted prior to patching. If the code to be replaced or inserted refers to the parameters of the \ltxarg{command} to be patched, the parameter characters need not be doubled when invoking one of the commands below. Note that \ltxcmd{outer} commands may not be patched.
-
-\begin{syntax}
-
-\cmd{patchcommand}[prefix]{command}{search}{replace}{success}{failure}
-
-This command extracts the definition of a \ltxarg{command}, replaces \ltxarg{search} with \ltxarg{replace}, and reassembles the \ltxarg{command}. The pattern match is category code agnostic and matches the first occurence of the \ltxarg{search} string in the definition of the \ltxarg{command} to be patched. If an optional \ltxarg{prefix} is specified, it replaces the prefixes of the \ltxarg{command}. An empty \ltxarg{prefix} strips all prefixes from the \ltxarg{command}. This command executes \ltxarg{success} if patching succeeds, and \ltxarg{failure} otherwise. It is robust and may only be used in the document preamble. The assignment is local.
-
-\cmd{ifpatchable}{command}{search}{true}{false}
-
-This command executes \ltxarg{true} if the \ltxarg{command} is defined and the \ltxarg{search} pattern is found in its definition, and \ltxarg{false} otherwise. This command is robust and may only be used in the document preamble.
-
-\cmd{apptocommand}{command}{code}
-
-This command appends \ltxarg{code} to the definition of \ltxarg{command}. In contrast to the \ltxcmd{appto} command from section \ref{aut:hok:app}, this one may be used to patch a \ltxarg{command} which takes an arbitrary number of arguments. The \ltxarg{code} may refer to the parameters of the \ltxarg{command} in this case. This command is robust and may only be used in the document preamble. The assignment is local.
-
-\cmd{pretocommand}{command}{code}
-
-This command is similar to \ltxcmd{apptocommand} except that the \ltxarg{code} is <prepended>, \ie inserted at the beginning of the definition of \ltxarg{command}. In contrast to the \ltxcmd{preto} command from section \ref{aut:hok:app}, this one may be used to patch a \ltxarg{command} which takes an arbitrary number of arguments. The \ltxarg{code} may refer to the parameters of the \ltxarg{command} in this case. This command is robust and may only be used in the document preamble. The assignment is local.
-
-\end{syntax}
-
-\subsection{Tests}
-
-\begin{syntax}
-
-\cmd{ifdef}{command}{true}{false}
-
-A \latex wrapper for the \etex primitive \ltxcmd{ifdefined}. This command expands to \ltxarg{true} if the \ltxarg{command} is defined, and to \ltxarg{false} otherwise. Note that the \ltxarg{command} is considered as defined even if its meaning is \ltxcmd{relax}.
-
-\cmd{ifundef}{command}{true}{false}
-
-Expands to \ltxarg{true} if the \ltxarg{command} is undefined, and to \ltxarg{false} otherwise. Apart from reversing the logic of the test, this command also differs from \ltxcmd{ifdef} in that the \ltxarg{command} is considered as undefined if its meaning is \ltxcmd{relax}.
-
-\cmd{ifcsdef}{csname}{true}{false}
-
-A \latex wrapper for the \etex primitive \ltxcmd{ifcsname}. This command expands to \ltxarg{true} if \ltxarg{csname} is defined, and to \ltxarg{false} otherwise. Note that \ltxarg{csname} is considered as defined even if its meaning is \ltxcmd{relax}.
-
-\cmd{ifcsundef}{csname}{true}{false}
-
-Expands to \ltxarg{true} if \ltxarg{csname} is undefined, and to \ltxarg{false} otherwise. Apart from reversing the logic of the test, this command also differs from \ltxcmd{ifcsdef} in that the \ltxarg{csname} is considered as undefined if its meaning is \ltxcmd{relax}. This command may be used as a drop-in replacement for the \ltxcmd{@ifundefined} test in the \latex kernel.
-
-\cmd{ifblank}{string}{true}{false}
-
-Expands to \ltxarg{true} if the \ltxarg{string} is blank (empty or spaces), and to \ltxarg{false} otherwise. The \ltxarg{string} is not expanded in the test.
-
-\end{syntax}
-
-\section{Revision history}
-
-\begin{changelog}
-
-\begin{release}{1.1}{2007-05-28}
-
-\item Added \ltxcmd{protected@csedef}\see{aut:def}
-\item Added \ltxcmd{protected@csxdef}\see{aut:def}
-\item Added \ltxcmd{gluedef}\see{aut:cal}
-\item Added \ltxcmd{gluegdef}\see{aut:cal}
-\item Added \ltxcmd{csgluedef}\see{aut:cal}
-\item Added \ltxcmd{csgluegdef}\see{aut:cal}
-\item Added \ltxcmd{mudef}\see{aut:cal}
-\item Added \ltxcmd{mugdef}\see{aut:cal}
-\item Added \ltxcmd{csmudef}\see{aut:cal}
-\item Added \ltxcmd{csmugdef}\see{aut:cal}
-\item Added \ltxcmd{protected@eappto}\see{aut:hok:app}
-\item Added \ltxcmd{protected@xappto}\see{aut:hok:app}
-\item Added \ltxcmd{protected@cseappto}\see{aut:hok:app}
-\item Added \ltxcmd{protected@csxappto}\see{aut:hok:app}
-\item Added \ltxcmd{protected@epreto}\see{aut:hok:pre}
-\item Added \ltxcmd{protected@xpreto}\see{aut:hok:pre}
-\item Added \ltxcmd{protected@csepreto}\see{aut:hok:pre}
-\item Added \ltxcmd{protected@csxpreto}\see{aut:hok:pre}
-\item Fixed bug in \ltxcmd{newrobustcmd}\see{use:def}
-\item Fixed bug in \ltxcmd{renewrobustcmd}\see{use:def}
-\item Fixed bug in \ltxcmd{providerobustcmd}\see{use:def}
-
-\end{release}
-
-\begin{release}{1.0}{2007-05-07}
-
-\item Initial public release
-
-\end{release}
-
-\end{changelog}
-
-\end{document}
diff --git a/Master/texmf-dist/tex/latex/elatex/elatex.sty b/Master/texmf-dist/tex/latex/elatex/elatex.sty
deleted file mode 100644
index b644f07911f..00000000000
--- a/Master/texmf-dist/tex/latex/elatex/elatex.sty
+++ /dev/null
@@ -1,450 +0,0 @@
-% $Id: elatex.sty,v 1.1 2007/05/28 15:16:54 lehman stable $
-
-% Copyright (c) 2007 Philipp Lehman, author-maintained.
-%
-% Permission is granted to copy, distribute and/or modify this
-% software under the terms of the LaTeX Project Public License
-% (LPPL), version 1.3.
-%
-% This software is provided `as is', without warranty of any kind,
-% either expressed or implied, including, but not limited to, the
-% implied warranties of merchantability and fitness for a particular
-% purpose.
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{elatex}[2007/05/28 v1.1 e-TeX tools for LaTeX]
-
-\begingroup
-\@ifundefined{eTeXversion}
- {\PackageError{elatex}
- {Not running under e-TeX}
- {This package requires e-TeX. Try compiling the document
- with\MessageBreak `elatex' instead of `latex'. When using
- pdfTeX, try `pdfelatex'\MessageBreak instead of `pdflatex'}%
- \aftergroup\endinput}
- {}
-\endgroup
-
-\RequirePackage{etex}
-
-\edef\elx@catcodes{\catcode\number`\&=\the\catcode`\&\relax}
-\catcode`\&=3
-
-\AtEndOfPackage{%
- \elx@catcodes
- \let\elx@catcodes\@undefined}
-
-% {<cstoken>}[<arguments>][<optarg default>]{<definition>}
-
-\newcommand*{\newrobustcmd}{}
-\protected\def\newrobustcmd{%
- \@ifstar
- {\let\l@ngrel@x\protected\elx@new@command}
- {\def\l@ngrel@x{\protected\long}\elx@new@command}}
-
-\def\elx@new@command#1{\@testopt{\elx@newcommand#1}0}
-\def\elx@newcommand#1[#2]{%
- \@ifnextchar[%]
- {\elx@xargdef#1[#2]}
- {\@argdef#1[#2]}}
-\long\def\elx@xargdef#1[#2][#3]#4{%
- \@ifdefinable#1{%
- \expandafter\protected
- \expandafter\def
- \expandafter#1%
- \expandafter{%
- \expandafter\@testopt
- \csname\string#1\endcsname{#3}}%
- \expandafter\@yargdef
- \csname\string#1\endcsname\tw@{#2}{#4}}}
-
-% {<cstoken>}[<arguments>][<optarg default>]{<definition>}
-
-\newrobustcmd*{\renewrobustcmd}{%
- \@ifstar
- {\let\l@ngrel@x\protected\elx@renew@command}
- {\def\l@ngrel@x{\protected\long}\elx@renew@command}}
-
-\def\elx@renew@command#1{%
- \begingroup
- \escapechar\m@ne
- \xdef\@gtempa{{\string#1}}%
- \endgroup
- \expandafter\@ifundefined\@gtempa
- {\@latex@error{\noexpand#1undefined}\@ehc}
- {}%
- \let\@ifdefinable\@rc@ifdefinable
- \elx@new@command#1}
-
-% {<cstoken>}[<arguments>][<optarg default>]{<definition>}
-
-\newrobustcmd*{\providerobustcmd}{%
- \@ifstar
- {\let\l@ngrel@x\protected\elx@provide@command}
- {\def\l@ngrel@x{\protected\long}\elx@provide@command}}
-
-\def\elx@provide@command#1{%
- \begingroup
- \escapechar\m@ne
- \xdef\@gtempa{{\string#1}}%
- \endgroup
- \expandafter\@ifundefined\@gtempa
- {\def\reserved@a{\elx@new@command#1}}
- {\def\reserved@a{\elx@renew@command\reserved@a}}%
- \reserved@a}%
-
-% {<cstoken>}
-
-\@onlypreamble\robustify
-\newrobustcmd*{\robustify}[1]{%
- \ifundef#1%
- {\@latex@error{\string#1 undefined}\@ehc}
- {\begingroup
- \edef\elx@resrvda{\meaning#1}%
- \edef\elx@resrvdb{%
- \noexpand\protect\expandafter\noexpand
- \csname\expandafter\@gobble\string#1 \endcsname}%
- \edef\elx@resrvdb{\meaning\elx@resrvdb}%
- \ifx\elx@resrvda\elx@resrvdb
- \letcs#1{\expandafter\@gobble\string#1 }%
- \cslet{\expandafter\@gobble\string#1 }\@undefined
- \fi
- \edef\elx@resrvda{%
- \def\noexpand\elx@resrvda####1\detokenize{macro:}####2->####3&{%
- \protected####1\def\detokenize{#1}####2{####3}}%
- \edef\noexpand\elx@resrvda{%
- \noexpand\elx@resrvda\meaning#1&}}%
- \elx@resrvda
- \elx@scantoks\endgroup\elx@resrvda}}
-
-% {<cstoken>}{<true>}{<false>}
-
-\newcommand*{\ifdef}[1]{%
- \ifdefined#1%
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi}
-
-% {<cstoken>}{<true>}{<false>}
-
-\newcommand*{\ifundef}[1]{%
- \ifdefined#1%
- \ifx#1\relax
- \expandafter\expandafter
- \expandafter\@firstoftwo
- \else
- \expandafter\expandafter
- \expandafter\@secondoftwo
- \fi
- \else
- \expandafter\@firstoftwo
- \fi}
-
-% {<csname>}{<true>}{<false>}
-
-\newcommand*{\ifcsdef}[1]{%
- \ifcsname#1\endcsname
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi}
-
-% {<csname>}{<true>}{<false>}
-
-\newcommand*{\ifcsundef}[1]{%
- \ifcsname#1\endcsname
- \expandafter\ifx\csname#1\endcsname\relax
- \expandafter\expandafter
- \expandafter\@firstoftwo
- \else
- \expandafter\expandafter
- \expandafter\@secondoftwo
- \fi
- \else
- \expandafter\@firstoftwo
- \fi}
-
-% {<string>}{<true>}{<false>}
-
-\newcommand{\ifblank}[1]{% from url.sty
- \elx@ifblank@i#1&&\@secondoftwo\@firstoftwo:}
-\long\def\elx@ifblank@i#1#2&#3#4#5:{#4}
-
-% {<cstoken>}{<search>}{<true}{<false>}
-
-\@onlypreamble\ifpatchable
-\newrobustcmd{\ifpatchable}{%
- \begingroup
- \@makeother\#%
- \elx@ifpatchable}
-
-\def\elx@ifpatchable#1#2{%
- \endgroup
- \ifundef{#1}
- {\@firstoftwo}
- {\begingroup
- \edef\elx@resrvda{%
- \def\noexpand\elx@resrvda####1->####2&{%
- \noexpand\elx@resrvdb####2\detokenize{#2}&}%
- \def\noexpand\elx@resrvdb####1\detokenize{#2}####2&{%
- \endgroup\noexpand\noexpand\noexpand\ifblank{####2}}%
- \edef\noexpand\elx@resrvda{%
- \noexpand\elx@resrvda\meaning#1&}%
- \noexpand\elx@resrvda}%
- \elx@resrvda}
- {\@secondoftwo}
- {\@firstoftwo}}
-
-% [<prefix>]{<cstoken>}{<search>}{<replace>}{<success>}{<failure>}
-
-\@onlypreamble\patchcommand
-\newrobustcmd*{\patchcommand}{%
- \begingroup
- \@makeother\#%
- \elx@patchcmd}
-
-\newcommand{\elx@patchcmd}[4][########1]{%
- \elx@ifpatchable{#2}{#3}
- {\begingroup
- \edef\elx@resrvda{%
- \def\noexpand\elx@resrvda####1\detokenize{macro:}####2->####3&{%
- #1\def\detokenize{#2}####2{\noexpand\elx@resrvdb####3&}}%
- \def\noexpand\elx@resrvdb####1\detokenize{#3}####2&{%
- ####1\detokenize{#4}####2}%
- \edef\noexpand\elx@resrvda{%
- \noexpand\elx@resrvda\meaning#2&}}%
- \elx@resrvda
- \elx@scantoks\endgroup\elx@resrvda
- \@firstoftwo}
- {\@secondoftwo}}
-
-\def\elx@scantoks#1#2{%
- \begingroup
- \edef\elx@resrvda{\endgroup
- \unexpanded{#1\makeatletter\scantokens}{#2}%
- \catcode\number`\@=\the\catcode`\@\relax}%
- \elx@resrvda}
-
-% {<cstoken>}{<code>}
-
-\@onlypreamble\apptocommand
-\newrobustcmd*{\apptocommand}{%
- \begingroup
- \@makeother\#%
- \elx@hooktocmd\elx@apptocmd}
-
-\@onlypreamble\pretocommand
-\newrobustcmd*{\pretocommand}{%
- \begingroup
- \@makeother\#%
- \elx@hooktocmd\elx@pretocmd}
-
-\long\def\elx@hooktocmd#1#2#3{%
- \endgroup
- \ifundef{#2}
- {\def#2{#3}}
- {\begingroup
- \edef\elx@resrvda{%
- \def\noexpand\elx@resrvda####1\detokenize{macro:}####2->####3&{%
- ####1\def\detokenize{#2}####2{#1{####3}{\detokenize{#3}}}}%
- \edef\noexpand\elx@resrvda{%
- \noexpand\elx@resrvda\meaning#2&}}%
- \elx@resrvda
- \elx@scantoks\endgroup\elx@resrvda}}
-
-\long\def\elx@apptocmd#1#2{#1#2}
-\long\def\elx@pretocmd#1#2{#2#1}
-
-% {<cstoken>}
-
-\newcommand*{\expandonce}[1]{%
- \unexpanded\expandafter{#1}}
-
-% {<csname>}
-
-\newcommand*{\csexpandonce}[1]{%
- \expandafter\expandonce\csname #1\endcsname}
-
-% {<code>}
-
-\newcommand*{\protecting}{}
-\def\protecting#{%
- \ifx\protect\@typeset@protect
- \elx@protecting\@firstofone
- \fi
- \ifx\protect\@unexpandable@protect
- \elx@protecting\elx@unexpandable
- \fi
- \ifx\protect\noexpand
- \elx@protecting\unexpanded
- \fi
- \ifx\protect\string
- \elx@protecting\detokenize
- \fi
- \relax\@firstofone}
-
-\def\elx@protecting#1#2\relax\@firstofone{\fi#1}
-\long\def\elx@unexpandable#1{\unexpanded{\protecting{#1}}}
-
-% {<csname>}
-
-\newrobustcmd*{\csdef}[1]{\expandafter\def\csname#1\endcsname}
-\newrobustcmd*{\csedef}[1]{\expandafter\edef\csname#1\endcsname}
-\newrobustcmd*{\csgdef}[1]{\expandafter\gdef\csname#1\endcsname}
-\newrobustcmd*{\csxdef}[1]{\expandafter\xdef\csname#1\endcsname}
-\newrobustcmd*{\protected@csedef}{\elx@protected\csedef}
-\newrobustcmd*{\protected@csxdef}{\elx@protected\csxdef}
-
-\def\elx@protected{%
- \let\@@protect\protect
- \let\protect\@unexpandable@protect
- \afterassignment\restore@protect}
-
-% {<csname>}{<cstoken>}
-
-\newrobustcmd*{\cslet}[2]{\expandafter\let\csname#1\endcsname#2}
-
-% {<cstoken>}{<csname>}
-
-\newrobustcmd*{\letcs}[2]{%
- \expandafter\let\expandafter#1\csname#2\endcsname}
-
-% {<csname>}{<csname>}
-
-\newrobustcmd*{\csletcs}[1]{\expandafter\letcs\csname#1\endcsname}
-
-% {<csname>}
-
-\newcommand*{\csuse}[1]{%
- \ifcsname#1\endcsname
- \csname#1\expandafter\endcsname
- \fi}
-
-% {<cstoken>}{<code>}
-
-\newrobustcmd{\appto}[2]{%
- \ifundef#1%
- {\edef#1{\unexpanded{#2}}}
- {\edef#1{\expandonce#1\unexpanded{#2}}}}
-\newrobustcmd{\eappto}[2]{%
- \ifundef#1%
- {\edef#1{#2}}
- {\edef#1{\expandonce#1#2}}}
-\newrobustcmd{\gappto}[2]{%
- \ifundef#1%
- {\xdef#1{\unexpanded{#2}}}
- {\xdef#1{\expandonce#1\unexpanded{#2}}}}
-\newrobustcmd{\xappto}[2]{%
- \ifundef#1%
- {\xdef#1{#2}}
- {\xdef#1{\expandonce#1#2}}}
-
-\newrobustcmd*{\protected@eappto}{\elx@protected\eappto}
-\newrobustcmd*{\protected@xappto}{\elx@protected\xappto}
-
-% {<cstoken>}{<code>}
-
-\newrobustcmd{\preto}[2]{%
- \ifundef#1%
- {\edef#1{\unexpanded{#2}}}
- {\edef#1{\unexpanded{#2}\expandonce#1}}}
-\newrobustcmd{\epreto}[2]{%
- \ifundef#1%
- {\edef#1{#2}}
- {\edef#1{#2\expandonce#1}}}
-\newrobustcmd{\gpreto}[2]{%
- \ifundef#1%
- {\xdef#1{\unexpanded{#2}}}
- {\xdef#1{\unexpanded{#2}\expandonce#1}}}
-\newrobustcmd{\xpreto}[2]{%
- \ifundef#1%
- {\xdef#1{#2}}
- {\xdef#1{#2\expandonce#1}}}
-
-\newrobustcmd*{\protected@epreto}{\elx@protected\epreto}
-\newrobustcmd*{\protected@xpreto}{\elx@protected\xpreto}
-
-% {<csname>}{<code>}
-
-\newrobustcmd*{\csappto}[1]{\expandafter\appto\csname#1\endcsname}
-\newrobustcmd*{\cseappto}[1]{\expandafter\eappto\csname#1\endcsname}
-\newrobustcmd*{\csgappto}[1]{\expandafter\gappto\csname#1\endcsname}
-\newrobustcmd*{\csxappto}[1]{\expandafter\xappto\csname#1\endcsname}
-\newrobustcmd*{\protected@cseappto}{\elx@protected\cseappto}
-\newrobustcmd*{\protected@csxappto}{\elx@protected\csxappto}
-
-% {<csname>}{<code>}
-
-\newrobustcmd*{\cspreto}[1]{\expandafter\preto\csname#1\endcsname}
-\newrobustcmd*{\csepreto}[1]{\expandafter\epreto\csname#1\endcsname}
-\newrobustcmd*{\csgpreto}[1]{\expandafter\gpreto\csname#1\endcsname}
-\newrobustcmd*{\csxpreto}[1]{\expandafter\xpreto\csname#1\endcsname}
-\newrobustcmd*{\protected@csepreto}{\elx@protected\csepreto}
-\newrobustcmd*{\protected@csxpreto}{\elx@protected\csxpreto}
-
-% {<cstoken>}{<numexpr>}
-
-\newrobustcmd*{\numdef}[2]{%
- \ifundef#1{\let#1\z@}{}%
- \edef#1{\the\numexpr#2}}
-\newrobustcmd*{\numgdef}[2]{%
- \ifundef#1{\let#1\z@}{}%
- \xdef#1{\the\numexpr#2}}
-
-% {<csname>}{<numexpr>}
-
-\newrobustcmd*{\csnumdef}[1]{%
- \expandafter\numdef\csname#1\endcsname}
-\newrobustcmd*{\csnumgdef}[1]{%
- \expandafter\numgdef\csname#1\endcsname}
-
-% {<cstoken>}{<dimexpr>}
-
-\newrobustcmd*{\dimdef}[2]{%
- \ifundef#1{\let#1\z@}{}%
- \edef#1{\the\dimexpr#2}}
-\newrobustcmd*{\dimgdef}[2]{%
- \ifundef#1{\let#1\z@}{}%
- \xdef#1{\the\dimexpr#2}}
-
-% {<csname>}{<dimexpr>}
-
-\newrobustcmd*{\csdimdef}[1]{%
- \expandafter\dimdef\csname#1\endcsname}
-\newrobustcmd*{\csdimgdef}[1]{%
- \expandafter\dimgdef\csname#1\endcsname}
-
-% {<cstoken>}{<glueexpr>}
-
-\newrobustcmd*{\gluedef}[2]{%
- \ifundef#1{\let#1\z@skip}{}%
- \edef#1{\the\glueexpr#2}}
-\newrobustcmd*{\gluegdef}[2]{%
- \ifundef#1{\let#1\z@skip}{}%
- \xdef#1{\the\glueexpr#2}}
-
-% {<csname>}{<glueexpr>}
-
-\newrobustcmd*{\csgluedef}[1]{%
- \expandafter\gluedef\csname#1\endcsname}
-\newrobustcmd*{\csgluegdef}[1]{%
- \expandafter\gluegdef\csname#1\endcsname}
-
-% {<cstoken>}{<muexpr>}
-
-\newrobustcmd*{\mudef}[2]{%
- \ifundef#1{\def#1{0mu}}{}%
- \edef#1{\the\muexpr#2}}
-\newrobustcmd*{\mugdef}[2]{%
- \ifundef#1{\let#1\z@}{}%
- \xdef#1{\the\muexpr#2}}
-
-% {<csname>}{<muexpr>}
-
-\newrobustcmd*{\csmudef}[1]{%
- \expandafter\mudef\csname#1\endcsname}
-\newrobustcmd*{\csmugdef}[1]{%
- \expandafter\mugdef\csname#1\endcsname}
-
-\endinput