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)))