Index of /archives/text/CTAN/macros/latex2e/contrib/parselines
Name Last modified Size Description
Parent Directory -
README 2010-10-25 05:43 413
parselines.ins 2011-02-19 22:10 2.5K
parselines.dtx 2011-02-19 22:19 25K
parselines.pdf 2011-02-19 22: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)