[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] org-latex: Fix export of table.el tables with captions
From: |
Lawrence Mitchell |
Subject: |
[O] [PATCH] org-latex: Fix export of table.el tables with captions |
Date: |
Wed, 06 Apr 2011 10:18:58 +0100 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
* lisp/org-latex.el (org-export-latex-convert-table.el-table): Fix
format-string for insertion of captions.
This fixes a bug introduced in caa5da1 since when the caption itself
is not placed inside the caption command.
---
lisp/org-latex.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index d60e174..b8be87a 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -1991,7 +1991,7 @@ The conversion is made depending of STRING-BEFORE and
STRING-AFTER."
(setq tbl (concat "\\begin{center}\n" tbl "\\end{center}")))
(when floatp
(setq tbl (concat "\\begin{table}\n"
- (format "\\caption%s{%s}%s\n"
+ (format "\\caption%s{%s%s}\n"
(if shortn (format "[%s]" shortn) "")
(if label (format "\\label{%s}" label) "")
(or caption ""))
--
1.7.4.rc2.18.gb20e9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [PATCH] org-latex: Fix export of table.el tables with captions,
Lawrence Mitchell <=