* mdocml: implement -Tman .Va and fix -Tman .Vt for the non-SYNOPSIS case
@ 2012-07-08 13:57 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2012-07-08 13:57 UTC (permalink / raw)
To: source
Log Message:
-----------
implement -Tman .Va
and fix -Tman .Vt for the non-SYNOPSIS case
OpenBSD rev. 1.17
Modified Files:
--------------
mdocml:
mdoc_man.c
Revision Data
-------------
Index: mdoc_man.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_man.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.18 -r1.19
--- mdoc_man.c
+++ mdoc_man.c
@@ -134,7 +134,7 @@ static const struct manact manacts[MDOC_
"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;
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-08 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-08 13:57 mdocml: implement -Tman .Va and fix -Tman .Vt for the non-SYNOPSIS case schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).