added pdf exporting

This commit is contained in:
Abraham Raji 2020-01-14 22:05:28 +05:30
parent dd93066876
commit f118a7c65b
1 changed files with 9 additions and 0 deletions

View File

@ -50,3 +50,12 @@ Asterisk can be boring to look at.
(setenv "BROWSER" "firefox")
#+END_SRC
*** Exporting to PDF
- Open compiled PDFs in =zathura= instead of in the editor.
#+BEGIN_SRC emacs-lisp
(add-hook 'org-mode-hook
'(lambda ()
(delete '("\\.pdf\\'" . default) org-file-apps)
(add-to-list 'org-file-apps '("\\.pdf\\'" . "zathura %s"))))
#+END_SRC