summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-04 23:34:04 +0000
committerKarl Berry <karl@freefriends.org>2015-05-04 23:34:04 +0000
commit2501a1309a59abf417d4c1c0307c0e95704b5fa2 (patch)
tree0772b0ff636278aeb6b7504c3f35cfb4a31c488f
parentf97a5d61adae591bc262091b48989cf2ab69f6ec (diff)
etoolbox (4may15)
git-svn-id: svn://tug.org/texlive/trunk@37189 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdfbin220433 -> 221014 bytes
-rw-r--r--Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex12
-rw-r--r--Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty11
3 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf b/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
index cc83f006ea6..baaadb7d6fc 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 3e1ce38527d..3d101b3aec3 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.1d},
- date={2015/03/19}}
+ revision={v2.2},
+ date={2015/04/04}}
\hypersetup{%
pdftitle={The etoolbox Package},
@@ -243,6 +243,10 @@ Clears a \prm{command} such that \etex's \cmd{ifdefined} and \cmd{ifcsname} test
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{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.
+
\cmditem{csshow}{csname}
Similar to the \tex primitive \cmd{show} 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. This command is robust.
@@ -1265,6 +1269,10 @@ This revision history is a list of changes relevant to users of this package. Ch
\begin{changelog}
+\begin{release}{2.2}{2015-05-04}
+\item Added \cmd{csmeaning}\see{aut:def:def}
+\end{release}
+
\begin{release}{2.1d}{2015-03-19}
\item Fixed issue with \sty{bm} and some classes
\end{release}
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
index f2310604f39..154a030aaef 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}
- [2015/03/19 v2.1d e-TeX tools for LaTeX (JAW)]
+ [2015/05/04 v2.2 e-TeX tools for LaTeX (JAW)]
\begingroup
\@ifundefined{eTeXversion}
@@ -106,6 +106,15 @@
\begingroup\expandafter\endgroup
\expandafter\show\csname#1\endcsname}
+% {<csname>}
+
+\newcommand*{\csmeaning}[1]{%
+ \ifcsname #1\endcsname
+ \expandafter\meaning\csname #1\endcsname
+ \else
+ \detokenize{undefined}%
+ \fi}
+
% {<cstoken>}{<true>}{<false>}
\newcommand{\ifdef}[1]{%