Index of /ctan/macros/latex/contrib/parselines/

NameLast ModifiedSizeType
../ -  Directory
README2010-Oct-24 20:43:220.4Ktext/plain;charset=utf-8
parselines.dtx2011-Feb-19 13:19:5625.4Kapplication/octet-stream
parselines.ins2011-Feb-19 13:10:402.5Kapplication/octet-stream
parselines.pdf2011-Feb-19 13:19:56179.4Kapplication/pdf
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)




panini/0.0.8 us-west-1 b156048a-bcf3-4b4f-96ed-31e873bb3711