emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Laurent Steffan <LMS@laurentsteffan.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Possible bug in the LaTeX exporter [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)]
Date: Fri, 12 Dec 2014 10:51:48 +0100	[thread overview]
Message-ID: <20141212095148.GA5134@frejya.laurentsteffan.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-12-12  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12  9:51 Laurent Steffan [this message]
2014-12-12 22:38 ` Bug: Possible bug in the LaTeX exporter [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)] Nicolas Goaziou

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=20141212095148.GA5134@frejya.laurentsteffan.com \
    --to=lms@laurentsteffan.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).