[Top][All Lists]

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

Re: [AUCTeX] match $ signs deactivation

From: Ralf Hemmecke
Subject: Re: [AUCTeX] match $ signs deactivation
Date: Sun, 21 Nov 2010 18:01:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101027 Thunderbird/3.1.6

Does nobody have an answer to this problem?

I am also interested in a solution of that problem. In fact, my use case is literate programming where the main document is latex, but there are \begin{chunk}...\end{chunk} environments whose contents should be controlled via mmm-mode and highlight according to the language mode inside the chunk. Of course $ should not behave like in LaTeX mode inside the chunk.

Any ideas?


On 11/15/2010 05:50 PM, Jean Eid wrote:
Dear all,

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. 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) *
[State]: this face has been set and saved.
Face used to highlight math.
Attributes: * Foreground: (sample)
* Background: (sample)
* Size:
* Font Family:
* Background pixmap:
* Dim: off
* Bold: off
* Italic: off
* Underline: off
* Strikethru: off
* Inverse Video: off

foreground and background are clicked off and not defined. Any help will
be greatly appreciated


reply via email to

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