diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty b/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty index fb045fc9fa6..98459c5a6c4 100644 --- a/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty +++ b/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty @@ -1,4 +1,4 @@ -%% The LaTeX package csvsimple - version 1.00 (2010/07/28) +%% The LaTeX package csvsimple - version 1.01 (2010/11/10) %% csvsimple.sty: Simple LaTeX CSV file processing %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{csvsimple}[2010/07/28 version 1.00 LaTeX CSV file processing] +\ProvidesPackage{csvsimple}[2010/11/10 version 1.01 LaTeX CSV file processing] \RequirePackage{pgfkeys,ifthen} @@ -166,7 +166,7 @@ \csv@do@latepostline% \csv@do@preline% \csv@body% - \csv@postline% + \csv@do@postline% } \gdef\csvreadnext{% @@ -196,9 +196,17 @@ \csv@prefirstline% \global\let\csv@do@preline=\csv@preline% }% + \gdef\csv@do@postline{% + \csv@postfirstline% + \global\let\csv@do@postline=\csv@postline% + }% + \gdef\csv@do@@latepostline{% + \csv@latepostfirstline% + \global\let\csv@do@latepostline=\csv@latepostline% + }% \gdef\csv@do@latepostline{% \csv@lateposthead% - \global\let\csv@do@latepostline=\csv@latepostline% + \global\let\csv@do@latepostline=\csv@do@@latepostline% }% % command for the reading loop \gdef\csv@iterate{% @@ -277,9 +285,11 @@ before filter/.gstore in=\csv@prefiltercommand, before first line/.gstore in=\csv@prefirstline, before line/.code={\gdef\csv@preline{#1}\pgfkeysalso{before first line=#1}}, - after line/.gstore in=\csv@postline, + after first line/.gstore in=\csv@postfirstline, + after line/.code={\gdef\csv@postline{#1}\pgfkeysalso{after first line=#1}}, + late after first line/.gstore in=\csv@latepostfirstline, late after last line/.gstore in=\csv@latepostlastline, - late after line/.code={\gdef\csv@latepostline{#1}\pgfkeysalso{late after last line=#1}}, + late after line/.code={\gdef\csv@latepostline{#1}\pgfkeysalso{late after first line=#1,late after last line=#1}}, after head/.gstore in=\csv@posthead, late after head/.gstore in=\csv@lateposthead, before reading/.gstore in=\csv@prereading, @@ -301,7 +311,6 @@ before line=, after line=, late after line=, - late after last line=, after head=, late after head=, before reading=, |