From 8e5f52133260b18be36fc67c951664a3bdd4e77b Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 5 Jul 2023 04:19:23 +0200 Subject: [PATCH] Fix listing line numbering in LaTeX export --- README.org | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index cb56da1..2fd16aa 100644 --- a/README.org +++ b/README.org @@ -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."