From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] equations in latex equation environment with leading +/- misinterpreted Date: Tue, 13 Sep 2011 23:43:29 +0200 Message-ID: <8739g0jeym.fsf@gmail.com> References: <87mxef8o51.fsf@ucl.ac.uk> <877h5cjtd6.fsf@gmail.com> <87wrdc1d1j.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3amR-0008BR-6t for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 17:44:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3amN-0004B1-BR for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 17:44:35 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:60102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3amN-0004As-77 for emacs-orgmode@gnu.org; Tue, 13 Sep 2011 17:44:31 -0400 Received: by wyi11 with SMTP id 11so1056860wyi.0 for ; Tue, 13 Sep 2011 14:44:30 -0700 (PDT) In-Reply-To: <87wrdc1d1j.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 13 Sep 2011 20:02:16 +0100") 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 Eric S Fraga writes: > but behaviour that I can accept, especially as the easy solution is to > simply enclose the equation in a latex block: > > * equation with leading minus sign > The following equation > #+begin_latex > \begin{equation} > \label{eq:test} > y = 3 x > - 5 > + 4 > \end{equation} > #+end_latex > > This works just fine and is probably for the best in any case. Using a > latex block allows for latex specific editing (C-c '). Should have done > this in the first place! Technically, this isn't the same. The LaTeX block would be removed during an HTML export while the plain LaTeX code would be changed into an image (or "Mathjaxified", whatever that means). That's annoying because I tend to think that writing plain LaTeX environments (without any block marker) should be deprecated. Indeed, while there's a need for short mathematical LaTeX snippets, LaTeX environments can imply constructs that : - are not always related to mathematics (and should therefore be handled by Org blocks) - are too large to be called "snippets" (and should therefore be handled by Org blocks) Also, I don't know what to think about an object that you can inline on the right side but not on the left one (and I admit that's what annoys me the most, at the moment). Regards, -- Nicolas Goaziou