From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [bug] equations in latex equation environment with leading +/- misinterpreted Date: Wed, 14 Sep 2011 09:45:23 +0100 Message-ID: <87ty8fa4ws.fsf@ucl.ac.uk> References: <87mxef8o51.fsf@ucl.ac.uk> <877h5cjtd6.fsf@gmail.com> <87wrdc1d1j.fsf@ucl.ac.uk> <8739g0jeym.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3l6c-0002hy-9D for emacs-orgmode@gnu.org; Wed, 14 Sep 2011 04:46:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3l6X-0001Nz-Lw for emacs-orgmode@gnu.org; Wed, 14 Sep 2011 04:46:06 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:64863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3l6X-0001NK-Er for emacs-orgmode@gnu.org; Wed, 14 Sep 2011 04:46:01 -0400 In-Reply-To: <8739g0jeym.fsf@gmail.com> (Nicolas Goaziou's message of "Tue, 13 Sep 2011 23:43: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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > 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). Agreed. For my use case, this is not a major issue, mind you, as my preferred export route is to PDF via LaTeX... > That's annoying because I tend to think that writing plain LaTeX > environments (without any block marker) should be deprecated. Again, agreed, but this will require a more general approach to the handling of e.g. latex blocks for export to other languages. Not easy, I would guess, unless we make more use of conversion to png for blocks. Thanks again, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.7 (release_7.7.284.g11de)