From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dale Barr Subject: problem with figure captions / labels in LaTeX export Date: Wed, 20 Mar 2013 11:24:29 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f83a5c52dc2e604d85977d2 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIH8D-00026s-Ri for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 07:24:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIH8B-0000EC-7c for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 07:24:33 -0400 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:52233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIH8B-0000E1-2k for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 07:24:31 -0400 Received: by mail-ob0-f169.google.com with SMTP id oi10so204435obb.0 for ; Wed, 20 Mar 2013 04:24:30 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --e89a8f83a5c52dc2e604d85977d2 Content-Type: text/plain; charset=ISO-8859-1 Hi all, First I would just like to thank all the people responsible for org-mode. It is an amazing product that has become an indispensable part of my workflow! I encountered a problem with LaTeX export that seems to affect org-versions 7.9.3f and 7.9.4. Specifically, exporting figure captions and labels using #+CAPTION and #+LABEL no longer seems to work. ####### start of code snippet #+TITLE: My Important Paper #+AUTHOR: Dr. Nyan #+DATE: \today #+LATEX_CLASS: article #+LATEX_CLASS_OPTIONS: [] * Section 1 See Figure\nbsp{}\ref{fig:myfig} below #+CAPTION: This is a figure #+LABEL: fig:myfig file:myfig.pdf ####### end of code snippet When I look in the LaTeX output after exporting, I see: See Figure~{}\ref{fig:myfig} below \includegraphics[width=.9\linewidth]{myfig.pdf} There is no figure caption and the label fig:myfig is unresolved. Thanks for looking into this! -Dale Barr --e89a8f83a5c52dc2e604d85977d2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

First I would just like to than= k all the people responsible for org-mode. =A0It is an amazing product that= has become an indispensable part of my workflow!

I encountered a problem with LaTeX export that seems to affect org-versions= 7.9.3f and 7.9.4.
Specifically, exporting figure captions = and labels using #+CAPTION and #+LABEL no longer seems to work.

####### start of code snippet

=
#+TITLE: =A0 =A0 My Important Paper =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
#+AUTHOR: =A0 = =A0Dr. Nyan =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0
#+DATE: =A0 =A0 =A0\today =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
#+LATEX_CLASS: artic= le
#+LATEX_CLASS_OPTIONS: []

* Section 1=

See Figure\nbsp{}\ref{fig:myfig} below

<= div>#+CAPTION: This is a figure
#+LABEL: fig:myfig
file= :myfig.pdf

####### end of code snippet

When I look in the LaTeX output after exporting, = I see:

See Figure~{}\ref{fig:myfi= g} below

\includegraphics[width=3D.9\linewidth]{my= fig.pdf}

There is no figure caption and the label fig:myfi= g is unresolved.

Thanks for looking in= to this!

-Dale Barr
--e89a8f83a5c52dc2e604d85977d2--