diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-01-31 23:30:49 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-01-31 23:30:49 +0100 |
commit | 3aa355c037eb30b1e10155428942ffc787b3ae80 (patch) | |
tree | 34ae77efbaaf496d232b9a061aba55df9557b94c | |
parent | 48e046047b17503ad987e6668d2357d2c4f0dabb (diff) | |
download | org-mode-3aa355c037eb30b1e10155428942ffc787b3ae80.tar.gz |
ox-latex: Fix numbering of source blocks
* lisp/ox-latex.el (org-latex-src-block): Fix numbering reset on source
blocks when using the listings package.
Reported-by: P-O Gustafsson <kullager@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104650>
-rw-r--r-- | lisp/ox-latex.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 7ce50ff..121a675 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -2797,7 +2797,6 @@ contextual information." `(("captionpos" ,(if caption-above-p "t" "b"))) (cond ((assoc "numbers" lst-opt) nil) ((not num-start) '(("numbers" "none"))) - ((zerop num-start) '(("numbers" "left"))) (t `(("firstnumber" ,(number-to-string (1+ num-start))) ("numbers" "left")))))) (let ((local-options (plist-get attributes :options))) |