bug in org-mode-export-as-latex
commitcaa5da1efdd79d5984405e6f109eaaca44eac88f
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 28 Jul 2010 23:59:42 +0000 (28 23:59 +0000)
committerBastien Guerry <bzg@altern.org>
Sat, 31 Jul 2010 16:59:18 +0000 (31 18:59 +0200)
tree3b9d98e021fea0d4e823d7251bbbc39633e4490f
parentd035222ce5ec808139f109517336105f739c5f84
bug in org-mode-export-as-latex

Hello,

>>>>> Neil Hepburn writes:
> 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.

Curiously, it looks like \label code was removed at some time.

This quick fix should put labels back.

Regards,

-- Nicolas
>From 64855c52b20766db9898ce82316fac11d51de72d Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <n.goaziou@gmail.com>
Date: Wed, 28 Jul 2010 20:54:40 +0200
Subject: [PATCH] Add labels to tables.

* org-latex.el (org-export-latex-tables): add label if any
* org-latex.el (org-export-latex-convert-table.el-table): fix little
  mistake when inserting label
lisp/org-latex.el