bug-texinfo
[Top][All Lists]
Advanced

[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: Sat, 15 Oct 2022 13:47:12 +0200
User-agent: Mutt/2.2.7+47 (8681885b) vl-149028 (2022-10-10)

On 2022-10-15 12:04:18 +0100, Gavin Smith wrote:
> On Fri, Oct 14, 2022 at 09:27:22PM -0500, Jacob Bachmeyer wrote:
> > Since "var" actually is a TeX macro (Texinfo works by adjusting TeX's
> > configuration to make @ introduce commands, like backslash does in plain
> > TeX), would the correct syntax be "@math{\var{base} \le 16}" for the example
> > above?
> 
> No, "plain TeX" means the plain TeX format of Donald Knuth.  It does
> not include Texinfo commands like @var.  If @math{\var{base} \le 16} does
> work then this is only by accident, and it will only work with texinfo.tex 
> not anywhere else.

But since it is used only with texinfo.tex, this is fine. I suspect
that texinfo.tex defines this macro, and if it didn't, the writer of
the manual could do that (but texinfo.tex is the right place in order
to ensure a style consistent with the use of @var outside of @math).

-- 
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]