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
This commit is contained in:
Craig Tanis 2013-08-13 08:08:53 -04:00 committed by Nicolas Goaziou
parent 75f73e0b87
commit 927f1bd5e9
1 changed files with 2 additions and 2 deletions

View File

@ -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