From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Bug: wrong interpretation of LaTeX [8.2.6 (8.2.6-47-ge3d2c1-elpa @ c:/Users/beffa/.emacs.d/elpa/org-20140526/)] Date: Sat, 26 Jul 2014 11:20:33 +0200 Message-ID: References: <87fvhpjnmf.fsf@nicolasgoaziou.fr> <87vbqkikzb.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAy9b-0001I2-KA for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 05:20:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAy9a-0002Yz-HZ for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 05:20:35 -0400 Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:59094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAy9a-0002Yt-9t for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 05:20:34 -0400 Received: by mail-lb0-f180.google.com with SMTP id v6so4207582lbi.11 for ; Sat, 26 Jul 2014 02:20:33 -0700 (PDT) In-Reply-To: <87vbqkikzb.fsf@nicolasgoaziou.fr> 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: emacs-orgmode@gnu.org, Nicolas Goaziou I understand that. However, using \[...\] inline within a paragraph is not the intended use of \[...\]. The use of \[...\] is for mathematical expressions which you want to stand out, on their own lines. For inline mathematical expressions there are the constructs \(...\) and $...$. Regards, Fede On Sat, Jul 26, 2014 at 10:26 AM, Nicolas Goaziou wrote: > Federico Beffa writes: > >> Of course \[ 1+1 \] is valid LaTeX syntax, just as inline >> \begin{displaymath} 1+1 \end{displaymath} is valid. > > But \begin{displaymath} 1+1 \end{displaymath} isn't valid in an Org > paragraph. > >> In my opinion a construct which will be displayed on a line by itself >> and with some space separating it from the preceding and the following >> text lines such as "\[ ... \]" would be better represented as a >> latex-environment and not an inline latex-fragment. In this way the >> org-mode text representation with proper fill-paragraph handling would >> be much more readable and consistent with the meaning of the syntax >> that it borrowed. > > That would prevent \[...\] to be recognized within a paragraph, as in > the example above. I don't think it's worth removing it as long as there > is a latex-environment alternative for it. > > > Regards, > > -- > Nicolas Goaziou