Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory 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
parselines.dtx 26084 2011-02-19 02:19
parselines.ins 2571 2011-02-19 02:10
parselines.pdf 183717 2011-02-19 02:19

Down­load the con­tents of this pack­age in one zip archive (145.7k).

parse­lines – Ap­ply a macro to each line of an en­vi­ron­ment

The pack­age de­fines an en­vi­ron­ment “parse lines” which pro­cesses each line of an en­vi­ron­ment with a macro.

An ex­am­ple of shad­ing the lines of an en­vi­ron­ment is given.

Pack­age De­tailsparse­lines
Ver­sion1.4
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2010 Florent Chervet
Main­tainerFlorent Chervet
Con­tained inTeXlive as parse­lines
MikTeX as parse­lines
Topics high­light­ing type­set ma­te­rial, fancy frames, wa­ter­marks, etc.
sup­port for de­vel­op­ment of (La)TeX macros
Guest Book Sitemap Contact