aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-07 14:04:43 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-07 14:04:43 +0100
commit38b64b3c5fcaeadde673352e2f7d914a426d3262 (patch)
treeabcf7de1296d14cd209f3d1694789e42fb9870bb /Emacs/.config/emacs
parentac34608bf78cfbd00bdb263da59299f271d68340 (diff)
downloaddotfiles-38b64b3c5fcaeadde673352e2f7d914a426d3262.tar.gz
dotfiles-38b64b3c5fcaeadde673352e2f7d914a426d3262.tar.bz2
dotfiles-38b64b3c5fcaeadde673352e2f7d914a426d3262.zip
+minted latex export org variables
Setup for =minted= package which allows for source code blocks with styling.
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org18
1 files changed, 17 insertions, 1 deletions
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