From 5fc90f281d4354465c8edbba7c06e15a1d122221 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 23 Jun 2024 10:06:27 +0200 Subject: [PATCH] Remove "lst:setup-org-latex-classes" fully --- README.org | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) diff --git a/README.org b/README.org index 90abdc9..7b1bd90 100644 --- a/README.org +++ b/README.org @@ -2027,9 +2027,6 @@ list detailing and motivating each listing: preview =png= images with Lua-LaTeX and ImageMagick. 10. Listing [[lst:set-ox-latex-options-for-lualatex-export]] configures [[https://orgmode.org/][Org-mode]] to generate output for Lua-LaTeX. -# 11. 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 -# [[lst:setup-org-latex-classes]], type {{{kbd(C-h v org-latex-classes)}}}. #+caption[Basic =Org= setup]: #+caption: Basic =Org= setup. @@ -2367,56 +2364,6 @@ def __org_babel_python_format_value(result, result_file, result_params): (put 'org-latex-toc-command 'safe-local-variable 'stringp)) #+end_src -#+caption[Setup =org-latex-classes= for backwards compatibility]: -#+caption: Setup =org-latex-classes= for backwards compatibility. -#+name: lst:setup-org-latex-classes -#+begin_src emacs-lisp -n :exports none :results silent :tangle no -(with-eval-after-load 'ox-latex - (mapc (function (lambda (element) - (add-to-list 'org-latex-classes element))) - (nreverse - (quote (("elsarticle-1+2+3" ; Elsevier journals - "\\documentclass{elsarticle} -[NO-DEFAULT-PACKAGES] -[PACKAGES] -[EXTRA]" - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}") - ("\\paragraph{%s}" . "\\paragraph*{%s}") - ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) - ("article-1+2+3" - "\\documentclass{article} -[NO-DEFAULT-PACKAGES] -[PACKAGES] -[EXTRA]" - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}") - ("\\paragraph{%s}" . "\\paragraph*{%s}") - ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) - ("report-1+2+3" - "\\documentclass[11pt]{report} -[NO-DEFAULT-PACKAGES] -[PACKAGES] -[EXTRA]" - ("\\part{%s}" . "\\part*{%s}") - ("\\chapter{%s}" . "\\chapter*{%s}") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) - ("book-1+2+3" - "\\documentclass[11pt]{book} -[NO-DEFAULT-PACKAGES] -[PACKAGES] -[EXTRA]" - ("\\part{%s}" . "\\part*{%s}") - ("\\chapter{%s}" . "\\chapter*{%s}") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))))) -#+end_src - *** [[info:org#In-buffer Settings][Buffer properties]] :PROPERTIES: :CUSTOM_ID: sec:buffer-properties