diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc36c7f6a..28d01344a 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-12-17 Carsten Dominik + + * org-latex.el (org-export-latex-tables): No forced line end if + there is no caption. + 2009-12-16 Carsten Dominik * org-exp.el (org-html-entities): Add Euro symbols from Marvosym diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 9bd9f3777..15e367c16 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1538,7 +1538,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." "\\caption{%s%s}" (if label (concat "\\\label{" label "}") "") (or caption ""))) - (if longtblp "\\\\\n" "\n") + (if (and longtblp caption) "\\\\\n" "\n") (if (and org-export-latex-tables-centered (not longtblp)) "\\begin{center}\n") (if (not longtblp) (concat "\\begin{tabular}{" align "}\n"))