emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] equations in latex equation environment with leading +/- misinterpreted
@ 2011-09-08  7:54 Eric S Fraga
  2011-09-13 16:32 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2011-09-08  7:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Example of latex export bug --]
[-- Type: text/org, Size: 841 bytes --]

# -*- coding: utf-8; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fraga@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

[-- Attachment #3: Type: text/plain, Size: 120 bytes --]


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.261.g2178)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-14  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08  7:54 [bug] equations in latex equation environment with leading +/- misinterpreted Eric S Fraga
2011-09-13 16:32 ` Nicolas Goaziou
2011-09-13 19:02   ` Eric S Fraga
2011-09-13 21:43     ` Nicolas Goaziou
2011-09-14  8:45       ` Eric S Fraga

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