From 3aa355c037eb30b1e10155428942ffc787b3ae80 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 31 Jan 2016 23:30:49 +0100 Subject: [PATCH] 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 --- lisp/ox-latex.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 7ce50ffad..121a67583 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))) -- 2.11.4.GIT