bug-texinfo
[Top][All Lists]
Advanced

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

Re: MathJax support in texi2any


From: Patrice Dumas
Subject: Re: MathJax support in texi2any
Date: Tue, 13 Oct 2020 16:05:44 +0200

On Tue, Oct 13, 2020 at 01:35:56PM +0200, Christopher Dimech wrote:
> <html><head></head><body><div style="font-family: Verdana;font-size: 
> 12.0px;"><div>&nbsp;</div>
> 
> <div>The distinction between the variant of Tex the user codes should 
> remain.</div>
> 
> <div>&nbsp;</div>
> 
> <div>For plain tex, the command should remain &quot;@tex @end tex&quot;. As 
> Latex Syntax</div>
> 
> <div>is much different, there should be some command like &quot;@latex @end 
> latex&quot;.</div>
> 
> <div>&nbsp;</div>
> 
> <div>Mxing creates too many problems to those making modifications. One 
> should</div>
> 
> <div>stick with the same syntax trype according to the variant a user is 
> actually</div>
> 
> <div>coding with.<br/>

I agree in principle, but note that some manuals have already used @tex
for LaTeX, for instance the Singular manual.  Right now texi2any
actually more or less accepts that with the --init latex2html.pm (for
LaTeX in @tex and @math) and --init tex4ht.pm (for TeX in @tex and a mix
of texinfo and TeX in @math), but I agree that it is confusing and it
would be better to have @latex, but LaTeX is not supported by texi2any.
I wanted to do an output in LaTeX, but I haven't found the time in like
5 years...

> &nbsp;</div>
> 
> <div>However, when transforming to html, texinfo should parse the respective 
> variant</div>
> 
> <div>with having the user specify any html tags.</div>

You mean without?

In any case, there is no perfect solution here, as when outputting html
it is not easy to select the @tex/@latex blocks tht should be used.  One
can use the conditionals, but then there is an ambiguity on whether they
are for html or TeX output.  It is possible to use double conditionals
but then it becomes tedious.

-- 
Pat



reply via email to

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