CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/01/03 18:15:39
Modified files:
regress/usr.bin/mandoc: Makefile
usr.bin/mandoc : man_html.c man_term.c
Added files:
regress/usr.bin/mandoc/man: Makefile Makefile.inc
regress/usr.bin/mandoc/man/IP: Makefile literal.in
literal.out_ascii manyargs.in
manyargs.out_ascii width.in
width.out_ascii
regress/usr.bin/mandoc/man/IP: Makefile literal.in
literal.out_ascii manyargs.in
manyargs.out_ascii width.in
width.out_ascii
regress/usr.bin/mandoc/man/nf: Makefile indent.in
indent.out_ascii
Log message:
Multiple man(7) .IP and .TP fixes started during p2k10:
Affecting both -Tascii and -Thtml:
* The .IP HEAD uses the second argument as the width, not the last one.
* Only print the first .IP HEAD argument, not all but the last.
Affecting only -Tascii:
* The .IP and .TP HEADs must be printed without literal mode,
but literal mode must be restored afterwards.
* After the .IP and .TP bodies, we only want term_newln(), not
term_flushln(), or we would get two blank lines in literal mode.
* The .TP HEAD does not use TWOSPACE, just like .IP doesn't either.
* In literal mode, clear NOLPAD after each line, or subsequent lines
would get no indentation whatsoever.
Affecting only -Thtml:
* Only print next-line .TP children, instead of all but the first.
OK kristaps@ on the -Tascii part; and:
"Can you work this into man_html.c, too?"