emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug in org-mode-export-as-latex
@ 2010-07-28 14:31 Neil Hepburn
  2010-07-28 18:59 ` [PATCH] " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Hepburn @ 2010-07-28 14:31 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-31 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 14:31 bug in org-mode-export-as-latex Neil Hepburn
2010-07-28 18:59 ` [PATCH] " Nicolas Goaziou
2010-07-31 17:00   ` Patchwork: Patch 177 Accepted Bastien Guerry

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).