* mandoc: Do not use a non-portable .R man(7) macro.
@ 2018-04-05 22:05 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-04-05 22:05 UTC (permalink / raw)
To: source
Log Message:
-----------
Do not use a non-portable .R man(7) macro. Neither groff nor the
heirloom-doctools support it. Work around the gap by using .BR
with an empty first argument. This was noticed more than once in
the past, but i always forgot to fix it.
Modified Files:
--------------
mandoc:
mdoc_man.c
Revision Data
-------------
Index: mdoc_man.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mdoc_man.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.124 -r1.125
--- mdoc_man.c
+++ mdoc_man.c
@@ -1408,7 +1408,7 @@ pre_it(DECL_ARGS)
if (bln->norm->Bl.type == LIST_diag)
print_line(".B \"", 0);
else
- print_line(".R \"", 0);
+ print_line(".BR \\& \"", 0);
outflags &= ~MMAN_spc;
return 1;
case LIST_bullet:
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-05 22:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 22:05 mandoc: Do not use a non-portable .R man(7) macro 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).