[Top][All Lists]

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

Re: [AUCTeX] match $ signs deactivation

From: Ralf Angeli
Subject: Re: [AUCTeX] match $ signs deactivation
Date: Tue, 23 Nov 2010 23:19:43 +0100

* Jean Eid (2010-11-15) writes:

> I would like to deactivate the math-face completely. I will describe my 
> problem just in case someone has a better solution.
> I use statweave to work with latex and R (statistical program) I also 
> have MMMmode on. Everything works but the following. In R when I call 
> the variable  "Y" that is in the data set "X" I can call it through the 
> command X$Y . As you see this $ sign will never be matched and  
> font-lock is having problems with this.

If you didn't use MMM mode I'd say, add the environment enclosing the R
code to `LaTeX-verbatim-environments'.  But with MMM mode, I'm not sure.
Doesn't MMM mode take care of keeping syntax tables and font locking
separate in the different parts of the document?

> I tried to change the math-face 
> to have nothing defined on it but it does not work ie right now I have
>  Math Face: (sample) *

AUCTeX uses `font-latex-math-face', not `math-face', see
(info "(auctex)Fontification of math") <-- Type `C-x C-e' here.

Note that disabling the face is a purely cosmetic change.  The syntax
states will likely still be incorrect.


reply via email to

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