diff --git a/t/expansion/etoolbox.pdf b/t/expansion/etoolbox.pdf index b4c93ae65..f1bdd12d1 100644 Binary files a/t/expansion/etoolbox.pdf and b/t/expansion/etoolbox.pdf differ diff --git a/t/expansion/etoolbox.tex b/t/expansion/etoolbox.tex index c17760411..3b2cb6f1d 100644 --- a/t/expansion/etoolbox.tex +++ b/t/expansion/etoolbox.tex @@ -210,6 +210,11 @@ \subsection{Patching} prepending to paramacro: \pretocmd\paramacro{Pre. }{ok}{fail}\newline \paramacro{first}{second} +\def\spaceymacro{{Bold to \bfseries italic}} +\spaceymacro +\patchcmd\spaceymacro{\bfseries}{\it}{}{} +\spaceymacro + \subsection{Boolean Flags} \newbool{boolvar} diff --git a/t/expansion/etoolbox.xml b/t/expansion/etoolbox.xml index c9dab5008..b17f4e9cb 100644 --- a/t/expansion/etoolbox.xml +++ b/t/expansion/etoolbox.xml @@ -217,6 +217,10 @@ xABYZ.
prepending to paramacro: ok
Bold to