CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2010/05/19 18:58:02

Modified files:
        usr.bin/mandoc : main.c man.c man.h man_action.c man_html.c 
                         man_macro.c man_term.c man_validate.c mandoc.h 
                         mdoc.c mdoc.h roff.c roff.h 
Added files:
        usr.bin/mandoc : roff.7 

Log message:
Support nested roff instructions:
* allow roff_parseln() to be re-run
* allow roff_parseln() to manipulate the line buffer offset
* support the offset in the man and mdoc libraries
* adapt .if, .ie, .el, .ig, .am* and .de* support
* interpret some instructions even in conditional-negative context
Coded by kristaps during the last day of the mandoc hackathon.

To avoid regressions in the OpenBSD tree, commit this together
with some small local additions:
* detect roff block end "\}" even on macro lines
* actually implement the ".if n" conditional
* ignore .ds, .rm and .tr in libroff

Also back my old .if/.ie/.el-handling out of libman, reverting:
man.h 1.15 man.c 1.25 man_macro.c 1.15 man_validate.c 1.19
man_action.c 1.15 man_term.c 1.28 man_html.c 1.9.

Reply via email to