CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/parselines

README
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)




Download the contents of this package in one zip archive (145.7k).

parselines – Apply a macro to each line of an environment

The package defines an environment “parse lines” which processes each line of an environment with a macro.

An example of shading the lines of an environment is given.

Packageparselines
Version1.4
LicensesThe Project Public License 1.3
Copyright2010 Florent Chervet
MaintainerFlorent Chervet
Contained inTeX Live as parselines
MiKTeX as parselines
TopicsDecoration
Macro support
...
Guest Book Sitemap Contact Contact Author