From 1d6b73492f5dbd29e3ab705bf308b952991dbb04 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 10 Nov 2010 23:55:51 +0000 Subject: csvsimple (10nov10) git-svn-id: svn://tug.org/texlive/trunk@20398 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/csvsimple/csvsimple.sty | 23 +++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex') 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=, -- cgit v1.2.3