diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-26 00:13:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-26 00:13:27 +0000 |
commit | 40e66b62cf15c6041243e1bff5325feec4d2ac8d (patch) | |
tree | b89e962217eaadf5df85aa1a4aa5bd75ab030d1e /Master/texmf-dist/source/latex/regexpatch | |
parent | d964467896393d6dd54a2f89955c18e52ae5a60c (diff) |
regexpatch 0.1b (25jul12)
git-svn-id: svn://tug.org/texlive/trunk@27155 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/regexpatch')
-rw-r--r-- | Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx b/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx index b886de5f228..0d09d90aa1b 100644 --- a/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx +++ b/Master/texmf-dist/source/latex/regexpatch/regexpatch.dtx @@ -25,7 +25,7 @@ \newcommand{\sv}{[\texttt{*}]} %</driver> %<*driver|package> -\GetIdInfo$Id: regexpatch.dtx 0.1a 2012-06-07 12:00:00Z Enrico $ +\GetIdInfo$Id: regexpatch.dtx 0.1b 2012-07-24 12:00:00Z Enrico $ {Extending etoolbox patching commands} %</driver|package> %<*driver> @@ -55,6 +55,7 @@ % % \maketitle % +% \changes{v0.1b}{2012/07/24}{Fixed bugs in the `bibmacro' functions} % \changes{v0.1a}{2012/06/07}{Fixed bugs in success/failure code} % \changes{v0.1}{2012-04-15}{First public release} % \begin{documentation} @@ -1076,37 +1077,37 @@ \group_end: } } -\NewDocumentCommand{\xpretobibmacro} { m m m } +\NewDocumentCommand{\xpretobibmacro} { m } { \xpatch_main:NNc \xpatch_pretocmd:Nnnn \use_none:nn { abx@macro@ \tl_to_str:n {#1} } } -\NewDocumentCommand{\xapptobibmacro} { m m m } +\NewDocumentCommand{\xapptobibmacro} { m } { \xpatch_main:NNc \xpatch_apptocmd:Nnnn \use_none:nn { abx@macro@ \tl_to_str:n {#1} } } -\NewDocumentCommand{\xpatchbibmacro} { s m m m } +\NewDocumentCommand{\xpatchbibmacro} { s m } { \IfBooleanTF{#1} { - \xpatch_main:NcN \xpatch_patchcmd_all:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_patchcmd_all:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } { - \xpatch_main:NcN \xpatch_patchcmd_once:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_patchcmd_once:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } } -\NewDocumentCommand{\regexpatchbibmacro} { s m m m } +\NewDocumentCommand{\regexpatchbibmacro} { s m } { \IfBooleanTF{#1} { - \xpatch_main:NcN \xpatch_regexpatchcmd_all:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_regexpatchcmd_all:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } { - \xpatch_main:NcN \xpatch_regexpatchcmd_once:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_regexpatchcmd_once:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } } |