From ecdbc9cc6840cf12a075626900b815689d6b7809 Mon Sep 17 00:00:00 2001
From: Felix <flukx@uber.space>
Date: Fri, 2 Oct 2020 17:51:36 +0000
Subject: [PATCH] evince as pdf previewer

also explains one more option of .latexmkrc
---
 .latexmkrc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.latexmkrc b/.latexmkrc
index 1e5733f..fb54638 100644
--- a/.latexmkrc
+++ b/.latexmkrc
@@ -2,3 +2,8 @@
 $pdf_mode= 4 ;
 @default_files = ('.maindir/tex/main.tex');
 $out_dir = '.maindir/out';
+# my okular stops currently with a segmentation fault
+# so I use another viewer: evince
+# start is necessary to start evince detached, otherwise latexmk -pvc is blocked by evince running
+# I am not sure if this would work with file names with blanks. Bad idea anyway!
+$pdf_previewer = "start evince %O %S"
-- 
GitLab