summaryrefslogtreecommitdiffstats
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-24 22:08:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-24 22:08:50 +0000
commitac94c36809f5a1da03eaaeebcb3d23cc7d8de077 (patch)
tree1d529119a7da9c5c13c24e99e1f672745a8101a3 /mdoc_man.c
parent472637a00de4c03052114688d7473918eb455561 (diff)
downloadmandoc-ac94c36809f5a1da03eaaeebcb3d23cc7d8de077.tar.gz
Implement SYNOPSIS .Fn indentation for -Tman.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r--mdoc_man.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index a94d521e..8ea1e166 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -1091,6 +1091,9 @@ pre_fn(DECL_ARGS)
if (NULL == n)
return(0);
+ if (MDOC_SYNPRETTY & n->flags)
+ print_block(".HP 4n", MMAN_nl);
+
font_push('B');
print_node(meta, n);
font_pop();
@@ -1111,7 +1114,7 @@ post_fn(DECL_ARGS)
print_word(")");
if (MDOC_SYNPRETTY & n->flags) {
print_word(";");
- outflags |= MMAN_br;
+ outflags |= MMAN_PP;
}
}