diff options
author | 2012-07-08 13:57:53 +0000 | |
---|---|---|
committer | 2012-07-08 13:57:53 +0000 | |
commit | 3deff2d178cb1fbae64cda899790d5bd1c296447 (patch) | |
tree | a3701e35eee741d874fde50f9932a4fc98a78a2d /mdoc_man.c | |
parent | 1135be4f8f66a39a3ea0513c742ec976d83be8c1 (diff) | |
download | mandoc-3deff2d178cb1fbae64cda899790d5bd1c296447.tar.gz mandoc-3deff2d178cb1fbae64cda899790d5bd1c296447.tar.zst mandoc-3deff2d178cb1fbae64cda899790d5bd1c296447.zip |
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 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.18 2012/07/08 11:10:13 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.19 2012/07/08 13:57:53 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org> * @@ -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; |