Re: Texmode does not reconize math mode automatically
RS <w.m.l <at> gmx.net>
2006-10-20 16:28:36 GMT
On 20.10.2006 17:47, Per Ting wrote:
> Robert,
>
> As I stated in my original posting, it worked fine in Aug. 21 release. When
> I upgraded to the latest version (Sept. 14 version) it stopped working. I
> have tried many enviornments, including $..$ and \[...\]. It has not worked
> with any environment I have tried.
>
> Can you tell me what is the difference between 8/21 and 9/14 releases of
> Texmode? Is there a way that I can get a copy of the 8/21 release since it
> worked for me beautifully.
The *only* difference between these releases is in line 48 of _TeXmode.edt:
IfOK(''Goto(9);CMD(|Next Bullet|);'');',>
where the previous version had:
IfOK(''Goto(9);CMD(""Next Bullet"");'');',>
That shouldn't make a difference, though.
Could you send the _Installation.log, please?
To find out what goes wrong, you can temporarily replace the lines 24+
in _TeXmode.edt with:
:checkmath::
FindInString("%%%!0%%","%%%!1%%",2,3);
IfOK(!"Prompt('""%!1"" IN switch stack:%\%!0');JMP('math');",>
!"Prompt('""%!1"" NOT in switch stack:%\%!0');");
Return;
For each of the defined switches, this will tell you whether it's in the
stack of highlighting switches (a list separated with "%"). What does it
say when you type "\(`a" (with the correct prefix)?
Regards,
Robert.