CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2010/07/01 16:31:52
Modified files: usr.bin/mandoc : libmdoc.h mdoc.c mdoc_action.c mdoc_macro.c Log message: In the mdoc(7) parser, inspect roff registers early such that all parts of the parser can use the resulting cues. In particular, this allows to use .nr nS to force SYNOPSIS-style .Nm indentation outside the SYNOPSIS as needed by ifconfig(8). To actually make this useable, .Pp must rewind .Nm, or the rest of the section would end up indented. Implement a quick hack for now, a generic solution can be designed later. ok kristaps@ sobrado@