From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: [new exporter] no caption and no label in tables exported to LaTeX Date: Wed, 18 Jul 2012 11:25:56 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrQWe-00062U-7B for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 05:26:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrQWX-0006YJ-Gr for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 05:26:32 -0400 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]:42438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrQWX-0006Xt-A9 for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 05:26:25 -0400 Received: from vsmta14.fe.internet.bosch.com (unknown [10.4.98.30]) by imta24.fe.bosch.de (Postfix) with ESMTP id 85C8DB00229 for ; Wed, 18 Jul 2012 11:26:22 +0200 (CEST) Received: from localhost (vsgw2.fe.internet.bosch.com [10.4.98.13]) by vsmta14.fe.internet.bosch.com (Postfix) with SMTP id 642E31B404AE for ; Wed, 18 Jul 2012 11:26:22 +0200 (CEST) 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-orgmode@gnu.org" Hello, still I am testing the new exporter. 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 With old exporter this becomes #+BEGIN_SRC latex \begin{table}[H] \caption{A Caption for Testing} \label{tbl:Label} \begin{center} \begin{tabular}{rrr} one & two & three \\ \hline 1 & 2 & 3 \\ 2 & 4 & 6 \\ \end{tabular} \end{center} \end{table} #+END_SRC in LaTeX. Wheras with the new exporter I get: #+BEGIN_SRC latex \begin{center} \begin{tabular}{rrr} one & two & three\\ \hline 1 & 2 & 3\\ 2 & 4 & 6\\ \end{tabular} \end{center} #+END_SRC Images are exported correctly. This is with (emacs-version) "GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-09-19 on 3249CTO" (org-version) Org-mode version 7.8.11 (release_7.8.11-201-g528b17 @ c:/daten/users/de_hts2fe/git/org-mode/lisp/) P.S. Thanks to Nicolas for fixing the bug with two backslashes. I can confirm it works with org-version above. -- Bis neulich ... Thomas