From: Nicolas Goaziou <n.goaziou@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] equations in latex equation environment with leading +/- misinterpreted
Date: Tue, 13 Sep 2011 18:32:21 +0200 [thread overview]
Message-ID: <877h5cjtd6.fsf@gmail.com> (raw)
In-Reply-To: <87mxef8o51.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 08 Sep 2011 08:54:50 +0100")
Hello,
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> the attached org file illustrates a problem with the latex exporter in
> which any line within a \begin{equation}...\end{equation} that begins
> with a + or - is interpreted as a list item.
>
> It's easy enough to avoid this problem by either reformatting the lines
> in question or by enclosing the equation block in a LATEX org block.
> Therefore, there's no urgency in addressing this bug.
[...]
--8<---------------cut here---------------start------------->8---
> * equation with leading minus sign
> The following equation
> \begin{equation}
> \label{eq:test}
> y = 3 x
> - 5
> + 4
> \end{equation} illustrates a problem in \LaTex export where the
> leading arithmetic operators are interpreted as list entries.
--8<---------------cut here---------------end--------------->8---
I understand your concern, but, as far as I can tell, that's not a bug.
Lists have precedence over LaTeX snippets. In other words, you're asking
to start a list here, and Org starts one.
Also, that this kind of line won't appear automatically[1] (during
filling), so Org assumes it's here on purpose.
Regards,
[1] Now, if it does, that's indeed a bug.
--
Nicolas Goaziou
next prev parent reply other threads:[~2011-09-13 16:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 7:54 [bug] equations in latex equation environment with leading +/- misinterpreted Eric S Fraga
2011-09-13 16:32 ` Nicolas Goaziou [this message]
2011-09-13 19:02 ` Eric S Fraga
2011-09-13 21:43 ` Nicolas Goaziou
2011-09-14 8:45 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877h5cjtd6.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).