summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/dowith/domore.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/dowith/domore.sty')
-rw-r--r--Master/texmf-dist/tex/generic/dowith/domore.sty21
1 files changed, 19 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/dowith/domore.sty b/Master/texmf-dist/tex/generic/dowith/domore.sty
index 4650db60e61..89472dbde2e 100644
--- a/Master/texmf-dist/tex/generic/dowith/domore.sty
+++ b/Master/texmf-dist/tex/generic/dowith/domore.sty
@@ -1,6 +1,6 @@
\input plainpkg
-\ProvidesPackage{domore}[2012/11/19 v0.3 dowith extended (UL)]
-%% Copyright (C) 2012 Uwe Lueck,
+\ProvidesPackage{domore}[2013/03/22 v0.31 dowith extended (UL)]
+%% Copyright (C) 2012 2013 Uwe Lueck,
%% http://www.contact-ednotes.sty.de.vu
%% -- author-maintained in the sense of LPPL below --
%%
@@ -118,6 +118,20 @@
%% (or some tie variant) to get a horizontal list of links like
%% \[\def|{$\vert$}\mbox{<text-1> | <text-2> | \dots | <text-n>}\]
%%
+%% == Without \cs{StopDoing} == %% 2013/03/20, mv. 2013/03/22
+%% The following enhancements of 'dowith' are provided by %% 2013/03/22
+%% v0.31.
+%%
+%% |\DoWithAllOf{<repeat>}{<list>}| works like
+%% \[`\DoWith{<repeat>}<list>\StopDoing'\]
+%% as in 'dowith', but now with a more general first argument:
+\def\DoWithAllOf#1#2{\DoWith{#1}#2\StopDoing}
+%% |\DoWithAllIn{<repeat>}{<list-macro>}| works as in 'dowith' too
+%% and needs the <repeat> enhancement too: %% 2013/03/21
+\def\DoWithAllIn#1#2{%
+ \expandafter \@secondfirstoftwo \expandafter {#2}{\DoWith{#1}}%
+ \StopDoing}
+%%
%% == Leaving and History ==
\PopLetterCatAt
\endinput
@@ -134,3 +148,6 @@ v0.3 2012/11/05 using `plainpkg'; removing old % code
2012/11/18 doc.: adjusted for `catchdq'; reworking for
\DoWith; \DoWithMore, \DoSeparateWith
2012/11/19 doc.: \DoSeparateWithMore
+v0.31 2013/03/20 \DoWithAllOf
+ 2013/03/21 \DoWithAllIn
+ 2013/03/22 moving down new section, mod. doc.