+minted latex export org variables

Setup for =minted= package which allows for source code blocks with styling.
This commit is contained in:
2020-08-07 14:04:43 +01:00
parent ac34608bf7
commit 38b64b3c5f

View File

@@ -596,15 +596,31 @@ Has evil-org for evil bindings.
(org-fontify-whole-heading-line t) (org-fontify-whole-heading-line t)
(org-footnote-auto-label 'plain) (org-footnote-auto-label 'plain)
(org-hide-leading-stars t) (org-hide-leading-stars t)
(org-hide-emphasis-markers nil)
(org-image-actual-width nil) (org-image-actual-width nil)
(org-priority-faces '((?A . error) (?B . warning) (?C . success))) (org-priority-faces '((?A . error) (?B . warning) (?C . success)))
(org-startup-indented t) (org-startup-indented t)
(org-tags-column 0) (org-tags-column 0)
(org-use-sub-superscripts '{}))) (org-use-sub-superscripts '{})
(org-latex-listings 'minted)
(org-latex-packages-alist '(("" "minted")))
(org-latex-pdf-process '("%latex -interaction nonstopmode -shell-escape -output-directory %o %f"
"%latex -interaction nonstopmode -shell-escape -output-directory %o %f"
"%latex -interaction nonstopmode -shell-escape -output-directory %o %f"))
(org-latex-minted-options '(("style" "xcode")
("linenos")
("mathescape")
("fontfamily" "courier")
("samepage" "true")))))
(use-package evil-org (use-package evil-org
:hook (org-mode . evil-org-mode)) :hook (org-mode . evil-org-mode))
#+END_SRC #+END_SRC
** Org fragtog
#+BEGIN_SRC emacs-lisp
(use-package org-fragtog
:hook (org-mode . org-fragtog-mode))
#+END_SRC
** Org superstar ** Org superstar
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org-superstar (use-package org-superstar