auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Math minor mode for all AUCTeX modes


From: David Kastrup
Subject: Re: [AUCTeX-devel] Math minor mode for all AUCTeX modes
Date: Thu, 08 Feb 2007 23:51:27 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> Is there a reason LaTeX Math mode is specific to LaTeX mode?  There
> must be at least a common set of macros for plain TeX, LaTeX, probably
> also ConTeXt and to some extent Texinfo.  Shouldn't we provide a math
> minor mode for all of those major modes?

Well, and AMSTeX-mode (should be pretty close to plain+AMSmath).
Differences are probably small: plain TeX uses {a\over b} instead of
\frac{a}{b}, and {a\choose b} instead of \binom{a}{b} (which is only
available with AMSLaTeX, anyway).

ConTeXt will be close to plain TeX.

> The reason I'm asking this is that the last change to tex-fold.el
> broke folding for all modes but LaTeX mode because the file
> evaluates `LaTeX-math-default' when being loaded.  I don't really
> want to require latex.el to fix that.  A better way out of this
> would be to make tex-fold.el more aware of differences between
> AUCTeX modes and use specific macro sets per mode.

Should be doable.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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