From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] no caption and no label in tables exported to LaTeX Date: Wed, 18 Jul 2012 11:35:51 +0200 Message-ID: <87629l4djc.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrQiu-0002Fh-Qr for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 05:39:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrQio-0002V1-Tv for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 05:39:12 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:44472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrQio-0002UN-N0 for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 05:39:06 -0400 Received: by weys10 with SMTP id s10so1023232wey.0 for ; Wed, 18 Jul 2012 02:39:05 -0700 (PDT) In-Reply-To: (Thomas Holst's message of "Wed, 18 Jul 2012 11:25:56 +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: Thomas Holst Cc: "emacs-orgmode@gnu.org" Hello, Thomas Holst writes: > Labels and captions are not exported to LaTeX. > > ECM: > #+BEGIN_SRC org > * Captions for Tables > #+CAPTION: A Caption for Testing > #+LABEL: tbl:Label > #+ATTR_LaTeX: placement=[H] > > | one | two | three | > |-----+-----+-------| > | 1 | 2 | 3 | > | 2 | 4 | 6 | > #+END_SRC This is because affiliated keywords must be attached to the element they refer to. In other words, there mustn't be a blank link between #+ATTR_LATEX and the beginning of the table. Regards, -- Nicolas Goaziou