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