summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/parselines/README
blob: 87576fc69967f966b489e3fa7d126f23092d0a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)