summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-20 00:27:33 +0000
committerKarl Berry <karl@freefriends.org>2011-02-20 00:27:33 +0000
commit7bdd6419ec744db8d08616a6f71083e506dc67da (patch)
treed583c17b2e5fa7cd560f754a8053a6a453a968e6 /Master/texmf-dist/source
parente42a53e450fe101d6778a95cb6c0d13320ae5da1 (diff)
parselines 1.4 (19feb11)
git-svn-id: svn://tug.org/texlive/trunk@21475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/parselines/parselines.drv27
-rw-r--r--Master/texmf-dist/source/latex/parselines/parselines.dtx174
-rw-r--r--Master/texmf-dist/source/latex/parselines/parselines.ins6
3 files changed, 129 insertions, 78 deletions
diff --git a/Master/texmf-dist/source/latex/parselines/parselines.drv b/Master/texmf-dist/source/latex/parselines/parselines.drv
index 0b6d1dc478f..77586d72401 100644
--- a/Master/texmf-dist/source/latex/parselines/parselines.drv
+++ b/Master/texmf-dist/source/latex/parselines/parselines.drv
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% parselines : 2010/11/20 v1.3 - parselines : catch file between delimiters or tags
+%% parselines : 2011/02/19 v1.4 - parselines : catch file between delimiters or tags
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -25,8 +25,8 @@
%%
\edef\thisfile{\jobname}
\def\thisinfo{a simple line parser for TeX}
-\def\thisdate{2010/11/20}
-\def\thisversion{1.3}
+\def\thisdate{2011/02/19}
+\def\thisversion{1.4}
\def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex}
\def\CTANdisplay{CTAN:macros/latex}
\makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother
@@ -34,19 +34,30 @@
\newcommand*\CTANhrefnost[2][/contrib/]{\href{\CTANbaseurl#1#2}{\nolinkurl{\CTANdisplay#1#2}}}
\let\loadclass\LoadClass
\def\LoadClass#1{\loadclass[abstracton]{scrartcl}\let\scrmaketitle\maketitle\AtEndOfClass{\let\maketitle\scrmaketitle}}
+{\makeatletter{\endlinechar`\^^J\obeyspaces
+ \gdef\ErrorUpdate#1=#2,{\@ifpackagelater{#1}{#2}{}{\let\CheckDate\errmessage\toks@\expandafter{\the\toks@
+ \thisfile-documentation: updates required !
+ package #1 must be later than #2
+ to compile this documentation.}}}}%
+ \gdef\CheckDate#1{{\let\CheckDate\relax\toks@{}\@for\x:=\thisfile=\thisdate,#1\do{\expandafter\ErrorUpdate\x,}\CheckDate\expandafter{\the\toks@}}}}
+\AtBeginDocument{\CheckDate{interfaces=2011/02/19,tabu=2011/02/19}}
\PassOptionsToPackage{svgnames}{xcolor}
\documentclass[a4paper,oneside]{ltxdoc}
\AtBeginDocument{\DeleteShortVerb{\|}}
\usepackage[latin1]{inputenc}
\usepackage[american]{babel}
\usepackage[T1]{fontenc}
-\usepackage{etex,etoolbox,geometry,lastpage,tocloft,titlesec,graphicx,xspace,relsize}
-\usepackage{tabularx,fancyhdr,xcolor,bbding,embedfile,framed,multirow,txfonts,multirow,makecell,enumitem,arydshln,atveryend,catchfile}
+\usepackage{ltxnew,etoolbox,geometry,graphicx,xcolor,needspace,ragged2e} % general tools
+\usepackage{lmodern,bbding,hologo,relsize,moresize,manfnt,pifont,upgreek} % fonts
+\usepackage[official]{eurosym} % font
+\usepackage{xspace,tocloft,titlesec,fancyhdr,lastpage,enumitem,marginnote} % paragraphs & pages management
+\usepackage{holtxdoc,bookmark,hypbmsec,enumitem-zref} % hyper-links
+\usepackage{array,delarray,longtable,colortbl,multirow,makecell,booktabs} % tabulars
+\usepackage{bbding,embedfile,framed,txfonts}
\usepackage[expansion=alltext,protrusion=alltext]{microtype}
-\usepackage{interfaces}[2010/11/15]
-\usepackage{tabu}[2010/11/15]
+\usepackage{interfaces}[2011/02/19]
+\usepackage{tabu}[2012/02/19]
\csname endofdump\endcsname
-\usepackage{holtxdoc,bookmark}
\CodelineNumbered
\usepackage{fancyvrb}\fvset{gobble=1,listparameters={\topsep=0pt}}
\usepackage{parselines}
diff --git a/Master/texmf-dist/source/latex/parselines/parselines.dtx b/Master/texmf-dist/source/latex/parselines/parselines.dtx
index f16402cedb1..47e1c8571d3 100644
--- a/Master/texmf-dist/source/latex/parselines/parselines.dtx
+++ b/Master/texmf-dist/source/latex/parselines/parselines.dtx
@@ -1,5 +1,5 @@
% \iffalse meta-comment
-% parselines : 2010/11/20 v1.3 - parselines : a simple line parser for TeX]
+% parselines : 2011/02/19 v1.4 - parselines : a simple line parser for TeX]
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -36,7 +36,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: 2010/11/20 v1.3 - parselines : a simple line parser for TeX}
+\Msg{* Package: 2011/02/19 v1.4 - parselines : a simple line parser for TeX}
\Msg{************************************************************************}
\keepsilent
@@ -47,7 +47,7 @@
This is a generated file.
-parselines : 2010/11/20 v1.3 - parselines : catch file between delimiters or tags
+parselines : 2011/02/19 v1.4 - parselines : catch file between delimiters or tags
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -98,8 +98,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%<*driver>
\edef\thisfile{\jobname}
\def\thisinfo{a simple line parser for TeX}
-\def\thisdate{2010/11/20}
-\def\thisversion{1.3}
+\def\thisdate{2011/02/19}
+\def\thisversion{1.4}
\def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex}
\def\CTANdisplay{CTAN:macros/latex}
\makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother
@@ -107,19 +107,30 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
\newcommand*\CTANhrefnost[2][/contrib/]{\href{\CTANbaseurl#1#2}{\nolinkurl{\CTANdisplay#1#2}}}
\let\loadclass\LoadClass
\def\LoadClass#1{\loadclass[abstracton]{scrartcl}\let\scrmaketitle\maketitle\AtEndOfClass{\let\maketitle\scrmaketitle}}
+{\makeatletter{\endlinechar`\^^J\obeyspaces
+ \gdef\ErrorUpdate#1=#2,{\@ifpackagelater{#1}{#2}{}{\let\CheckDate\errmessage\toks@\expandafter{\the\toks@
+ \thisfile-documentation: updates required !
+ package #1 must be later than #2
+ to compile this documentation.}}}}%
+ \gdef\CheckDate#1{{\let\CheckDate\relax\toks@{}\@for\x:=\thisfile=\thisdate,#1\do{\expandafter\ErrorUpdate\x,}\CheckDate\expandafter{\the\toks@}}}}
+\AtBeginDocument{\CheckDate{interfaces=2011/02/19,tabu=2011/02/19}}
\PassOptionsToPackage{svgnames}{xcolor}
\documentclass[a4paper,oneside]{ltxdoc}
\AtBeginDocument{\DeleteShortVerb{\|}}
\usepackage[latin1]{inputenc}
\usepackage[american]{babel}
\usepackage[T1]{fontenc}
-\usepackage{etex,etoolbox,geometry,lastpage,tocloft,titlesec,graphicx,xspace,relsize}
-\usepackage{tabularx,fancyhdr,xcolor,bbding,embedfile,framed,multirow,txfonts,multirow,makecell,enumitem,arydshln,atveryend,catchfile}
+\usepackage{ltxnew,etoolbox,geometry,graphicx,xcolor,needspace,ragged2e} % general tools
+\usepackage{lmodern,bbding,hologo,relsize,moresize,manfnt,pifont,upgreek} % fonts
+\usepackage[official]{eurosym} % font
+\usepackage{xspace,tocloft,titlesec,fancyhdr,lastpage,enumitem,marginnote} % paragraphs & pages management
+\usepackage{holtxdoc,bookmark,hypbmsec,enumitem-zref} % hyper-links
+\usepackage{array,delarray,longtable,colortbl,multirow,makecell,booktabs} % tabulars
+\usepackage{bbding,embedfile,framed,txfonts}
\usepackage[expansion=alltext,protrusion=alltext]{microtype}
-\usepackage{interfaces}[2010/11/15]
-\usepackage{tabu}[2010/11/15]
+\usepackage{interfaces}[2011/02/19]
+\usepackage{tabu}[2012/02/19]
\csname endofdump\endcsname
-\usepackage{holtxdoc,bookmark}
\CodelineNumbered
\usepackage{fancyvrb}\fvset{gobble=1,listparameters={\topsep=0pt}}
\usepackage{parselines}
@@ -142,7 +153,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%</driver>
% \fi
%
-% \CheckSum{0}
+% \CheckSum{217}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -203,10 +214,20 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
% \newrobustcmd\verbfont{\usefont{T1}{\ttdefault}{\f@series}{n}} \let\vb\verbfont
% \newrobustcmd\vbbf{\usefont{T1}{\ttdefault}bn}
% \renewrobustcmd\#[1]{{\usefont{T1}{pcr}{bx}{n}\char`\##1}}
-% \newrobustcmd\csred[1]{\textcolor{red}{\cs{#1}}}
-% \renewrobustcmd\cs[2][]{\mbox{\vb#1\expandafter\@gobble\string\\#2}}
+% \newrobustcmd*\grabcs{\leavevmode\hbox\bgroup\bgroup\makeatletter\aftergroup\endgrabcs}
+% \def\endgrabcs{\egroup\xspaceverb}
+% \renewrobustcmd*\cs{\grabcs\cs@}
+% \newrobustcmd\cs@[2][]{\begingroup\escapechar\m@ne\def\x ##1{\endgroup\@maybehyperlink{##1}{\texttt{#1{\@backslashchar##1}}}}\expandafter\x\expandafter{\string#2}\egroup}
+% \newcommand*\cs@pdf[1]{\@backslashchar\if\@backslashchar\string#1 \else\string#1\fi}
+% \newrobustcmd*\csbf{\cs[\textbf]}
+% \newrobustcmd\csref[2][]{{\escapechar\m@ne\edef\my@tempa{\string#2}\edef\x ##1{\noexpand\hyperref{}{declcs}{\my@tempa}{\noexpand\cs[{##1}]{\my@tempa}}}\expandafter}\x{#1}}
+% \newrobustcmd*\@maybehyperlink [2]{\ifcsname parselin@declcs.\detokenize{#1}\endcsname \hyperref{}{declcs}{#1}{#2}\else #2\fi}
+% \csundef{parselin@declcs.begin}
+% \newcommand\env{\texorpdfstring \env@ \env@pdf}
+% \newcommand*\env@pdf[1]{#1}
+% \newrobustcmd*\env@{\@ifstar {\env@starsw[environment]}{\env@starsw[]}}
+% \new\def\env@starsw[#1]#2{\textt{#2}\ifblank{#1}{}{ #1}\Xspace}
% \newrobustcmd\CSbf[1]{\textbf{\CS{#1}}}
-% \newrobustcmd\csbf[2][]{\textbf{\cs[{#1}]{#2}}}
% \newrobustcmd\textttbf[1]{\textbf{\texttt{#1}}}
% \renewrobustcmd*\bf{\bfseries}\newcommand\nnn{\normalfont\mdseries\upshape}\newcommand\nbf{\normalfont\bfseries\upshape}
% \newrobustcmd*\blue{\color{blue}}\newcommand*\red{\color{dr}}\newcommand*\green{\color{green}}\newcommand\rred{\color{red}}
@@ -223,40 +244,44 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
% \newrobustcmd\textt[2][]{\texttt{#1#2}}
% \newcommand\cellstrut{}\let\cellstrut\bottopstrut
% \def\M{\@ifstar{\M@i\@firstofone}{\M@i\meta}}
-% \def\M@i#1{\@ifnextchar[^^A]
-% {\M@square#1}
-% {\@ifnextchar(^^A)
-% {\M@paren#1}
-% {\M@brace#1}}^^A
-% }
-% \def\M@square#1[#2]{\M@Bracket[{#1{#2}}]}
-% \def\M@paren#1(#2){\M@Bracket({#1{#2}})}
-% \def\M@brace#1#2{\M@Bracket\{{#1{#2}}\}}
+% \def\M@i#1{\@ifnextchar[\M@square
+% {\ifx (\@let@token^^A)
+% \expandafter\M@paren
+% \else\ifx |\@let@token
+% \expandafter\expandafter\expandafter\M@bar
+% \else \expandafter\expandafter\expandafter\M@brace
+% \fi\fi#1}}
+% \def\M@square #1[#2]{\M@Bracket[{#1{#2}}]}
+% \def\M@paren #1(#2){\M@Bracket({#1{#2}})}
+% \def\M@bar #1|#2|{\M@Bracket\textbar{#1{#2}}\textbar}
+% \def\M@brace #1#2{\M@Bracket\{{#1{#2}}\}}
% \def\M@Bracket#1#2#3{{\ttfamily#1#2#3}}
% \newrobustcmd*\thisyear{\begingroup
% \def\thisyear##1/##2\@nil{\endgroup
% \oldstylenums{##1\ifnum##1=\year\else\,\textendash\,\the\year\fi}%
% }\expandafter\thisyear\thisdate\@nil
% }
+% \newrobustcmd*\csanchor[2][]{^^A
+% \immediate\write\@mainaux{\csgdef{tabu@declcs.\string\detokenize{#2}}{}}^^A
+% \raisedhyperdef[14pt]{declcs}{#2}{\cs[{#1}]{#2}}^^A
+% }
% \renewrobustcmd\declcs[2][]{^^A
-% \par\addvspace\parskip
-% \goodbreak
-% \noindent\changefont{spread=1}^^A
-% \hspace{-\leftmargini}^^A
-% \def\*{\unskip\,\texttt{*}}^^A
-% \begin{tabular}{|l|}^^A
-% \hline
+% \if@nobreak \par\nobreak
+% \else \par\addvspace\parskip
+% \Needspace{.08\textheight}\fi
+% \changefont{size+=2.5pt,spread=1,fam=\ttdefault}^^A
+% \def\*{\unskip\,\texttt{*}}\noindent
+% \hskip-\leftmargini
+% \begin{tabu}{|l|}\hline
% \expandafter\SpecialUsageIndex\csname #2\endcsname
-% \raisedhyperdef[8pt]{declcs}{#2}{\cs[{#1}]{#2}}^^A
-% }^^A
+% \csanchor[{#1}]{#2}}
% \renewcommand\enddeclcs{%
-% \crcr \hline
-% \end{tabular}%
-% \nobreak \par \nobreak
-% \noindent
+% \crcr \hline \end{tabu}\nobreak
+% \par \nobreak \noindent
% \ignorespacesafterend
% }
-% \def\declmargin{\hspace*{\dimexpr-\leftmargini+\arrayrulewidth+\tabcolsep}}
+% \def\declmargin{\hspace*\declmarginwidth }
+% \def\declmarginwidth{\dimexpr -\leftmargini +\arrayrulewidth +\tabcolsep\relax}
% \pretocmd\textasteriskcentered{\usefont{OMS}{cmsy}mn}{}{}
%
% \pagesetup{%
@@ -280,30 +305,38 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
% \sectionformat\section{mark=\marksthe{section}{#1},top-=12pt,bottom=2pt}
% \sectionformat\subsection{top=2pt,bottom=2pt}
%
-% \newrobustcmd*\macrocodecolor{\color{macrocode}}\definecolor{macrocode}{rgb}{0.05,0.02,0.07}
+% \newrobustcmd*\macrocodecolor{\color{macrocode}}\definecolor{macrocode}{rgb}{0.0,0.0,0.0}
+% \def\macro@font{\def\Cr@scale{.87}\changefont{fam=pcrs,siz=10pt,ser=m,color=macrocode,spread=1}\let\AltMacroFont\macro@font}
+% \def\MacroFont{\changefont{fam=pcrs,siz=10pt,ser=b,color=macrocode}}
% \newrobustcmd*\IMPLEMENTATION{%
% \hypersetup{bookmarksopenlevel=1}
% \section{Implementation} \label{sec:implementation}}
% \let\plainllap\llap
-% \newrobustcmd\macro@llap[1]{\global\let\llap\plainllap\setbox0\hbox{#1}^^A
-% \ifdim\wd0>4cm\hbox to\z@{\hss\hbox to4cm{#1\hss}}^^A
-% \edef\@tempa{\the\everypar\hskip\dimexpr\the\wd0-4cm\relax\global\everypar{}}%
-% \global\everypar\expandafter{\@tempa}^^A
-% \else\hbox to\z@{\hss#1}\fi
-% \setbox\z@\box\voidb@x}
-% \pretocmd\macro{\MacrocodeTopsep=\z@skip\MacroTopsep\z@skip\let\llap\macro@llap\parsep=\z@\topsep=\z@\itemsep=\z@\partopsep\z@}{}{}
-% \apptocmd\endmacro{\goodbreak\vskip.3\parskip}{}{}
+% \newrobustcmd\macro@llap[1]{{\global\let\llap\plainllap
+% \setbox0=\hbox\bgroup \raisedhyperdef{macro}{\saved@macroname}{#1}\egroup
+% \ifdim\wd0>40mm
+% \hbox to\z@ \bgroup\hss \hbox to40mm{\unhcopy0\hss}\egroup
+% \edef\@tempa{\hskip\dimexpr\the\wd0-40mm}\global\everypar\expandafter{\the\expandafter\everypar
+% \@tempa \global\everypar{}}^^A
+% \else \llap{\unhbox0}\fi}}
+% \AtBeginEnvironment{macro}{\if@nobreak\else\Needspace{2\baselineskip}\fi
+% \MacrocodeTopsep\z@skip \MacroTopsep\z@skip \parsep\z@ \topsep\z@ \itemsep\z@ \partopsep\z@
+% \let\llap\macro@llap}
+% \AtEndEnvironment{macro}{\goodbreak\vskip.3\parskip}
%
% \newcommand\reflinkcolor{\color{reflink}}\colorlet{reflink}{DarkSlateBlue}
-% \newrobustcmd\stform{\@ifnextchar*{\@stform[]\textasteriskcentered\@gobble}\@stform}
-% \newrobustcmd\@stform[2][\string]{\textttbf{\rred#1#2}\xspace}
+% \newrobustcmd*\stform{\ifincsname\else\expandafter\@stform\fi}
+% \newrobustcmd*\@stform{\@ifnextchar*{\@@stform[]\textasteriskcentered\@gobble}\@@stform}
+% \newrobustcmd*\@@stform[2][\string]{\textttbf{#1#2}\Xspace}
+% \newrobustcmd*\xspaceverb{\ifnum\catcode`\ =\active\else\expandafter\xspace\fi}
+% \new\let\Xspace \xspaceverb
%
% \makeatother
%
% \deffootnote{1em}{0pt}{\rlap{\textsuperscript{\thefootnotemark}}\kern1em}
%
% \title{\vspace*{-28pt}\mdseries The {\bfseries\thispackage\footnotemark}\kern.6em package}
-% \author{\small\thisdate~--~version \thisversion}
+% \author{\small\thisdate~--~version \hyperref[\thisversion]\thisversion}
% \date{}
% \subtitle{\LARGE\thisinfo\endgraf {\small\FC}}
% \maketitle
@@ -325,9 +358,9 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
% \begin{abstract}\parskip\medskipamount\parindent0pt\lastlinefit0\leftskip1cm\rightskip\leftskip
%
% \thispackage provides an environment ``\textt{parse lines}'' which applies a macro
-% to each line of the input between \cs{begin}\M*{{\dg parse lines}}\, and\, \cs{end}\M*{{\dg parse lines}}.
+% to each line of the input between \cs\begin\M*{{\dg parse lines}}\, and\, \cs\end\M*{{\dg parse lines}}.
%
-% There is also a macro: \cs{dofilebyline}: its purpose is to expand a user-defined macro \cs{do} with
+% There is also a macro: \cs\dofilebyline: its purpose is to expand a user-defined macro \cs\do with
% one parameter (the line) on each line of a given text file.
%
% This packages requires \eTeX and no other package.
@@ -336,9 +369,9 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%
% \tocsetup{
% title/top-=6pt,
-% title=Contents\quad\leaders\vrule height3.4pt depth-3pt\hfill\null\kern0pt\vskip-6pt,
+% title=Contents\quad{\pkgcolor\leaders\vrule height3.4pt depth-3pt\hfill\null}\kern0pt\vskip-6pt,
% bookmark={text=Contents,bold},
-% after=\leavevmode\leaders\vrule height3.4pt depth-3pt\hfill\null,
+% after=\leavevmode{\pkgcolor\leaders\vrule height3.4pt depth-3pt\hfill\null},
% twocolumns,
% dot=$\scriptscriptstyle\ldotp$,
% dotsep=1mu,
@@ -356,12 +389,14 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%
% \subsection[The parse lines environment]{The \textttbf{parse lines} environment}
%
+% {\smaller
% \begin{declcs}{begin}\M{\red parse lines}\M[initialisation]\M{replacement text of a macro with 1 parameter} \\
-% \cs{end}\M{\red parse lines}
+% \cs{end}\M{\red parse lines}
% \end{declcs}
+% }
%
% Example (with \xpackage{xcolor}) -- inside the environment \cs[\red]{row} expands to the current row number
-% (stored in plain \TeX{} register \cs{count@}):
+% (stored in plain \TeX{} register \cs\count@):
%
% \begin{SaveVerbatim}[commandchars=$(),gobble=1]{myVerb}
% ($db(\definecolorseries)){serie}{rgb}{last}{Goldenrod}{DarkSeaGreen}
@@ -425,7 +460,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%
% Expands the macro \csbf{do} on each line of a given file.
%
-% Each line is read using the \TeX{} primitive \csbf{read}. By default, \cs{endlinechar} is suppressed ({\vb\cs{endlinechar}=-1})
+% Each line is read using the \TeX{} primitive \csbf{read}. By default, \cs\endlinechar is suppressed ({\vb\cs\endlinechar=-1})
% in order not to add a space at the end of each line read. If you do not want this behaviour, use the \stform* star form.
%
% If the file does not exist, an error is displayed.
@@ -437,8 +472,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
% \dofilebyline{file name.tex}
% \end{VerbLines}
%
-% In this example: \cs{ifx}\cs{par}\#1\cs{else} will evaluate to \texttt{false} if \#1 is empty.
-% Therefore, empty lines and double empty lines (equivalent to \cs{par}) are not captured into the token \cs{mytoken}.
+% In this example: \cs\ifx\cs\par\#1\cs\else will evaluate to \texttt{false} if \#1 is empty.
+% Therefore, empty lines and double empty lines (equivalent to \cs\par) are not captured into the token \cs\mytoken.
%
%
%
@@ -456,7 +491,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
[2005/12/01]% LaTeX must be 2005/12/01 or younger
\ProvidesPackage{parselines}
- [2010/11/20 v1.3 - a simple line parser for TeX]
+ [2011/02/19 v1.4 - a simple line parser for TeX]
% \end{macrocode}
%
% \subsection{Collecting stuff inside an environment}
@@ -566,29 +601,34 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%</package>
% \end{macrocode}
%
+% \sectionformat\subsection{font=\normalsize\bfseries,top=-.5\smallskipamount,bottom=-\smallskipamount}
+%
% \begin{History}
%
-% \begin{Version}{2010/11/20 v1.3}
-% \item Replacement of \cs{newrobustcmd} by \cs{protected}\cs{def}:
+% \begin{Version}{2011/02/19 v1.4}\HistLabel{1.4}
+% \item Recompilation of the documentation to conform to \Xpackage{tabu} v2.5 and \Xpackage{interfaces} v3.1
+% \end{Version}
+%
+% \begin{Version}{2010/11/20 v1.3}\HistLabel{1.3}
+% \item Replacement of \cs\newrobustcmd by \cs\protected\cs\def:
% \thispackage does not require \xpackage{etoolbox}...
% \end{Version}
%
-% \begin{Version}{2010/11/16 v1.2}
+% \begin{Version}{2010/11/16 v1.2}\HistLabel{1.2}
% \item Fix in CTAN archive (\xext{ins} file).
% \end{Version}
%
-% \begin{Version}{2010/10/23 v1.1}
-% \item \cs{row} counter added
+% \begin{Version}{2010/10/23 v1.1}\HistLabel{1.1}
+% \item \cs\row counter added
% \item Improved documentation.
% \end{Version}
%
-% \begin{Version}{2010/06/20 v1.0}
+% \begin{Version}{2010/06/20 v1.0}\HistLabel{1.0}
% \item First version.
% \end{Version}
%
% \end{History}
%
-%
% \PrintIndex
%
-% \Finale
+% \Finale \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/parselines/parselines.ins b/Master/texmf-dist/source/latex/parselines/parselines.ins
index a0dc279cce7..bb120900220 100644
--- a/Master/texmf-dist/source/latex/parselines/parselines.ins
+++ b/Master/texmf-dist/source/latex/parselines/parselines.ins
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% parselines : 2010/11/20 v1.3 - parselines : catch file between delimiters or tags
+%% parselines : 2011/02/19 v1.4 - parselines : catch file between delimiters or tags
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -26,7 +26,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: 2010/11/20 v1.3 - parselines : a simple line parser for TeX}
+\Msg{* Package: 2011/02/19 v1.4 - parselines : a simple line parser for TeX}
\Msg{************************************************************************}
\keepsilent
@@ -37,7 +37,7 @@
This is a generated file.
-parselines : 2010/11/20 v1.3 - parselines : catch file between delimiters or tags
+parselines : 2011/02/19 v1.4 - parselines : catch file between delimiters or tags
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either