diff options
author | Craig Tanis <craig-tanis@utc.edu> | 2013-08-13 08:08:53 -0400 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-08-15 10:00:45 +0200 |
commit | 927f1bd5e9c6aa22082ce2a3add0c30b7dd95ce1 (patch) | |
tree | 0a8bb4d34176e9880057a2fc089b6d64947f4df2 | |
parent | 75f73e0b87a5441e2e8638db71cfd61855333d25 (diff) | |
download | org-mode-927f1bd5e9c6aa22082ce2a3add0c30b7dd95ce1.tar.gz |
Latex export: Fix the position of captions on unfontified src blocks
* lisp/ox-latex (org-latex-src-block): Change format string to
position caption after figure content.
Note: This is now consistent with the caption positioning for
formatted src blocks, later in the same function.
TINYCHANGE
-rw-r--r-- | lisp/ox-latex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index e66c717..1fe918a 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -2046,11 +2046,11 @@ contextual information." (float-env (cond ((and (not float) (plist-member attributes :float)) "%s") ((string= "multicolumn" float) - (format "\\begin{figure*}[%s]\n%s%%s\n\\end{figure*}" + (format "\\begin{figure*}[%s]\n%%s%s\n\\end{figure*}" org-latex-default-figure-position caption-str)) ((or caption float) - (format "\\begin{figure}[H]\n%s%%s\n\\end{figure}" + (format "\\begin{figure}[H]\n%%s%s\n\\end{figure}" caption-str)) (t "%s")))) (format |