* Bug: Possible bug in the LaTeX exporter [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)]
@ 2014-12-12 9:51 Laurent Steffan
2014-12-12 22:38 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Laurent Steffan @ 2014-12-12 9:51 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
The bug.org file exhibits a discrepancy, which I believe to be a bug,
between the LaTeX translation of an equation with a label on the same
line and the same with a label on the following line. Or no label at
all.
I have obtained this using a minimal setup (emacs -Q).
Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.3)
of 2014-10-25 on trouble, modified by Debian
Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)
--
Laurent Steffan
[-- Attachment #2: bug.org --]
[-- Type: text/plain, Size: 273 bytes --]
#+TITLE: Possible bug in the LaTeX exporter
#+AUTHOR: Laurent Steffan
#+OPTIONS: tex:t toc:nil
\begin{equation*}\label{eq:dummy}
A_{\B_C}
\end{equation*}
\begin{equation*}
\label{eq:dummy}
A_{\B_C}
\end{equation*}
\begin{equation*}
A_{\B_C}
\end{equation*}
[-- Attachment #3: bug.tex --]
[-- Type: text/x-tex, Size: 858 bytes --]
% Created 2014-12-12 ven. 10:42
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\author{Laurent Steffan}
\date{\today}
\title{Possible bug in the \LaTeX{} exporter}
\hypersetup{
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs 24.4.1 (Org mode 8.2.10)}}
\begin{document}
\maketitle
\begin{equation*}\label{eq:dummy}
A$_{\B_{\text{C}}}$
\end{equation*}
\begin{equation*}
\label{eq:dummy}
A_{\B_C}
\end{equation*}
\begin{equation*}
A_{\B_C}
\end{equation*}
% Emacs 24.4.1 (Org mode 8.2.10)
\end{document}
[-- Attachment #4: bug.pdf --]
[-- Type: application/pdf, Size: 28842 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: Possible bug in the LaTeX exporter [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)]
2014-12-12 9:51 Bug: Possible bug in the LaTeX exporter [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)] Laurent Steffan
@ 2014-12-12 22:38 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-12-12 22:38 UTC (permalink / raw
To: Laurent Steffan; +Cc: emacs-orgmode
Hello,
Laurent Steffan <LMS@laurentsteffan.com> writes:
> The bug.org file exhibits a discrepancy, which I believe to be a bug,
> between the LaTeX translation of an equation with a label on the same
> line and the same with a label on the following line. Or no label at
> all.
In Org 8.2.10, LaTeX environment opening string is required to be alone
on its line, so your first example is not a valid environment.
This restriction is removed in Org 8.3.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-12 22:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 9:51 Bug: Possible bug in the LaTeX exporter [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)] Laurent Steffan
2014-12-12 22:38 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.