emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-mode 9.0 LaTeX export figure labels do not work


From: John Kitchin
Subject: Re: [O] org-mode 9.0 LaTeX export figure labels do not work
Date: Wed, 23 Nov 2016 18:08:39 -0500
User-agent: mu4e 0.9.16; emacs 25.1.50.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]