From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 10:26:48 +0200 Message-ID: <87vbqkikzb.fsf@nicolasgoaziou.fr> References: <87fvhpjnmf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAxJ2-00024A-9Y for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 04:26:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAxIs-0001gS-EP for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 04:26:16 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:44619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAxIs-0001gN-8f for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 04:26:06 -0400 In-Reply-To: (Federico Beffa's message of "Fri, 25 Jul 2014 22:39:29 +0200") 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: Federico Beffa Cc: emacs-orgmode@gnu.org 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