From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arkady Grudzinsky Subject: Re: org-mode 9.0 LaTeX export figure labels do not work Date: Wed, 23 Nov 2016 13:49:39 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9fQm-0000tB-0I for emacs-orgmode@gnu.org; Wed, 23 Nov 2016 16:50:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9fQi-0003q5-5a for emacs-orgmode@gnu.org; Wed, 23 Nov 2016 16:50:16 -0500 Received: from [195.159.176.226] (port=59396 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9fQh-0003of-V2 for emacs-orgmode@gnu.org; Wed, 23 Nov 2016 16:50:12 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c9fQb-0007rt-A7 for emacs-orgmode@gnu.org; Wed, 23 Nov 2016 22:50:05 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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