From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Hepburn Subject: bug in org-mode-export-as-latex Date: Wed, 28 Jul 2010 08:31:37 -0600 (MDT) Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=37736 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe7fd-0004p2-4m for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 10:31:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe7fY-0006qd-Og for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 10:31:44 -0400 Received: from smtp.srv.ualberta.ca ([129.128.5.19]:52372 helo=mail2.srv.ualberta.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe7fY-0006qO-HZ for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 10:31:40 -0400 Received: from [192.168.1.66] (d142-59-199-236.abhsia.telus.net [142.59.199.236]) (authenticated bits=0) by mail2.srv.ualberta.ca (8.14.3/8.13.8) with ESMTP id o6SEVb3x020966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 28 Jul 2010 08:31:37 -0600 (MDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org The latest version (7.01g) seems to have a bug when exporting to PDF (and LaTeX) with tables with labels. The export does not label the table in the LaTeX file although it is labeled in the .org file. The following code in an org-mode file #+CAPTION: A Simple Table #+LABEL: tbl:ATbl |----------+----------| | column 1 | column 2 | |----------+----------| | thing | one | | thing | two | |----------+----------| leads to this in the LaTeX file \begin{table}[htb] \caption{A Simple Table} \begin{center} \begin{tabular}{ll} \hline column 1 & column 2 \\ \hline thing & one \\ thing & two \\ \hline \end{tabular} \end{center} \end{table} Note the missing \label{} command in the LaTeX version. I rolled back to version 6.34c and everything works. Cheers, Neil ====================================================== Neil Hepburn, Economics Lecturer Department of Social Sciences, Augustana Faculty the University of Alberta Camrose, Alberta Phone: 780.679.1588 email: nhepburn@ualberta.ca