emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dale Barr <dalejbarr3@gmail.com>
To: emacs-orgmode@gnu.org
Subject: problem with figure captions / labels in LaTeX export
Date: Wed, 20 Mar 2013 11:24:29 +0000	[thread overview]
Message-ID: <CAGK5t=YSONQ4bGNeTGFuUO0wATR1vbmVrGzebm+h4SmzwmCd2g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1704 bytes --]

             reply	other threads:[~2013-03-20 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 11:24 Dale Barr [this message]
2013-04-06  1:08 ` problem with figure captions / labels in LaTeX export Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGK5t=YSONQ4bGNeTGFuUO0wATR1vbmVrGzebm+h4SmzwmCd2g@mail.gmail.com' \
    --to=dalejbarr3@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).