Explorar o código

tweak to source-name LaTeX export

Eric Schulte %!s(int64=15) %!d(string=hai) anos
pai
achega
bb949518d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-exp.el

+ 1 - 1
lisp/org-exp.el

@@ -2480,7 +2480,7 @@ INDENT was the original indentation of the block."
                                      (format "\\lstset{language=%s}\n" lstlang))
                                  "\n")
                                (when caption
-                                 (format "%s $\\equiv$ \n" caption))
+                                 (format "\n%s $\\equiv$ \n" caption))
                                "\\begin{lstlisting}\n"
                                rtn "\\end{lstlisting}\n")
                             (concat (car org-export-latex-verbatim-wrap)