all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Arkady Grudzinsky <agrudzinsky@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode 9.0 LaTeX export figure labels do not work
Date: Wed, 23 Nov 2016 18:08:39 -0500	[thread overview]
Message-ID: <m2mvgpssjs.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <s5obmx5rhvf.fsf@avnera.com>

you might want to try:

(setq org-latex-prefer-user-labels t)


Arkady Grudzinsky writes:

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


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

      parent reply	other threads:[~2016-11-23 23:08 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
2016-11-23 23:08 ` John Kitchin [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2mvgpssjs.fsf@Johns-MacBook-Air.local \
    --to=jkitchin@andrew.cmu.edu \
    --cc=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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.