Index of /ctan/macros/latex/contrib/parselines/
Name | Last Modified | Size | Type |
../ | | - | Directory |
README | 2010-Oct-24 20:43:22 | 0.4K | text/plain;charset=utf-8 |
parselines.dtx | 2011-Feb-19 13:19:56 | 25.4K | application/octet-stream |
parselines.ins | 2011-Feb-19 13:10:40 | 2.5K | application/octet-stream |
parselines.pdf | 2011-Feb-19 13:19:56 | 179.4K | application/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)