.nm 1 turns on line number mode
.nm 0 turns it off
.nn N turns it off for the next N lines
.nm 1 M   numbers every M lines following

there are other options
--- Begin Message ---
Hello,
usually, when writting drafts for somebody else to review, its useful
to have line numbers printed at the beginning of each line.
How would you implement that in troff? I never written a macro in
troff, so some basic pointers would be enough for me (e.g. some good
troff book).
Thanks,

-- 
Hugo

--- End Message ---

Reply via email to