summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-22 22:42:23 +0000
committerKarl Berry <karl@freefriends.org>2017-11-22 22:42:23 +0000
commit2e9394a9ebc9187ebf5e127a4c8c47e5b537b8e7 (patch)
tree5b1667a6b9442f5fc334471254170bea708d4b65 /Master
parent17ae294de8fb69063802da82d29433bc4c7f3b68 (diff)
etoolbox (22nov17)
git-svn-id: svn://tug.org/texlive/trunk@45884 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdfbin223504 -> 224043 bytes
-rw-r--r--Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex18
-rw-r--r--Master/texmf-dist/tex/latex/etoolbox/etoolbox.def2
-rw-r--r--Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty4
4 files changed, 20 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf b/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
index fe58f53ed17..1cf9b679bc9 100644
--- a/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
+++ b/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex b/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
index f1072a21cc8..f815a4d3aaa 100644
--- a/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
+++ b/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
@@ -12,8 +12,8 @@
url={http://www.ctan.org/pkg/etoolbox/},
author={Philipp Lehman, Joseph Wright},
email={joseph.wright@morningstar2.co.uk},
- revision={v2.4},
- date={2017/01/02}}
+ revision={v2.5},
+ date={2017/11/22}}
\hypersetup{%
pdftitle={The etoolbox Package},
@@ -239,10 +239,18 @@ Takes a control sequence name as its argument and forms a control sequence token
Clears a \prm{command} such that \etex's \cmd{ifdefined} and \cmd{ifcsname} tests will consider it as undefined. This command is robust and may be prefixed with \cs{global}.
+\cmditem{undef}<command>
+
+Similar to \cmd{undef} but acts globally.
+
\cmditem{csundef}{csname}
Similar to \cmd{undef} except that it takes a control sequence name as its argument. This command is robust and may be prefixed with \cs{global}.
+\cmditem{csgundef}{csname}
+
+Similar to \cmd{csundef} but acts globally.
+
\cmditem{csmeaning}{csname}
Similar to the \tex primitive \cmd{meaning} but takes a control sequence name as its argument. If the control sequence is undefined, this command will not implicitly assign a meaning of \cmd{relax} to it.
@@ -1289,6 +1297,12 @@ This revision history is a list of changes relevant to users of this package. Ch
\begin{changelog}
+\begin{release}{2.5}{2017-11-22}
+\item Added \cmd{csgundef}\see{aut:def:def}
+\item Added \cmd{gundef}\see{aut:def:def}
+\item Allow scanning of macros containing new line characters
+\end{release}
+
\begin{release}{2.4}{2017-01-02}
\item Renamed \cmd{listdel} to \cmd{listremove} (name clash)\see{aut:lst:int}
\item Renamed \cmd{listgdel} to \cmd{listgremove} (name clash)\see{aut:lst:int}
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
index b00ea3a615e..526a58264cf 100644
--- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
+++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
@@ -1,5 +1,5 @@
\ProvidesFile{etoolbox.def}
- [2017/01/02 v2.4 etoolbox debug messages (JAW)]
+ [2017/11/22 v2.5 etoolbox debug messages (JAW)]
\begingroup
\makeatletter
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
index 0b73840df25..d410e402b72 100644
--- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
+++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{etoolbox}
- [2017/01/02 v2.4 e-TeX tools for LaTeX (JAW)]
+ [2017/11/22 v2.5 e-TeX tools for LaTeX (JAW)]
\begingroup
\@ifundefined{eTeXversion}
@@ -892,6 +892,7 @@
% {<csname>}
\newrobustcmd*{\csundef}[1]{\cslet{#1}\etb@undefined}
+\newrobustcmd*{\csgundef}[1]{\global\cslet{#1}\etb@undefined}
% {<cstoken>}{<code>}
@@ -1183,6 +1184,7 @@
\etb@resrvda
\makeatletter
\endlinechar\m@ne
+ \newlinechar\m@ne
\scantokens\expandafter{\etb@resrvda}%
\expandafter\endgroup\ifx#1\etb@resrvda
\expandafter\@firstoftwo