Browse Source

tweak to source-name LaTeX export

Eric Schulte 15 years ago
parent
commit
bb949518d2
1 changed files with 1 additions and 1 deletions
  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)