bug-texinfo
[Top][All Lists]
Advanced

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

Re: real subscripts and superscripts?


From: Patrice Dumas
Subject: Re: real subscripts and superscripts?
Date: Fri, 28 Nov 2014 22:41:43 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Fri, Nov 28, 2014 at 07:01:09PM +0000, Karl Berry wrote:
> 
> Is your proposal really just working around makeinfo not recognizing ^
> and _ in math in the first place?  It seems to me that might be
> implementable without too much trouble -- the parsing could maybe be
> treated like the accent commands, so that if the next thing is a
> non-lbrace single token, the braces aren't necessary.  Seems to me that
> could only help, in any case, if it's doable.  Patrice, wdyt?

I think that we should refrain from trying to convert the TeX in @math
in Texinfo.  If there is some TeX parser and converter we can embed it,
but I don't think it is worth doing it ourselves.  So, for HTML, tex4ht
can do the translation of math, and if something similar exists that
outputs simple text, fine, but otherwise, this seems to me to be a bad
idea for a Texinfo parser to parse TeX math too.

> If I may dare to generalize a tiny bit -- in principle, I'd rather that
> we recognize TeX math in the first place than invent new Texinfo
> commands to do the same thing.

I agree, but I add that I'd rather that we use specialized TeX renderers
rather than handle it ourselves.

-- 
Pat



reply via email to

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