Directory tex-archive/macros/latex/contrib/parselines
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)
Files
| Name | Size | Date | Notes |
|---|---|---|---|
README |
413 | 2010-10-24 10:43:22 | |
parselines.dtx |
26084 | 2011-02-19 02:19:56 | |
parselines.ins |
2571 | 2011-02-19 02:10:40 | |
parselines.pdf |
183717 | 2011-02-19 02:19:56 |
Download the complete
contents of this directory 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.
| Documentation |
Package documentation Readme |
| Version | 1.4 |
| License | The LaTeX Project Public License 1.3 |
| Maintainer | Florent Chervet |
| Contained in | TeXLive as parselines |
| MiKTeX as parselines | |
| Topics |
support for development of TeX macros highlighting typeset material, fancy frames, watermarks, etc. |
