On 13-Feb-09 16:18:19, Scott Moore wrote: > > Keeping with the current thread > > Re: Allowing user also to check if a line starts with > horizontal space > > What affect would this have on the .nm macro ? > > Further, would this provide for the ability to insert > numbered blank lines in the text ? Is there another > way to insert a numbered blank line in numbered line > output that does not rely on blank lines in the source > text ? > > Scott
Not sure what you mean by "does not rely on blank lines in the source text", but the following technique inserts a consecutively numbered blank line (and, technically speaking, is not a blank line in the source text): .nm 1 This is line number 1 .br \& .br This is line number 3 (You do need the "\&"; if you delete it so that there is simply a blank line in input, you get a blank line in output but the numbering is skipped). You could wrap the above in a macro: .de nbl .br \& .br .. .blm .nm 1 This is line number 1 .nbl This is line number 3 Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <[email protected]> Fax-to-email: +44 (0)870 094 0861 Date: 14-Feb-09 Time: 10:03:21 ------------------------------ XFMail ------------------------------
