summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-09-05 18:10:25 -0400
committerKyle Meyer <kyle@kyleam.com>2013-09-05 18:11:28 -0400
commite4875ab79963adfdcdfa405aec8b420a462eb951 (patch)
treee160169a8d818d908c091c9e858e9b25e9bb78ac /init
parent56f6895b6aa64d5c181d37c1af9c7e3bf39c4bcd (diff)
downloademacs.d-e4875ab79963adfdcdfa405aec8b420a462eb951.tar.gz
Fix amsmath conflict for org latex export
Diffstat (limited to 'init')
-rw-r--r--init/km-org.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/km-org.el b/init/km-org.el
index cb12dfe..95de5c3 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -145,3 +145,8 @@
(add-hook 'message-mode-hook 'km/load-orgstruct)
(add-hook 'magit-log-edit-mode-hook 'km/load-orgstruct)
+
+;; avoid conflict when amsmath is loaded
+(setcar (rassoc '("wasysym" t) org-latex-default-packages-alist)
+ "nointegrals")
+(add-to-list 'org-latex-packages-alist '("" "amsmath" t))