From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Davis Subject: Bug: LaTeX export #+NAME failing [8.3.1 (release_8.3.1-123-g823cad @ /home/amdavis/src/org-mode/lisp/)] Date: Tue, 15 Sep 2015 20:08:45 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114136486442e2051fcec06b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbwXF-0006VE-Po for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 16:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbwXA-0003Ya-LD for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 16:09:01 -0400 Received: from authsmtp01.uchicago.edu ([128.135.12.121]:43899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbwXA-0003YS-Gb for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 16:08:56 -0400 Received: from mail-yk0-f173.google.com (mail-yk0-f173.google.com [209.85.160.173]) (Authenticated sender: amdavis) by authsmtp01.uchicago.edu (Postfix) with ESMTP id 4C9484980B9 for ; Tue, 15 Sep 2015 15:08:55 -0500 (CDT) Received: by ykdt18 with SMTP id t18so177621914ykd.3 for ; Tue, 15 Sep 2015 13:08:55 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a114136486442e2051fcec06b Content-Type: text/plain; charset=UTF-8 Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ #+CAPTION: Plot of something interesting. #+ATTR_LaTeX: :width \textwidth #+NAME: fig:result_plot file:./img/plot.pdf This method of placing plots into an org document no longer works. Previously, this would correctly produce the figure with a consistent label for internal references within the org document and the exported LaTeX document. Now, the export results in the following TeX code: \begin{figure}[htb] \centering \includegraphics[width=\textwidth]{./img/plot.pdf} \caption{\label{fig:orgparagraph1} Plot of something interesting.} \end{figure} As it can be seen above, the intended label of fig:result_plot is no longer exported. This breaks any reference to \ref{fig:result_plot} in the LaTeX document while the label of ref:fig:result_plot only works within the org document. I do not regularly update my org-mode version, so the last working commit I had been using behaves correctly is 83fe247. Please let me know if I can provide any other information. Best, Andrew Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Package: Org-mode version 8.3.1 (release_8.3.1-123-g823cad @ /home/amdavis/src/org-mode/lisp/) --001a114136486442e2051fcec06b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? Se= e

http://or= gmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

#+CAPTION: Plot of something interesting.
#+ATTR_LaTeX: :width \textwidth
#+NAME: fig:result_plot
file:./img/plot.pdf

This method of placing plots into an org document no longer
works. Previously, this would correctly produce the figure with
a consistent label for internal references within the org document and
the exported LaTeX document. Now, the export results in the following
TeX code:

\begin{figure}[htb]
\centering
\includegraphics[width=3D\textwidth]{./img/plot.pdf}
\caption{\label{fig:orgparagraph1}
Plot of something interesting.}
\end{figure}

As it can be seen above, the intended label of fig:result_plot is no
longer exported. This breaks any reference to \ref{fig:result_plot} in
the LaTeX document while the label of ref:fig:result_plot only works
within the org document.

I do not regularly update my org-mode version, so the last working
commit I had been using behaves correctly is 83fe247. Please let me know
if I can provide any other information.

Best,
Andrew

Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2)
of 2015-04-20 on bitzer.hoetzel.inf= o
Package: Org-mode version 8.3.1 (release_8.3.1-123-g823cad @ /home/amdavis/= src/org-mode/lisp/)=C2=A0
--001a114136486442e2051fcec06b--