From 8e9c0ca5be11657d926897742d099f00a0036eb8 Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 2 Jun 2020 13:12:55 +0800 Subject: [PATCH] prioritise pdf-tools for viewing pdfs --- config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.org b/config.org index ef60dc2..7ae2296 100644 --- a/config.org +++ b/config.org @@ -4748,6 +4748,13 @@ fi (after! latex (add-to-list 'TeX-command-list '("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil t))) #+END_SRC + +For viewing the PDF, I rather like the pdf-tools viewer. While auctex is trying +to be nice in recognising that I have some PDF viewing apps installed, I'd +rather not have it default to using them, so let's re-order the preferences. +#+BEGIN_SRC emacs-lisp +(setq +latex-viewers '(pdf-tools evince zathura okular skim sumatrapdf)) +#+END_SRC *** Snippet helpers **** Template For use in the new-file template, let's set out a nice preamble we may want to use.