Index of /tex-archive/macros/latex/contrib/parselines

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[TXT]README24-Oct-2010 21:43 413
[TXT]parselines.dtx19-Feb-2011 13:19 25K
[TXT]parselines.ins19-Feb-2011 13:10 2.5K
[   ]parselines.pdf19-Feb-2011 13:19 179K

parselines

This is a simple line parser.

For files: \dofilebyline{filename} expands \do (a user macro with 1 parameter)
on each line of the given file, reading lines one after another with \read.

For text:
\begin{parse lines}{\row: #1}
 ...
 ...
\end{parse lines}

will add the number of the row before each line in the environment.

Other funny things can be done (see the .pdf ;-))

(c) lppl - 2010 (FC)