Index of /macros/latex/contrib/parselines
      Name                    Last modified       Size  Description

[DIR] Parent Directory 28-May-2020 00:25 - [   ] parselines.dtx 20-Feb-2011 00:19 25k [   ] parselines.ins 20-Feb-2011 00:10 3k [   ] parselines.pdf 20-Feb-2011 00:19 179k


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)