emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrew Davis <amdavis@uchicago.edu>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <CAO-uCxqJS=7VZi=NGLOqRh8PxnErQOgZH-6nsEfEH=cO4UGPMw@mail.gmail.com> (raw)

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

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

[-- Attachment #2: Type: text/html, Size: 1952 bytes --]

             reply	other threads:[~2015-09-15 20:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 20:08 Andrew Davis [this message]
2015-09-16 16:27 ` Bug: LaTeX export #+NAME failing [8.3.1 (release_8.3.1-123-g823cad @ /home/amdavis/src/org-mode/lisp/)] Nicolas Goaziou
2015-09-16 16:35   ` Andrew Davis
2015-09-16 17:17     ` Nicolas Goaziou
2015-09-16 17:30       ` Andrew Davis
2015-09-16 20:47         ` Nicolas Goaziou
2015-09-16 21:08   ` Andrew Davis
2015-09-17  3:25     ` Benda Xu
2015-09-17  7:16     ` 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='CAO-uCxqJS=7VZi=NGLOqRh8PxnErQOgZH-6nsEfEH=cO4UGPMw@mail.gmail.com' \
    --to=amdavis@uchicago.edu \
    --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).