[comp.text.tex] line numbering

teexdwu@ioe.lon.ac.uk (DOMINIK WUJASTYK) (01/08/91)

In article <1991Jan7.024821.14875@doe.utoronto.ca> david@doe.utoronto.ca (David Megginson) writes:
>In article <F!n#$v24@cs.psu.edu> schwartz@groucho.cs.psu.edu (Scott Schwartz) writes:
>>
>>krab@iesd.auc.dk (Kresten Krab Thorup) writes:
>>
>>   As I'm very often making worksheets, wich are to be discussed --- I'd
>>   like to be able to number the lines of any LaTeX document.
>>   How do I do this? 
>
>I wonder how to do this too.  TeX doesn't seem to offer the
>every line, but every fifth, as verse is usually numbered. ie:
>
>	blah blah blah
>	blah blah blah
>	blah blah blah
>	blah blah blah
>	blah blah blah		5
>	blah blah
>	blah
>

The EDMAC macros, described in the latest issue of TUGboat (11.4, p.623ff.)
will do exactly this (and much more, but you may not need that).  However,
EDMAC is for use with the plain format, not LaTeX.  

Dominik