From 38b64b3c5fcaeadde673352e2f7d914a426d3262 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 7 Aug 2020 14:04:43 +0100 Subject: +minted latex export org variables Setup for =minted= package which allows for source code blocks with styling. --- Emacs/.config/emacs/config.org | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index b7efb52..39cc14a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -596,15 +596,31 @@ Has evil-org for evil bindings. (org-fontify-whole-heading-line t) (org-footnote-auto-label 'plain) (org-hide-leading-stars t) + (org-hide-emphasis-markers nil) (org-image-actual-width nil) (org-priority-faces '((?A . error) (?B . warning) (?C . success))) (org-startup-indented t) (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 :hook (org-mode . evil-org-mode)) #+END_SRC +** Org fragtog +#+BEGIN_SRC emacs-lisp +(use-package org-fragtog + :hook (org-mode . org-fragtog-mode)) +#+END_SRC ** Org superstar #+BEGIN_SRC emacs-lisp (use-package org-superstar -- cgit v1.2.3-13-gbd6f