From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Citation in figure caption broken for latex export Date: Fri, 13 May 2011 15:53:39 -0700 Message-ID: <20110513155339.11ba7805@kuru.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/_l+0RENANAL6NCJ3Vntzjhs" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QL1Ey-0000h1-El for emacs-orgmode@gnu.org; Fri, 13 May 2011 18:53:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QL1Ex-00081s-HE for emacs-orgmode@gnu.org; Fri, 13 May 2011 18:53:48 -0400 Received: from mail-px0-f171.google.com ([209.85.212.171]:56599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QL1Ex-00081f-CO for emacs-orgmode@gnu.org; Fri, 13 May 2011 18:53:47 -0400 Received: by pxi7 with SMTP id 7so2120152pxi.30 for ; Fri, 13 May 2011 15:53:45 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org mode mailing list --MP_/_l+0RENANAL6NCJ3Vntzjhs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. --MP_/_l+0RENANAL6NCJ3Vntzjhs Content-Type: text/x-tex Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=fig-export.tex % 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} --MP_/_l+0RENANAL6NCJ3Vntzjhs Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=fig-export.org IytUSVRMRTogTEhDIHJpbmcNCiMrQVVUSE9SOiANCiMrREFURTogDQojK09QVElPTlM6IHRvYzpu aWwgbnVtOm5pbA0KDQoqIFRoZSBMSEMgcmluZw0KDQpcYXV0b3JlZntmaWc6YWVyaWFsfSBzaG93 cyBhbiBhZXJpYWwgdmlldyBvZiBHZW5ldmEgd2l0aCB0aGUgTEhDIHJpbmcNCm1hcmtlZCBpbiB3 aGl0ZS4NCg0KIytDQVBUSU9OOiBBbiBhZXJpYWwgdmlldyBvZiBHZW5ldmEuIFRoZSB3aGl0ZSBj aXJjbGUgaXMgZHJhd24gdG8gZGVwaWN0IHRoZSBMSEMgcmluZyBcY2l0ZVtzbGlkZSA1XXtMUEND fS4NCiMrTEFCRUw6IGZpZzphZXJpYWwNCiMrQVRUUl9MYVRlWDogd2lkdGg9MC43XHRleHR3aWR0 aA0KW1tmaWxlOmFlcmlhbC5qcGddXQ0KDQoqIERpbWVuc2lvbnMNCg0KSXQgaXMgYWJvdXQgNTAg dG8gMTc1IG1ldHJlcyB1bmRlcmdyb3VuZCBhdCBwbGFjZXMgYW5kIGhhcyBhIGRpYW1ldGVyDQpv ZiAyNyBLbS4NCg0KDQpcYmVnaW57dGhlYmlibGlvZ3JhcGh5fXsxfQ0KDQpcYmliaXRlbXtMUEND fSBSZWRhZWxsaSBTdGVmYW5vLCBUaGUgb3BlcmF0aW9uIG9mIHRoZSBMSEMgYWNjZWxlcmF0b3IN CiAgY29tcGxleCAoMi8yKS4gVGhlIG9wZXJhdGlvbiBvZiB0aGUgTEhDIGFjY2VsZXJhdG9yIGNv bXBsZXggKDIvMikuDQoNClxlbmR7dGhlYmlibGlvZ3JhcGh5fQ0K --MP_/_l+0RENANAL6NCJ3Vntzjhs--