From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id dcdc8b0b for ; Thu, 5 Apr 2018 17:05:38 -0500 (EST) Date: Thu, 5 Apr 2018 17:05:38 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Do not use a non-portable .R man(7) macro. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: <84f5394a916c659d@fantadrom.bsd.lv> 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