Remove "lst:setup-org-latex-classes" fully
This commit is contained in:
parent
b5ebf0c226
commit
5fc90f281d
53
README.org
53
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
|
||||
|
Loading…
Reference in New Issue
Block a user