emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [new exporter] no caption and no label in tables exported to LaTeX


From: Thomas Holst
Subject: [O] [new exporter] no caption and no label in tables exported to LaTeX
Date: Wed, 18 Jul 2012 11:25:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]