help / color / mirror / Atom feed
From: "Anthony J. Bentley" <>
Subject: Implicit whitespace around inline equations
Date: Thu, 13 Jul 2017 19:00:59 -0600	[thread overview]
Message-ID: <> (raw)


From glMultMatrixd(3):

    Where '$times$' denotes matrix multiplication,

This becomes the following HTML:

    <div class="Pp"></div>
    Where '
    <math class="eqn">
    ' 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},
 	{"mrow",	0},
 	{"mi",		0},
 	{"mn",		0},
 To unsubscribe send an email to

             reply	other threads:[~2017-07-14  1:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14  1:00 Anthony J. Bentley [this message]
2017-07-14 12:56 ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: Implicit whitespace around inline equations' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).