From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id fcca2ba5 for ; Thu, 13 Jul 2017 20:01:02 -0500 (EST) Received: by mail-it0-f42.google.com with SMTP id k192so9970069ith.1 for ; Thu, 13 Jul 2017 18:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cathet-us.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:mime-version:content-id:date:message-id; bh=6xv5kHmJyQK55xqXE0z6Uug4AInKi/C9Tf9Gjr8Jfp8=; b=uaD9Z0iklH7oG/z85PDMv1KnIfQh7xoM9AY2BmSaMTrJJ9VqSUQOBlT5iTWGv3A9Tj EU1AVRML55i0vgipSk6cQw0BXjWfOKjtOly09VXheveJGsSj51L45YUDpYPlB4axb98T Lqh8Db3kRA82sHMz085Tv6hNCHlzwITU7m4RZlsCH/J3tZBGvCz6nhZOa+4cOrS0rPKy h+PSfxQ7NkBliV969J7vmPYyT6G8/9k8ipxaOE4iGDi/TwlZRpfYiQ7HcX9abdIhr7sR wqp4H7oPHzZoVF0lctYvY7OK74MJvyB8RZIXz3FBQaWDiQOI+YWOPDMfJ5tu+DqcZ3W5 BlyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:mime-version:content-id :date:message-id; bh=6xv5kHmJyQK55xqXE0z6Uug4AInKi/C9Tf9Gjr8Jfp8=; b=oLjgTJAixtHY/BKhA64VixziNkXei1UvzQxtDUHUIbn+8EFwCax4h6Zr+aMorjubOH MXgRZhVX+WXIFslHGeZhPwsQ3+AR9TPVQeMYp7nHHwFA2XWnfi02DSWTb0cpRdfxHmyo hISx5g5+HW2NgKWvCYLt+FPrHKTdZ5BlTB0pY2CJA1M2EzvLjn1eZPD1HgpP4uu68+5k Zp/5vp19phXcHkDaZTy8GCwq6P2zNnioqnjVqe8Rtd6L0+zWL74bWecdSXobRsY1dK4G e9nNM7h90EcHyJ3gqK1hlFW4ZJQ+THsm+if1A/l6OwPbSb4JPY4MswuGdVW6pTvUjSa4 SZLw== X-Gm-Message-State: AIVw113pYd/dC4bGP48DD17HzPHobflX8xrywNe93nVwX4i4umtLzMKh /h6BTQ9k7CNW6XLoo6I= X-Received: by 10.36.53.70 with SMTP id k67mr1434137ita.79.1499994060630; Thu, 13 Jul 2017 18:01:00 -0700 (PDT) Received: from cathet.us. (75-161-120-32.albq.qwest.net. [75.161.120.32]) by smtp.gmail.com with ESMTPSA id o17sm4108344ioe.1.2017.07.13.18.00.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Jul 2017 18:01:00 -0700 (PDT) Sender: "Anthony J. Bentley" Received: from cathet.us (localhost [127.0.0.1]) by cathet.us. (OpenSMTPD) with ESMTP id decc709e for ; Thu, 13 Jul 2017 19:00:59 -0600 (MDT) From: "Anthony J. Bentley" To: tech@mdocml.bsd.lv Subject: Implicit whitespace around inline equations X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <68065.1499994058.1@cathet.us> Date: Thu, 13 Jul 2017 19:00:59 -0600 Message-ID: <63490.1499994059@cathet.us> Hi, >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. Removing HTML_NLAROUND helps, but still results in a space after the first ' that I haven't figured out: Index: html.c =================================================================== RCS file: /cvs/src/usr.bin/mandoc/html.c,v retrieving revision 1.85 diff -u -p -r1.85 html.c --- html.c 23 Jun 2017 02:31:39 -0000 1.85 +++ html.c 13 Jul 2017 16:02:41 -0000 @@ -82,7 +82,7 @@ static const struct htmldata htmltags[TA {"code", 0}, {"small", 0}, {"style", HTML_NLALL | HTML_INDENT}, - {"math", HTML_NLALL | HTML_INDENT}, + {"math", HTML_NLINSIDE | HTML_INDENT}, {"mrow", 0}, {"mi", 0}, {"mn", 0}, -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv