diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-23 23:37:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-23 23:37:06 +0000 |
commit | 46182f49862367599680945cbd4188c96f0c6071 (patch) | |
tree | 7d4755d85684de3a7f13d11428ab2896bdf1dab2 /Master/texmf-dist/tex | |
parent | 583a3069ae795f9f25310af8d14d12d385b60348 (diff) |
dowith (5jun12)
git-svn-id: svn://tug.org/texlive/trunk@27125 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/dowith/dowith.RLS | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/dowith/dowith.sty | 14 |
2 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/dowith/dowith.RLS b/Master/texmf-dist/tex/generic/dowith/dowith.RLS index 545f44bf128..e96cee91760 100644 --- a/Master/texmf-dist/tex/generic/dowith/dowith.RLS +++ b/Master/texmf-dist/tex/generic/dowith/dowith.RLS @@ -1,5 +1,7 @@ \ProvidesFile{dowith.RLS} %% RELEASE INFO - [2012/05/22 r0.21e v0.21a; doc.: Kabelschacht vs. TeXbook] + [2012/06/03 r0.22 v0.22 arg. {}; doc.: catoptions] +% [2012/06/03 r0.21f v0.21a; doc.: catoptions] +% [2012/05/22 r0.21e v0.21a; doc.: Kabelschacht vs. TeXbook] % [2012/05/20 r0.21d v0.21a discussing other cmds ] % [2012/05/18 v0.21 r0.21c @ fix, new doc., .RLS] % [2012/05/14 r0.21 @ fix, .RLS, README/title typo...] diff --git a/Master/texmf-dist/tex/generic/dowith/dowith.sty b/Master/texmf-dist/tex/generic/dowith/dowith.sty index 9b2ce00c4d5..6f75654b984 100644 --- a/Master/texmf-dist/tex/generic/dowith/dowith.sty +++ b/Master/texmf-dist/tex/generic/dowith/dowith.sty @@ -1,5 +1,5 @@ \def\filename{dowith} \def\fileinfo{simple list loop (UL)} -\def\filedate{2012/05/19} \def\fileversion{v0.21a} +\def\filedate{2012/06/04} \def\fileversion{v0.22} %% Copyright (C) 2011 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu %% -- author-maintained in the sense of LPPL below -- @@ -57,7 +57,16 @@ %% of <list>. An element of <list> (after tokenizing) %% may be either a single token or a group `{<balanced>}'. \def\DoWith#1#2{% - \ifx\StopDoing#2% + \ifx\StopDoing#2\empty +%% The previous `\empty' (replacing `%') is a bug fix as of v0.22, +%% while in my extension draft I already had it in January 2012. +%% It allows ``empty" arglist items \qtd{\lbtok\rbtok}. +%% Before v0.22, such an empty brace group would have resulted +%% in comparing `\StopDoing' with `\else', so \qtd{\lbtok\rbtok} +%% would have had the same effect as `\StopDoing', the token text +%% after `\else' until `\fi' would have been skipped. +%% Instead, the user may have a reason to allow empty arguments\slash +%% brace groups. \else#1{#2}\expandafter\DoWith\expandafter#1\fi} %% |\StopDoing| delimits the list: \let\StopDoing\DoWith @@ -197,3 +206,4 @@ v0.2 2011/11/02 simpler, documented v0.21 2012/05/14 fix for "generic" and `typeoutfileinfo': @ before ...! v0.21a 2012/05/19 \labels sec:apply, sec:core; \pagebreak? +v0.22 2012/06/04 allow {} items |