Thanks a lot. 2011/5/19 Charles Forsyth <[email protected]>: > .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 > > ---------- Mensaje reenviado ---------- > From: hugo rivera <[email protected]> > To: Fans of the OS Plan 9 from Bell Labs <[email protected]> > Date: Thu, 19 May 2011 15:09:23 +0200 > Subject: [9fans] line numbers in troff > 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 >
-- Hugo
