diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-04 01:23:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-04 01:23:18 +0000 |
commit | 41394e59b698fac5412e3a0f5405a777debd033f (patch) | |
tree | f4266a1c2184edd0496d69e5244905874dda4e58 /mdoc.h | |
parent | 5b840cdde94e169a11d49e62d17d79650e968693 (diff) | |
download | mandoc-41394e59b698fac5412e3a0f5405a777debd033f.tar.gz |
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?"
Diffstat (limited to 'mdoc.h')
0 files changed, 0 insertions, 0 deletions