From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout.scc.kit.edu (mailout.scc.kit.edu [129.13.185.202]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id sA62r2Du003627 for ; Wed, 5 Nov 2014 21:53:02 -0500 (EST) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by scc-mailout-02.scc.kit.edu with esmtp (Exim 4.72 #1) id 1XmDC0-0000io-TJ; Thu, 06 Nov 2014 03:53:00 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1XmDC0-0001wI-Rm; Thu, 06 Nov 2014 03:53:00 +0100 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1XmDC0-00077s-Po; Thu, 06 Nov 2014 03:53:00 +0100 Received: from schwarze by usta.de with local (Exim 4.77) (envelope-from ) id 1XmDBH-0006Oo-MM; Thu, 06 Nov 2014 03:52:15 +0100 Date: Thu, 6 Nov 2014 03:52:15 +0100 From: Ingo Schwarze To: tech@mdocml.bsd.lv Cc: "Anthony J. Bentley" Subject: Re: Use pretty quotes with %T Message-ID: <20141106025215.GC19471@iris.usta.de> References: <21337.1415237211@cathet.us> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21337.1415237211@cathet.us> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Anthony, Anthony J. Bentley wrote on Wed, Nov 05, 2014 at 06:26:51PM -0700: > Currently %T wraps reference titles in straight double quotes. It makes > more sense to match Dq. Arguably, that's slightly nicer, but i don't think we should change this unilaterally in mandoc. If you think it's worth it and manage to push the change to both groff and Heirloom (but please make sure that either both of them or none change it, making them disagree with each other wouldn't seem an improvement to me) then i will follow with mandoc. Yours, Ingo > Index: mdoc_term.c > =================================================================== > RCS file: /cvs/src/usr.bin/mandoc/mdoc_term.c,v > retrieving revision 1.187 > diff -u -p -u -p -r1.187 mdoc_term.c > --- mdoc_term.c 30 Oct 2014 20:05:33 -0000 1.187 > +++ mdoc_term.c 6 Nov 2014 01:24:58 -0000 > @@ -1866,6 +1866,8 @@ termp_quote_pre(DECL_ARGS) > case MDOC_Bq: > term_word(p, "["); > break; > + case MDOC__T: > + /* FALLTHROUGH */ > case MDOC_Do: > /* FALLTHROUGH */ > case MDOC_Dq: > @@ -1884,8 +1886,6 @@ termp_quote_pre(DECL_ARGS) > case MDOC_Pq: > term_word(p, "("); > break; > - case MDOC__T: > - /* FALLTHROUGH */ > case MDOC_Qo: > /* FALLTHROUGH */ > case MDOC_Qq: > @@ -1937,6 +1937,8 @@ termp_quote_post(DECL_ARGS) > case MDOC_Bq: > term_word(p, "]"); > break; > + case MDOC__T: > + /* FALLTHROUGH */ > case MDOC_Do: > /* FALLTHROUGH */ > case MDOC_Dq: > @@ -1957,8 +1959,6 @@ termp_quote_post(DECL_ARGS) > case MDOC_Pq: > term_word(p, ")"); > break; > - case MDOC__T: > - /* FALLTHROUGH */ > case MDOC_Qo: > /* FALLTHROUGH */ > case MDOC_Qq: -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv