|
@@ -1917,10 +1917,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))
|