[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed mat
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math |
Date: |
Fri, 14 Nov 2008 19:20:58 +0100 |
* Rodolfo Medina (2008-11-14) writes:
> 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 <address@hidden> writes:
>
>> This is not easy to fix. How about writing it like this?
>>
>> bla bla bla
>> $$
>> long equation
>> = over two lines
>> $$
>> bla bla
>> bla
>
>
> Thanks for the suggestion. But why is it so hard? After all, the problem
> does
> not exist for the text preceding the equation.
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.
--
Ralf
- [Bug-AUCTeX] Filling paragraphs with double dollar displayed math, Rodolfo Medina, 2008/11/12
- [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Rodolfo Medina, 2008/11/13
- Re: [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Ralf Angeli, 2008/11/13
- [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Rodolfo Medina, 2008/11/14
- Re: [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math,
Ralf Angeli <=
- [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Rodolfo Medina, 2008/11/14
- Re: [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Ralf Angeli, 2008/11/15
- [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Rodolfo Medina, 2008/11/15
- Re: [Bug-AUCTeX] Re: Filling paragraphs with double dollar displayed math, Ralf Angeli, 2008/11/16