Hi, From glMultMatrixd(3): .P Where '$times$' denotes matrix multiplication, This becomes the following HTML: <div class="Pp"></div> Where ' <math class="eqn"> <mrow><mo>×</mo></mrow> </math> ' 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

```
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:
>
> <div class="Pp"></div>
> Where '
> <math class="eqn">
> <mrow><mo>×</mo></mrow>
> </math>
> ' 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
```