diff options
author | Karl Berry <karl@freefriends.org> | 2009-03-02 16:58:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-03-02 16:58:41 +0000 |
commit | ec105f442ef9d079793cc35460e4c7aa1d905ceb (patch) | |
tree | 83dbcce8dee8d79f39aa282bb4104845186534d8 /Master/texmf-dist/tex/latex/vhistory/vhistory.sty | |
parent | dbf147af99673cd9a64451b4c90c847514f02405 (diff) |
vhistory update (1mar09)
git-svn-id: svn://tug.org/texlive/trunk@12285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/vhistory/vhistory.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/vhistory/vhistory.sty | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/vhistory/vhistory.sty b/Master/texmf-dist/tex/latex/vhistory/vhistory.sty index 32f728e04a1..7b9812bc6a8 100644 --- a/Master/texmf-dist/tex/latex/vhistory/vhistory.sty +++ b/Master/texmf-dist/tex/latex/vhistory/vhistory.sty @@ -3,8 +3,8 @@ %% FILE: vhistory.sty %% %% %% %% AUTHOR: Jochen Wertenauer %% -%% VERSION: 1.3 %% -%% DATE: 2007-07-21 %% +%% VERSION: 1.4 %% +%% DATE: 2009-03-01 %% %% %% %% LICENSE: This program may be distributed and/or modified under the %% %% conditions of the LaTeX Project Public License, either version 1.2 %% @@ -46,7 +46,7 @@ %% listing the name(s) of the author(s). %% %% %% %% REQUIRED PACKAGES: %% -%% - sets: Works well with version 0.6 or higher %% +%% - sets: Works well with version 1.2 or higher %% %% - ltxtable: Works well with version 0.2 from 1995-12-11 %% %% ltxtable requires tabularx and longtable. Versions %% %% - 2.07 (1999-01-07) of tabularx and %% @@ -81,8 +81,8 @@ \RequirePackage{ltxtable, sets} %% Helper methods ------------------------------------------------------------ -\let \xpa=\expandafter -\let \nxp=\noexpand +\let \vh@xpa=\expandafter +\def \vh@empty{\empty} \def \vh@iwrite{\immediate\write} \long\def \vh@ReturnFi #1\fi{\fi #1} @@ -91,12 +91,12 @@ \def \vh@Ifundefined #1{\expandafter\ifx\csname#1\endcsname\relax} %% Prints the content of macro #1 without expansion. -\long \def \vh@verbprint #1{\xpa\vh@eraseToBrace\meaning #1} +\long \def \vh@verbprint #1{\vh@xpa\vh@eraseToBrace\meaning #1} %% This macro writes #2 verbatim to the (open) file #1. \long \def \vh@verbwrite #1#2{% \long \def \vh@verbtemp{#2}% - \xpa\vh@iwrite\xpa#1\xpa{\xpa\vh@eraseToBrace \meaning\vh@verbtemp}% + \vh@xpa\vh@iwrite\vh@xpa#1\vh@xpa{\vh@xpa\vh@eraseToBrace \meaning\vh@verbtemp}% } %% Deletes everything before the next > e.g. "macro ->". Used by \vh@verbprint @@ -196,13 +196,13 @@ %% Prints the contents of \vhAllAuthorsSet but regards the elements as %% commands. Instead of XY, the definition of the command \XY will be used. -%% If \XY is undefined, \relax is used. -\def \vhListAllAuthorsLong{\xpa\vh@longlistset \vhAllAuthorsSet|\empty\endset} +\def \vhListAllAuthorsLong{\vh@xpa\vh@longlistset \vhAllAuthorsSet|\empty\endset} %% Helper method for \vhListAllAuthorsLong. \def \vh@longlistset #1|#2\endset{% \csname #1\endcsname % Create command and expand - \ifx#2\empty{}\else + \def\vh@tmp{#2}% + \ifx\vh@tmp\vh@empty{}\else \setseparator \vh@ReturnFi{\vh@longlistset #2\endset}% \fi @@ -303,11 +303,11 @@ \newwrite \vh@hstfile% \immediate \openout \vh@hstfile=\jobname.hst% \vh@iwrite \vh@hstfile {% - \def \nxp\vhCurrentVersion{\vh@verbprint\vhCurrentVersion}}% + \def \noexpand\vhCurrentVersion{\vh@verbprint\vhCurrentVersion}}% \vh@iwrite \vh@hstfile {% - \def \nxp\vhCurrentDate{\vh@verbprint\vhCurrentDate}}% + \def \noexpand\vhCurrentDate{\vh@verbprint\vhCurrentDate}}% \vh@iwrite \vh@hstfile {% - \nxp\newsetsimple \nxp\vhAllAuthorsSet{\vh@verbprint\vhAllAuthorsSet}}% + \noexpand\newsetsimple \noexpand\vhAllAuthorsSet{\vh@verbprint\vhAllAuthorsSet}}% \immediate \closeout \vh@hstfile% } |