diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-05-14 21:52:18 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-05-14 21:52:18 +0900 |
commit | cc9d2b7c7f758f2c6eba7cee1f1b1c3a7471d985 (patch) | |
tree | 043628574d4f36a77beabdff069ee9ab0bee29c7 | |
parent | 22b1c9902f76b68627985d11724019ba954552d1 (diff) | |
download | dotfiles-cc9d2b7c7f758f2c6eba7cee1f1b1c3a7471d985.tar.gz |
continuing pandoc configuration
-rw-r--r-- | .emacs.d/init-custom.el | 3 | ||||
-rw-r--r-- | .emacs.d/init.el | 6 | ||||
-rw-r--r-- | .pandoc/templates/pessay.latex (renamed from .pandoc/templates/default.latex) | 0 |
3 files changed, 8 insertions, 1 deletions
diff --git a/.emacs.d/init-custom.el b/.emacs.d/init-custom.el index 22b3ebd5..ccf4a827 100644 --- a/.emacs.d/init-custom.el +++ b/.emacs.d/init-custom.el @@ -135,7 +135,8 @@ (projectile-project-name))))) '(safe-local-variable-values (quote - ((eval spw/writing-toggle) + ((eval pandoc-set-write "latex") + (eval spw/writing-toggle) (indent-tabs-mode . t\,)))) '(smart-tab-disabled-major-modes (quote (org-mode term-mode latex-mode message-mode))) '(smart-tab-using-hippie-expand nil) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 74130f69..44de1ac0 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1087,6 +1087,12 @@ ("Europe/Paris" "Paris") ("Asia/Seoul" "Seoul")))) +;; make it easier to compile to PDF with pandoc + +(use-package pandoc-mode + :ensure + :init (add-hook 'markdown-mode-hook 'conditionally-turn-on-pandoc)) + ;;;; ---- functions ---- diff --git a/.pandoc/templates/default.latex b/.pandoc/templates/pessay.latex index 9503b04d..9503b04d 100644 --- a/.pandoc/templates/default.latex +++ b/.pandoc/templates/pessay.latex |