bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] [Sanjoy Mahajan <address@hidden>] Bug#598117: auctex: \


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] [Sanjoy Mahajan <address@hidden>] Bug#598117: auctex: \placeformula not in ConTeXt-paragraph-commands-regexp
Date: Sun, 26 Sep 2010 20:38:12 +0200

* Davide G. M. Salvetti (2010-09-26) writes:

> From: Sanjoy Mahajan <address@hidden>

> In ConTeXt mode, \placeformula (and \placetable etc.) is not recognized
> as a command that starts a paragraph.  Thus, text like
>
>   An alternative approach is
>   \placeformula\startformula
>   a = bc
>   \stopformula
>
> unfortunately gets reformatted by M-q to
>
>   An alternative approach is \placeformula\startformula a = bc
>   \stopformula
>
> (whereas I think the text in this case shouldn't be changed).
>
> A fix that works for me is the following diff (but feel free to correct
> it if I've misunderstood the regexp):

I'd just add the affected commands to
`ConTeXt-extra-paragraph-commands'.

Are the names of these commands different in other ConTeXt interface
languages?  Then we might have to think about adding two variables in
context-en.el and context-nl.el.

-- 
Ralf



reply via email to

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