From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: fill paragraph: math and latex environments Date: Mon, 17 Sep 2012 21:16:18 +0200 Message-ID: <878vc8h33x.fsf@gmail.com> References: <87mx0osk29.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDgrm-0003fF-RC for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 15:20:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDgrl-0002W5-Tm for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 15:20:22 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:54370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDgrl-0002TT-Jv for emacs-orgmode@gnu.org; Mon, 17 Sep 2012 15:20:21 -0400 Received: by wibhn17 with SMTP id hn17so2481194wib.12 for ; Mon, 17 Sep 2012 12:20:20 -0700 (PDT) In-Reply-To: <87mx0osk29.fsf@gmail.com> (Albert Z. Wang's message of "Mon, 17 Sep 2012 12:14:38 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Albert Z. Wang" Cc: emacs-orgmode@gnu.org Hello, azw@fastmail.fm (Albert Z. Wang) writes: > I've just recently been having an issue I was wondering if anybody > could help with, namely, that fill-paragraph does not seem to work as > expected. > > For display math equations delimited as > \[ > a^2 + b^2 = c^2 > \] > the equation gets folded inline -- seems to work fine with explicit > environments though ( \begin{equation*}...\end{equation*} ). Has > anybody else experienced this? Tweaking paragraph-start and > paragraph-separate do not seem to be doing the trick... Yes, \[...\] constructs are considered as inline objects (they belong to a paragraph, so they will be filled along with the paragraph). On the other hand, \begin{equation*} environments are full-fledged elements: they do not belong to a paragraph and are not filled. Regards, -- Nicolas Goaziou