Fix listing line numbering in LaTeX export

This commit is contained in:
Gerard Vermeulen 2023-07-05 04:19:23 +02:00
parent 5d2d489a31
commit 8e5f521332
1 changed files with 9 additions and 9 deletions

View File

@ -2772,7 +2772,7 @@ SCHEDULED: <2023-06-30 Fri>
#+caption[Property syntax demonstration]:
#+caption: Property syntax demonstration.
#+name: lst:property-syntax-demonstration
#+begin_src org :tangle property-syntax-demonstration.org
#+begin_src org -n :tangle property-syntax-demonstration.org
,#+TITLE: Property Syntax Demonstration
,* Column view use
1. Type "M-x org-columns" in the "CD collection" tree to turn on column view.
@ -2831,8 +2831,8 @@ SCHEDULED: <2023-06-30 Fri>
#+caption[Find valid entries for =org-babel-load-languages=]:
#+caption: Find valid entries for =org-babel-load-languages=.
#+name: lst:valid-org-babel-load-languages-entries
#+header: :wrap "src emacs-lisp :results silent :tangle no"
#+begin_src emacs-lisp :exports both :results value pp :tangle no
#+header: :wrap "src emacs-lisp -n :results silent :tangle no"
#+begin_src emacs-lisp -n :exports both :results value pp :tangle no
(defun all-org-babel-execute-fns ()
"Find `ob-LANGUAGE' files in Org defining `org-babel-execute:LANGUAGE'.
@ -2866,7 +2866,7 @@ Return a list of items where the filename is the `car' of each item and the
#+caption[Org Babel libraries with =org-babel-execute:language= functions]:
#+caption: Org Babel libraries with =org-babel-execute:language= functions.
#+RESULTS: lst:valid-org-babel-load-languages-entries
#+begin_src emacs-lisp :results silent :tangle no
#+begin_src emacs-lisp -n :results silent :tangle no
(("ob-C" "C" "D" "C++" "cpp")
("ob-R" "R")
("ob-awk" "awk")
@ -2911,8 +2911,8 @@ Return a list of items where the filename is the `car' of each item and the
#+caption[Find active Org Babel languages]:
#+caption: Find active Org Babel languages.
#+name: lst:org-babel-active-languages
#+header: :wrap "src emacs-lisp :results silent :tangle no"
#+begin_src emacs-lisp :exports both :results value pp :tangle no
#+header: :wrap "src emacs-lisp -n :results silent :tangle no"
#+begin_src emacs-lisp -n :exports both :results value pp :tangle no
(defun org-babel-active-languages ()
(let ((result '("conf" "text" "toml")))
(mapatoms
@ -2934,7 +2934,7 @@ Return a list of items where the filename is the `car' of each item and the
#+caption[Active Org Babel languages]:
#+caption: Active Org Babel languages.
#+RESULTS: lst:org-babel-active-languages
#+begin_src emacs-lisp :results silent :tangle no
#+begin_src emacs-lisp -n :results silent :tangle no
(("C")
("C++")
("D")
@ -2965,7 +2965,7 @@ Return a list of items where the filename is the `car' of each item and the
#+caption: result of ~cl-loop~ and ~collect~ to return a list containing
#+caption: the position and text of all matching headlines.
#+name: lst:jump-org-headline
#+begin_src emacs-lisp :results silent
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'org-element
(defun jump-org-headline (target)
"Jump to the first org-mode headline matching TARGET."
@ -2991,7 +2991,7 @@ Return a list of items where the filename is the `car' of each item and the
#+caption[Sync the "#+COLUMNS:" keyword with a ":COLUMNS:" property]:
#+caption: Sync the "#+COLUMNS:" keyword with a ":COLUMNS:" property.
#+name: lst:sync-columns-keyword-with-property
#+begin_src emacs-lisp :results silent
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'org
(defun get-org-columns-property (target level)
"Get headline TARGET \":COLUMNS:\" property at LEVEL."