emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neil Hepburn <nhepburn@ualberta.ca>
To: emacs-orgmode@gnu.org
Subject: bug in org-mode-export-as-latex
Date: Wed, 28 Jul 2010 08:31:37 -0600 (MDT)	[thread overview]
Message-ID: <alpine.OSX.1.10.1007280827490.20048@neil-hepburns-macbook-pro.local> (raw)


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

             reply	other threads:[~2010-07-28 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28 14:31 Neil Hepburn [this message]
2010-07-28 18:59 ` [PATCH] bug in org-mode-export-as-latex Nicolas Goaziou
2010-07-31 17:00   ` Patchwork: Patch 177 Accepted Bastien Guerry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.OSX.1.10.1007280827490.20048@neil-hepburns-macbook-pro.local \
    --to=nhepburn@ualberta.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).