[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: behavior of @math with HTML output

From: Vincent Lefevre
Subject: Re: behavior of @math with HTML output
Date: Fri, 14 Oct 2022 15:50:51 +0200
User-agent: Mutt/2.2.7+47 (8681885b) vl-149028 (2022-10-10)

On 2022-10-14 15:15:40 +0200, Patrice Dumas wrote:
> On Fri, Oct 14, 2022 at 01:41:20PM +0200, Vincent Lefevre wrote:
> > On 2022-10-14 11:30:33 +0200, Patrice Dumas wrote:
> > > "In general, the contents of @math or @displaymath should be plain TeX 
> > > only, with no interspersed Texinfo commands."
> > 
> > I assumed that this was for commands that exist in plain TeX, which
> > is not the case of @var.
> No, it is for all the @-commands, and, in my opinion, the sentence is
> clear as is.  But do not hesitate to propose changes in the manual if
> you think it can be ameliorated.

What I thought was that plain TeX was rendered in a better way, but
the Texinfo commands (thoses that makes sense in math expressions)
were still keeping their semantics but could have some rendering
issues (for instance, @strong and @sub would be ambiguous for TeX).

The manual could say

  In general, the contents of @math or @displaymath should be plain
  TeX only, with no interspersed Texinfo commands, which may not be
  supported at all.

> > There is another issue: math mode
> > disables kerning (because a sequence of letters typically means that
> > this is a product), unless some command is used to specify that this
> > is actually text. Not a major issue, but incorrect typography can be
> > disturbing.
> I think that this is ok in printed output and in Info.  In HTML I don't
> know, but I do not think that it is important.  We try to avoid ligatures
> in math mode.

This is not ligatures, but kerning. The lack of kerning in any kind
of slanted text introduces ugly and disturbing spaces. But there are
normally no issues with HTML rendering, where kerning is always used
in practice.

Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]