From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Possible bug in export of table in latex Date: Tue, 06 Jan 2015 23:32:15 +0100 Message-ID: <87k30za6c0.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8cek-0003df-VW for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 17:31:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8ceg-0006RV-Sc for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 17:31:18 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:40018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8ceg-0006RH-Ks for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 17:31:14 -0500 In-Reply-To: (Giuseppe Lipari's message of "Tue, 6 Jan 2015 14:03:24 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giuseppe Lipari Cc: emacs-orgmode@gnu.org Hello, Giuseppe Lipari writes: > I am preparing some slides using org-beamer mode. Here is the snippet of a > table I have in my file: > > > #+ATTR_LATEX: :float t :width 4cm > | /Single node app/ | /Distributed app/ | > |-------------------+-----------------------------| > | Operating System | Distributed OS | > | Network | Network programming libs | > | Progr. language | Distributed Progr. language | > |-------------------+-----------------------------| > > If I understand well from the documentation, the "width" option should set > the width of the table. However, the exporter produces the following latex > snippet: > > > \begin{table}[htb] > \centering > \begin{tabular}{4cm}{ll} > \emph{Single node app} & \emph{Distributed app}\\ > \hline > Operating System & Distributed OS\\ > Network & Network programming libs\\ > Progr. language & Distributed Progr. language\\ > \hline > \end{tabular} > \end{table} > \end{frame} > > > Clearly, the lenght specification went in the wrong place, as the first > parameter of tabular should not be the width of the table, but the column > alignment. This should be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou