diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-08 13:57:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-08 13:57:53 +0000 |
commit | c5aaf69a54301c1ddf9fcf8f6c20b73dce26abb5 (patch) | |
tree | 1ee3592ca5e79a91c3aefb7607f212b2150b358b /mdoc_man.c | |
parent | 2935e95e7011981f3751bdbcf10611989ebda4ec (diff) | |
download | mandoc-c5aaf69a54301c1ddf9fcf8f6c20b73dce26abb5.tar.gz |
implement -Tman .Va
and fix -Tman .Vt for the non-SYNOPSIS case
OpenBSD rev. 1.17
Diffstat (limited to 'mdoc_man.c')
-rw-r--r-- | mdoc_man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ static const struct manact manacts[MDOC_MAX + 1] = { "variable \\fIerrno\\fP is set to indicate the error." }, /* Rv */ { NULL, NULL, NULL, NULL, NULL }, /* St */ - { NULL, NULL, NULL, NULL, NULL }, /* _Va */ + { NULL, pre_enc, post_enc, "\\fI", "\\fP" }, /* Va */ { NULL, pre_vt, post_vt, NULL, NULL }, /* Vt */ { NULL, pre_xr, NULL, NULL, NULL }, /* Xr */ { NULL, NULL, post_percent, NULL, NULL }, /* _%A */ @@ -875,7 +875,7 @@ static void post_vt(DECL_ARGS) { - if (MDOC_BODY != n->type) + if (MDOC_SYNPRETTY & n->flags && MDOC_BODY != n->type) return; mm->need_space = 0; |