Settings Help
CTAN
Comprehensive TeX Archive Network
Home 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: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

Down­load the com­plete con­tents of this di­rec­tory 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.

Doc­u­men­ta­tion
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 sup­port for de­vel­op­ment of (La)TeX macros
high­light­ing type­set ma­te­rial, fancy frames, wa­ter­marks, etc.
Guest Book Sitemap Contact 2014-04-19 08:59 CEST