From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Citation in figure caption broken for latex export
Date: Fri, 13 May 2011 15:53:39 -0700 [thread overview]
Message-ID: <20110513155339.11ba7805@kuru.homelinux.net> (raw)
[-- 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}
reply other threads:[~2011-05-13 22:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110513155339.11ba7805@kuru.homelinux.net \
--to=fatkasuvayu+linux@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).