From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug in LaTeX export with short captions Date: Thu, 10 Sep 2015 17:57:51 +0200 Message-ID: <874mj2s1vk.fsf@nicolasgoaziou.fr> References: <20150910133657.GF6130@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za4Cw-0000De-Kj for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 11:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Za4Cv-0002Ew-OE for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 11:56:18 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:43221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za4Cv-0002Eo-Hm for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 11:56:17 -0400 Received: from selenimh (unknown [IPv6:2a01:6600:8080:9601::2de]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id C7FD1A80B5 for ; Thu, 10 Sep 2015 17:56:15 +0200 (CEST) In-Reply-To: <20150910133657.GF6130@chitra.no-ip.org> (Suvayu Ali's message of "Thu, 10 Sep 2015 15:36:57 +0200") 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: Emacs Org mode Hello, Suvayu Ali writes: > When I export the following table to latex, > > #+name: tab:foo > #+caption[/s/-weights]: /s/-weights. > | A | B | C | D | > |-------+-------+-------+------| > | 70347 | 10885 | 68502 | 4021 | > | 68458 | 20310 | 66683 | 5853 | > | 69418 | 22329 | 67617 | 6431 | > | 71336 | 28674 | 69479 | 8160 | > > I get the following: > > \begin{table}[htb] > \caption[\emph{s}-weights]{\label{tab:foo} > weights]: \emph{s}-weights.} > \centering > \begin{tabular}{rrrr} > A & B & C & D\\ > \hline > 70347 & 10885 & 68502 & 4021\\ > 68458 & 20310 & 66683 & 5853\\ > 69418 & 22329 & 67617 & 6431\\ > 71336 & 28674 & 69479 & 8160\\ > \end{tabular} > \end{table} > > Note the extra "weights]:" in the long caption. This happens whenever > there is some kind of emphasis in the short caption: /s/, *s*, etc. Fixed. Thank you. Regards, -- Nicolas Goaziou