* 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 <[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 > > > 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 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
