Rodolfo Medina (2008-11-13) writes:

>>>> The problem only occurs when the displayed equation is two or more lines
>>>> long, and only for the text succeding the equation, not for the preceding
>>>> text.  So:
>>
>>>> bla bla bla
>>>> $$ long equation
>>>> = over two lines$$
>>>> bla bla <M-q>
>>>> bla
>>>>
>>>> becomes:
>>>>
>>>> bla bla bla
>>>> $$ long equation
>>>> = over two lines$$ bla bla bla


Ralf Angeli <[EMAIL PROTECTED]> writes:

>>> This is not easy to fix.  How about writing it like this?
>>>
>>> bla bla bla
>>> $$
>>> long equation
>>> = over two lines
>>> $$
>>> bla bla
>>> bla



Rodolfo:

>> Thanks for the suggestion.  But why is it so hard?  After all, the problem
>> does not exist for the text preceding the equation.



Ralf:

> In case of the preceding text it is easy to find the paragraph boundary
> because there is a line starting with $$.  Determination of paragraph
> starts or separators usually works by looking at the start of a line.
> In AUCTeX there is also code that looks at the end of a line, but this
> is only used in LaTeX mode.  Plain TeX mode relies on Emacs facilities
> for filling.


Do you mean that in LaTeX mode the problem would be solved?  Then I can switch
to LaTeX mode even if the file is written in plain TeX.  But I did: `M-x
LaTeX-mode RET' but the problem persists.

Rodolfo



_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to