tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: "Anthony J. Bentley" <anthony@anjbe.name>
Cc: tech@mdocml.bsd.lv
Subject: Re: Implicit whitespace around inline equations
Date: Fri, 14 Jul 2017 14:56:25 +0200	[thread overview]
Message-ID: <20170714125625.GB32226@athene.usta.de> (raw)
In-Reply-To: <63490.1499994059@cathet.us>

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>&#215;</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

      reply	other threads:[~2017-07-14 12:56 UTC|newest]

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

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20170714125625.GB32226@athene.usta.de \
    --to=schwarze@usta.de \
    --cc=anthony@anjbe.name \
    --cc=tech@mandoc.bsd.lv \
    --cc=tech@mdocml.bsd.lv \
    --subject='Re: Implicit whitespace around inline equations' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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