From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: LaTeX export of table with caption broken Date: Sat, 19 Jan 2019 16:06:05 +0100 Message-ID: <87bm4cbsbm.fsf@nicolasgoaziou.fr> References: <87ftto2084.fsf@informationelle-selbstbestimmung-im-internet.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gksCK-0006j6-Pp for emacs-orgmode@gnu.org; Sat, 19 Jan 2019 10:06:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gksCK-0002dD-17 for emacs-orgmode@gnu.org; Sat, 19 Jan 2019 10:06:12 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:40191) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gksCJ-0002W2-Ow for emacs-orgmode@gnu.org; Sat, 19 Jan 2019 10:06:11 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C830CC0003 for ; Sat, 19 Jan 2019 15:06:08 +0000 (UTC) In-Reply-To: <87ftto2084.fsf@informationelle-selbstbestimmung-im-internet.de> (Jens Lechtenboerger's message of "Sat, 19 Jan 2019 15:25:31 +0100") 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" To: emacs-orgmode@gnu.org Hello, Jens Lechtenboerger writes: > when exporting a table with caption to LaTeX on the master branch, > invalid code is generated. > > Example Org file: > > #+CAPTION: Some text > | Col1 | Col2 | > > |------+------| > | foo | bar | > > The resulting tex file contains this, without table environment, > which is necessary for the use of captions: > > begin{center} > \caption{Some text} > \begin{tabular}{ll} > Col1 & Col2\\ > \hline > foo & bar\\ > \end{tabular} > \end{center} Fixed. Thank you. Regards, -- Nicolas Goaziou