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.
% 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}
#+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}

Reply via email to