Stop exporting and tangling "lst:setup-org-latex-classes"

This commit is contained in:
Gerard Vermeulen 2024-06-16 19:23:53 +02:00
parent d0c0942d1d
commit b9c1fc6385

View File

@ -2057,7 +2057,7 @@ Links to Org-mode videos are:
:ID: 0D725DA1-7431-40BD-85FF-EFF4F7E4EC95 :ID: 0D725DA1-7431-40BD-85FF-EFF4F7E4EC95
:END: :END:
I have split the initial [[https://orgmode.org/][Org-mode]] setup over twelve listings. Here, follows a I have split the initial [[https://orgmode.org/][Org-mode]] setup over eleven listings. Here, follows a
list detailing and motivating each listing: list detailing and motivating each listing:
1. Listing [[lst:set-org-options]] handles basic [[https://orgmode.org/][Org-mode]] options. 1. Listing [[lst:set-org-options]] handles basic [[https://orgmode.org/][Org-mode]] options.
2. Listing [[lst:org-capture-templates]] initializes a simple capture template. 2. Listing [[lst:org-capture-templates]] initializes a simple capture template.
@ -2077,9 +2077,9 @@ list detailing and motivating each listing:
9. Listing [[lst:setup-org-for-lualatex-export]] and 9. Listing [[lst:setup-org-for-lualatex-export]] and
[[lst:set-ox-latex-options-for-lualatex-export]] configure [[https://orgmode.org/][Org-mode]] to generate [[lst:set-ox-latex-options-for-lualatex-export]] configure [[https://orgmode.org/][Org-mode]] to generate
output for the LuaLaTeX compiler. output for the LuaLaTeX compiler.
10. Listing [[lst:setup-org-latex-classes]] defines [[info:org#LaTeXspecificexportsettings][org-latex-classes (info)]] for # 10. Listing [[lst:setup-org-latex-classes]] defines [[info:org#LaTeXspecificexportsettings][org-latex-classes (info)]] for
backward compatibility. For an explanation of the code in listing # backward compatibility. For an explanation of the code in listing
[[lst:setup-org-latex-classes]], type {{{kbd(C-h v org-latex-classes)}}}. # [[lst:setup-org-latex-classes]], type {{{kbd(C-h v org-latex-classes)}}}.
#+caption[Set basic =Org= options]: #+caption[Set basic =Org= options]:
#+caption: Set basic =Org= options. #+caption: Set basic =Org= options.
@ -2430,7 +2430,7 @@ def __org_babel_python_format_value(result, result_file, result_params):
#+caption[Setup =org-latex-classes= for backwards compatibility]: #+caption[Setup =org-latex-classes= for backwards compatibility]:
#+caption: Setup =org-latex-classes= for backwards compatibility. #+caption: Setup =org-latex-classes= for backwards compatibility.
#+name: lst:setup-org-latex-classes #+name: lst:setup-org-latex-classes
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :exports none :results silent :tangle no
(with-eval-after-load 'ox-latex (with-eval-after-load 'ox-latex
(mapc (function (lambda (element) (mapc (function (lambda (element)
(add-to-list 'org-latex-classes element))) (add-to-list 'org-latex-classes element)))