emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Citation in figure caption broken for latex export
@ 2011-05-13 22:53 Suvayu Ali
  0 siblings, 0 replies; only message in thread
From: Suvayu Ali @ 2011-05-13 22:53 UTC (permalink / raw)
  To: Org mode mailing list

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

Hi everyone,

In latex export, if there is a citation with optional arguments in a
figure caption. The caption is replaced by the cite key, and the
options to \cite is passed as optional arguments to \caption.

I can replicate this with emacs -Q with the attached org file. The
exported tex file is also attached.

Thanks.

-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: fig-export.tex --]
[-- Type: text/x-tex, Size: 1081 bytes --]

% Created 2011-05-13 Fri 15:34
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}

\title{LHC ring}
\author{}
\date{}

\begin{document}

\maketitle


\section*{The LHC ring}
\label{sec-1}


\autoref{fig:aerial} shows an aerial view of Geneva with the LHC ring
marked in red.

\begin{figure}[htb]
\centering
\includegraphics[width=0.7\textwidth]{aerial.jpg}
\caption[slide 5]{\label{fig:aerial}LPCC}
\end{figure}
\section*{Dimensions}
\label{sec-2}


It is about 50 to 175 metres underground at places and has a diameter
of 27 Km.


\begin{thebibliography}{1}

\bibitem{LPCC} Redaelli Stefano, The operation of the LHC accelerator
  complex (2/2). The operation of the LHC accelerator complex (2/2).

\end{thebibliography}

\end{document}

[-- Attachment #3: fig-export.org --]
[-- Type: text/plain, Size: 666 bytes --]

#+TITLE: LHC ring
#+AUTHOR: 
#+DATE: 
#+OPTIONS: toc:nil num:nil

* The LHC ring

\autoref{fig:aerial} shows an aerial view of Geneva with the LHC ring
marked in white.

#+CAPTION: An aerial view of Geneva. The white circle is drawn to depict the LHC ring \cite[slide 5]{LPCC}.
#+LABEL: fig:aerial
#+ATTR_LaTeX: width=0.7\textwidth
[[file:aerial.jpg]]

* Dimensions

It is about 50 to 175 metres underground at places and has a diameter
of 27 Km.


\begin{thebibliography}{1}

\bibitem{LPCC} Redaelli Stefano, The operation of the LHC accelerator
  complex (2/2). The operation of the LHC accelerator complex (2/2).

\end{thebibliography}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-13 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-13 22:53 Citation in figure caption broken for latex export Suvayu Ali

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).