CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2012/07/10 13:53:12

Modified files:
        usr.bin/mandoc : man_term.c mdoc_man.c 
        regress/usr.bin/mandoc/man: Makefile 
        regress/usr.bin/mandoc/man/nf: indent.in indent.out_ascii 
        regress/usr.bin/mandoc/mdoc/Bl: Makefile 
Added files:
        regress/usr.bin/mandoc/man/HP: Makefile literal.in 
                                       literal.out_ascii macrotag.in 
                                       macrotag.out_ascii manyargs.in 
                                       manyargs.out_ascii spacing.in 
                                       spacing.out_ascii 

Log message:
multiple fixes to -Tascii .HP rendering:
* do not add an excessive blank line before the block
* in literal mode, start a new line after the tag

getting this to work requires some general (print_man_node) fixes:
* in literal mode, break the output line at the end of each
input line, not just after those input lines ending in text
* but don't break it when there was no output on the line
* and adjust the margins after the .HP tag

these general fixes require an adjustment to -Tascii .TP rendering:
* set up NOBREAK mode before the body, not after the head

finally, based on all this, implement -Tman .Bl -hang in terms of .HP

Reply via email to