emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX figure export - no \begin{figure} \end{figure}
@ 2013-07-15  9:48 Roger Mason
  2013-07-15 10:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Roger Mason @ 2013-07-15  9:48 UTC (permalink / raw)
  To: Org Mode Mailing List

Hello,

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?

Cheers,
Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LaTeX figure export - no \begin{figure} \end{figure}
  2013-07-15  9:48 LaTeX figure export - no \begin{figure} \end{figure} Roger Mason
@ 2013-07-15 10:22 ` Nicolas Goaziou
  2013-07-15 10:42   ` Roger Mason
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-07-15 10:22 UTC (permalink / raw)
  To: Roger Mason; +Cc: Org Mode Mailing List

Hello,

Roger Mason <rmason@mun.ca> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LaTeX figure export - no \begin{figure} \end{figure}
  2013-07-15 10:22 ` Nicolas Goaziou
@ 2013-07-15 10:42   ` Roger Mason
  0 siblings, 0 replies; 3+ messages in thread
From: Roger Mason @ 2013-07-15 10:42 UTC (permalink / raw)
  Cc: Org Mode Mailing List

Hello Nicolas,

On 07/15/2013 07:52 AM, Nicolas Goaziou wrote:
> Hello,
>
> ....
> 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,
>
Thankyou, that is now working.

Cheers,
Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-15 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15  9:48 LaTeX figure export - no \begin{figure} \end{figure} Roger Mason
2013-07-15 10:22 ` Nicolas Goaziou
2013-07-15 10:42   ` Roger Mason

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).