Hello,

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.

Thanks,
eric
# -*- coding: utf-8; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fr...@ucl.ac.uk
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil

* 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.

  A snippet of the \LaTeX code generated on export is here:
  #+begin_example
    The following equation
  \begin{equation}
  \label{eq:test}
  y = 3 x
\begin{itemize}
\item 5
\item 4
\end{itemize}
  \end{equation} illustrates a problem in \LaTex export where the
  leading arithmetic operators are interpreted as list entries.
  #+end_example
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.261.g2178)

Reply via email to