Config: Add more sections org latex export + misc

This commit is contained in:
TEC 2020-08-29 23:21:15 +08:00
parent 415b18b830
commit 67cae19919
2 changed files with 5 additions and 3 deletions

View File

@ -5769,6 +5769,7 @@ While this is the LaTeX section, it's convenient to also provide HTML acronyms h
)
#+END_SRC
***** Nicer checkboxes
#+BEGIN_SRC emacs-lisp
(after! org
(defun tec/org-export-latex-fancy-item-checkboxes (text backend info)
@ -5787,7 +5788,7 @@ While this is the LaTeX section, it's convenient to also provide HTML acronyms h
'tec/org-export-latex-fancy-item-checkboxes))
#+END_SRC
Now for a few more adjustments.
***** Class templates
#+BEGIN_SRC emacs-lisp :noweb yes
(after! ox-latex
(add-to-list 'org-latex-classes
@ -5897,6 +5898,7 @@ Now for a few more adjustments.
'("latexmk -shell-escape -interaction=nonstopmode -f -pdf -output-directory=%o %f")))
#+END_SRC
***** A cleverer preamble
We also want a particular preamble when minted is used,
#+NAME: org-minted-preamble
#+BEGIN_SRC LaTeX

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8538b4b99b960d60cb1f3cce9fe4d0441fa89316248250ba8d2dcca154b518d3
size 15077
oid sha256:d2e54291f5158781d860bd888af13ecab4a85006f4fc23b1b053beb397d27605
size 15046