From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [129.13.231.82]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 38a1a37a for ; Fri, 14 Jul 2017 07:56:29 -0500 (EST) Received: from asta-nat.asta.uni-karlsruhe.de ([172.22.63.82] helo=hekate.usta.de) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1dW08x-0001LY-74; Fri, 14 Jul 2017 14:56:28 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1dW08v-0007iC-RF; Fri, 14 Jul 2017 14:56:25 +0200 Received: from athene.usta.de ([172.24.96.10]) by donnerwolke.usta.de with esmtp (Exim 4.84_2) (envelope-from ) id 1dW08v-0008QL-He; Fri, 14 Jul 2017 14:56:25 +0200 Received: from localhost (athene.usta.de [local]) by athene.usta.de (OpenSMTPD) with ESMTPA id 01f4cb7c; Fri, 14 Jul 2017 14:56:25 +0200 (CEST) Date: Fri, 14 Jul 2017 14:56:25 +0200 From: Ingo Schwarze To: "Anthony J. Bentley" Cc: tech@mdocml.bsd.lv Subject: Re: Implicit whitespace around inline equations Message-ID: <20170714125625.GB32226@athene.usta.de> References: <63490.1499994059@cathet.us> X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <63490.1499994059@cathet.us> User-Agent: Mutt/1.6.2 (2016-07-01) Hi Anthony, Anthony J. Bentley wrote on Thu, Jul 13, 2017 at 07:00:59PM -0600: > From glMultMatrixd(3): > > .P > Where '$times$' denotes matrix multiplication, > > This becomes the following HTML: > >
> Where ' > > × > > ' denotes matrix multiplication, > > The newlines before and after the math element result in extra spaces > between the ' and the multiplication symbol. Fixing this might get ugly because the inline eqn(7) handling in roff.c is a hack, because you don't want preceding text .EQ a = b .EN following text to render as preceding texta = bfollowing text and because handling of source code spacing in -Thtml is tricky. The impact of the issue is relatively small, just some bogus horizontal spacing. So i have added it to the TODO list. Similarly for opprime, which is potentially hard to implement and does not seem very pressing. But thanks for reporting! Ingo -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv