org-latex.el: Allow to use sidewaystable.

* org-latex.el (org-export-latex-tables): Allow to use
sidewaystable.

TINYCHANGE
This commit is contained in:
Bastien Guerry 2012-03-20 02:57:02 +01:00
parent 9e30393125
commit 2b3ae5c046
1 changed files with 8 additions and 4 deletions

View File

@ -1902,10 +1902,14 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
'org-label raw-table)
longtblp (and attr (stringp attr)
(string-match "\\<longtable\\>" attr))
tblenv (if (and attr (stringp attr)
(or (string-match (regexp-quote "table*") attr)
(string-match "\\<multicolumn\\>" attr)))
"table*" "table")
tblenv (if (and attr (stringp attr))
(cond ((string-match "\\<sidewaystable\\>" attr)
"sidewaystable")
((or (string-match (regexp-quote "table*") attr)
(string-match "\\<multicolumn\\>" attr))
"table*")
(t "table"))
"table")
tabular-env
(if (and attr (stringp attr)
(string-match "\\(tabular.\\)" attr))