emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Andrew Davis <amdavis@uchicago.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: LaTeX export #+NAME failing [8.3.1 (release_8.3.1-123-g823cad @ /home/amdavis/src/org-mode/lisp/)]
Date: Wed, 16 Sep 2015 22:47:15 +0200	[thread overview]
Message-ID: <87si6eum5o.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAO-uCxq5edDY1cC2armjemUH6OA=zvCLNTCLmOCmejXRtfknXA@mail.gmail.com> (Andrew Davis's message of "Wed, 16 Sep 2015 17:30:18 +0000")

Andrew Davis <amdavis@uchicago.edu> writes:

> You are getting the same results I am. What is concerning me is the fact
> that the label you are applying in the document:
>
> #+NAME: fig:result_plot
>
> is not the label that is being applied to the the exported tex document,
> i.e.
>
> \label{fig:orgparagraph1}
>
> \ref{fig:orgparagraph1}
>
> This is rather problematic as there are a variety of things that sometimes
> need to be done with just pure LaTeX in a babel source block that operate
> on the figures elsewhere in the org document. If I want to create some
> multi figure plot in which the internal caption references another figure,
> the reference in that caption to \ref{fig:result_plot} will no longer work.
>
> Again, I am pretty sure this is a bug as it was previously possible to
> refer to the assigned labels (i.e. fig:result_plot) rather than needing to
> know whatever sequential reference is assigned by org mode on the
> export.

This is a feature. And I already explained in my first answer how to
tweak it.

Regards,

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 20:08 Bug: LaTeX export #+NAME failing [8.3.1 (release_8.3.1-123-g823cad @ /home/amdavis/src/org-mode/lisp/)] Andrew Davis
2015-09-16 16:27 ` 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 [this message]
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=87si6eum5o.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=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).