From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX figure export - no \begin{figure} \end{figure} Date: Mon, 15 Jul 2013 12:22:05 +0200 Message-ID: <87a9lo5diq.fsf@gmail.com> References: <51E3C560.6010504@mun.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyfuj-00030O-Oh for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 06:21:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uyfui-0008Eo-97 for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 06:21:53 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:33249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyfui-0008Ec-2e for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 06:21:52 -0400 Received: by mail-wi0-f182.google.com with SMTP id m6so2654951wiv.15 for ; Mon, 15 Jul 2013 03:21:51 -0700 (PDT) In-Reply-To: <51E3C560.6010504@mun.ca> (Roger Mason's message of "Mon, 15 Jul 2013 07:18:16 -0230") 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: Roger Mason Cc: Org Mode Mailing List Hello, Roger Mason writes: > This: > > #+CAPTION: > Microstructures of contact-metamorphism related melting and > crystallisation in K-feldspar-quartz domains > #+NAME: fig:microstructure-montage > [[./microstructure-montage.eps]] > > produces this on export to LaTeX (org 8.0.3): > > Microstructures of contact-metamorphism related melting and > crystallisation in K-feldspar-quartz domains > \includegraphics[width=.9\linewidth]{./microstructure-montage.eps} > > There is no figure environment or label and cross-references to the > figure do not work. As far as I can see, the org formatting is as per > the manual. What must I do to get floats, with labels, in the LaTeX > output? You need to put your caption on the same line as the #+CAPTION keyword. You may also use multiple CAPTION keywords for better readability: #+CAPTION: Microstructures of contact-metamorphism related melting #+CAPTION: and crystallisation in K-feldspar-quartz domains #+NAME: fig:microstructure-montage [[./microstructure-montage.eps]] Regards, -- Nicolas Goaziou