From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Stansell Subject: Re: fill paragraph: math and latex environments Date: Wed, 3 Jul 2013 15:38:30 +0100 Message-ID: References: <87mx0osk29.fsf@gmail.com> <878vc8h33x.fsf@gmail.com> <874nmwrwsp.fsf@gmail.com> <87wqzqdv1u.fsf@gmail.com> <87zju4opai.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuOCg-00071W-6c for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 10:38:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuOCX-00008Y-8r for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 10:38:42 -0400 Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]:62226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuOCX-00007L-0I for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 10:38:33 -0400 Received: by mail-ie0-f171.google.com with SMTP id qd12so558363ieb.30 for ; Wed, 03 Jul 2013 07:38:30 -0700 (PDT) In-Reply-To: <87zju4opai.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas, Thanks for your reply. > If we allow \[...\] constructs to be an element, they cannot be > recognized as such within paragraphs. So > > Some text \[1+1\] and some other text > > will not be recognized anymore, even though any latex editing mode > supports it. Again, I think it's not worth loosing it. > > Also, using \begin{...}...\end{...} environments is not really an issue > with editing facilities in Emacs (e.g., yasnippets). I'm sorry, but I don't fully understand your explanation as I don't know what you mean by an "element" in this context? Also, am I missing something about the latex? Do you want to be able to use display style maths inside a sentence (ie. avoid placing the maths on a new line but have it formatted in display style)? That would seem strange as that's not what it's for. I don't, therefore, see why anyone would want to write Some text \[1+1\] and some other text as in the resulting processed document it will look like Some text 1+1 and some other text I think one should instead write Some text \(1+1\) and some other text or Some text $1+1$ and some other text which, in the processed document, will look like Some text 1+1 and some other text If someone wants a display maths equation they could write it in their org file as Some text \[ 1+1 \] and some other text so that the look of the org file resembles more closely that of the processed document. > Also, using \begin{...}...\end{...} environments is not really an issue > with editing facilities in Emacs (e.g., yasnippets). I agree with you there. It's not a big deal type, but I do think \[ 1+1 \[ looks a lot nicer and cleaner in the org file than \begin{displaymath} 1+1 \end{displaymath} Kind regards, Paul