Commit Diff


commit - 09d5c3d536f6a39772a8bf1051b2dea06a95ddd7
commit + f55f932bd10af005594c9b0ac185dc6687e13aff
blob - 7607dc71ca3c0be3cb565353f91c400e30ab5029
blob + 97dda75c24f937b019f204254abc8e152b775660
--- config.org
+++ config.org
@@ -452,6 +452,15 @@
                                                            (haskell . t)
                                                            (java . t)))
 #+end_src
+** minted
+#+begin_src emacs-lisp
+  (setq org-latex-listings 'minted
+        org-latex-packages-alist '(("" "minted"))
+        org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
+                                "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")
+        org-latex-minted-langs '(("cc" "c") ("cc" "c++") ("asm" "asm"))
+        org-latex-minted-options '(("fontsize" "\\scriptsize")))
+#+end_src
 * Development
 ** lsp-mode
 #+begin_src emacs-lisp