texlive[42615] Master/texmf-dist: etoolbox (1dec16)

commits+karl at tug.org commits+karl at tug.org
Thu Dec 1 23:43:23 CET 2016


Revision: 42615
          http://tug.org/svn/texlive?view=revision&revision=42615
Author:   karl
Date:     2016-12-01 23:43:23 +0100 (Thu, 01 Dec 2016)
Log Message:
-----------
etoolbox (1dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
    trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
    trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
    trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty

Modified: trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex	2016-12-01 22:43:08 UTC (rev 42614)
+++ trunk/Master/texmf-dist/doc/latex/etoolbox/etoolbox.tex	2016-12-01 22:43:23 UTC (rev 42615)
@@ -12,8 +12,8 @@
   url={http://www.ctan.org/pkg/etoolbox/},
   author={Philipp Lehman, Joseph Wright},
   email={joseph.wright at morningstar2.co.uk},
-  revision={v2.2a},
-  date={2015/08/02}}
+  revision={v2.2b},
+  date={2016/12/01}}
 
 \hypersetup{%
   pdftitle={The etoolbox Package},
@@ -1263,6 +1263,10 @@
 
 \end{ltxsyntax}
 
+\section{Reporting issues}
+
+The development code for \sty{etoolbox} is hosted on GitHub: \url{https://github.com/josephwright/etoolbox}. This is the best place to log any issues with the package.
+
 \section{Revision History}
 
 This revision history is a list of changes relevant to users of this package. Changes of a more technical nature which do not affect the user interface or the behavior of the package are not included in the list. If an entry in the revision history states that a feature has been \emph{improved} or \emph{extended}, this indicates a syntactically backwards compatible modification, such as the addition of an optional argument to an existing command. Entries stating that a feature has been \emph{modified} demand attention. They indicate a modification which may require changes to existing documents in some, hopefully rare, cases. The numbers on the right indicate the relevant section of this manual.
@@ -1269,6 +1273,11 @@
 
 \begin{changelog}
 
+\begin{release}{2.2b}{2016-12-01}
+\item Fixed \cmd{ifdefltxprotect} for some types of \latex robust commands
+\item Remove redundant macro after \cmd{robustify} processing
+\end{release}
+
 \begin{release}{2.2a}{2015-08-02}
 \item Fixed robustness bug in \cmd{ifblank}/\cmd{notblank}
 \end{release}

Modified: trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def	2016-12-01 22:43:08 UTC (rev 42614)
+++ trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def	2016-12-01 22:43:23 UTC (rev 42615)
@@ -1,5 +1,5 @@
 \ProvidesFile{etoolbox.def}
-  [2015/08/02 v2.2a etoolbox debug messages (JAW)]
+  [2016/12/01 v2.2b etoolbox debug messages (JAW)]
 
 \begingroup
 \makeatletter

Modified: trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty	2016-12-01 22:43:08 UTC (rev 42614)
+++ trunk/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty	2016-12-01 22:43:23 UTC (rev 42615)
@@ -12,7 +12,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{etoolbox}
-  [2015/08/02 v2.2a e-TeX tools for LaTeX (JAW)]
+  [2016/12/01 v2.2b e-TeX tools for LaTeX (JAW)]
 
 \begingroup
 \@ifundefined{eTeXversion}
@@ -238,7 +238,14 @@
 
 \newrobustcmd{\ifdefltxprotect}[1]{%
   \begingroup
+  \edef\etb at resrvda{\string#1}%
+  \def\etb at resrvdb{#1}%
+  \edef\etb at resrvdb{\expandafter\strip at prefix\meaning\etb at resrvdb}%
   \edef\etb at resrvda{%
+    \ifx\etb at resrvda\etb at resrvdb
+      \noexpand\x at protect
+      \noexpand#1%
+    \fi
     \noexpand\protect\expandafter\noexpand
     \csname\expandafter\@gobble\string#1 \endcsname}%
   \expandafter\endgroup\ifx#1\etb at resrvda
@@ -1233,9 +1240,7 @@
               \@tempswafalse}}
           {\protected\edef#1{\expandonce\etb at resrvda}}%
         \if at tempswa
-          \ifcsdef{\string#1 }
-            {}
-            {\csundef{\expandafter\@gobble\string#1 }}%
+          \csundef{\expandafter\@gobble\string#1 }%
         \fi
         \undef\etb at resrvda}
        {\etb at error{\string#1 not a macro}\@eha}}}



More information about the tex-live-commits mailing list