Prechádzať zdrojové kódy

Merge branch 'origin-maint'

Eric Schulte 13 rokov pred
rodič
commit
8748096674
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      lisp/org-latex.el

+ 2 - 1
lisp/org-latex.el

@@ -2003,7 +2003,8 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
                              (if shortn (concat "[" shortn "]") "")
                              (if shortn (concat "[" shortn "]") "")
                              (or caption "")
                              (or caption "")
 			     (if label (format "\\label{%s}" label) "")))
 			     (if label (format "\\label{%s}" label) "")))
-			(if (and longtblp caption) "\\\\\n" "\n")
+			(if (and longtblp caption org-export-latex-table-caption-above)
+			    "\\\\\n" "\n")
                         (if (and org-export-latex-tables-centered (not longtblp))
                         (if (and org-export-latex-tables-centered (not longtblp))
                             "\\begin{center}\n")
                             "\\begin{center}\n")
                         (if (not longtblp)
                         (if (not longtblp)