From 813f9163413fd71a64dc675c8954d5ec839c6b7d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 20 Jan 2018 16:38:07 -0500 Subject: [PATCH] Add function to open exported org pdf in evince --- .emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8266e45..f898fde 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -175,6 +175,9 @@ (visual-line-mode) (setq word-wrap t))) + (defun org-latex-open-pdf () + (interactive) + (call-process "evince" nil 0 nil (org-latex-export-to-pdf))) (defun org-src-export-to-pdf () (interactive) (org-src-in-org-buffer (org-latex-export-to-pdf)))