emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Arkady Grudzinsky <agrudzinsky@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-mode 9.0 LaTeX export figure labels do not work
Date: Wed, 23 Nov 2016 13:49:39 -0800	[thread overview]
Message-ID: <s5o7f7trhn0.fsf@avnera.com> (raw)
In-Reply-To: s5obmx5rhvf.fsf@avnera.com

On Wed, Nov 23 2016, Arkady Grudzinsky wrote:

> org-mode 9.0 seems to generate random figure labels instead of
> the ones specified in #+NAME:, so the cross-references do not work.

Figured out that the LaTeX reference syntax does not work
anymore.  But the org-mode reference [[fig:tcprofile]] does.  OK.
Makes sense.

>
> .org source:
> ,----
> | Temperature profile is shown in Fig. \ref{fig:tcprofile}.
> | 
> | #+NAME: fig:tcprofile
> | #+CAPTION: Temperature Cycling Profile
> | [[./tc_profile.png]]
> `----
>
> .tex output:
> ,----
> | Temperature profile is shown in Fig. \ref{fig:tcprofile}.
> | 
> | \begin{figure}[htbp]
> | \centering
> | \includegraphics[width=.9\linewidth]{./tc_profile.png}
> | \caption{\label{fig:orgceb3fa6}
> | Temperature Cycling Profile}
> | \end{figure}
> `----
>
> PDF output:
>
> ,----
> | Temperature profile is shown in Fig. ??.
> `----
>
> Is this a new feature or a bug?

-- 
Arkady

  reply	other threads:[~2016-11-23 21:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 21:44 org-mode 9.0 LaTeX export figure labels do not work Arkady Grudzinsky
2016-11-23 21:49 ` Arkady Grudzinsky [this message]
2016-11-23 23:08 ` John Kitchin

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=s5o7f7trhn0.fsf@avnera.com \
    --to=agrudzinsky@gmail.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).