summaryrefslogtreecommitdiffstats
path: root/latexmk/.latexmkrc
diff options
context:
space:
mode:
Diffstat (limited to 'latexmk/.latexmkrc')
-rw-r--r--latexmk/.latexmkrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/latexmk/.latexmkrc b/latexmk/.latexmkrc
new file mode 100644
index 0000000..fba0b29
--- /dev/null
+++ b/latexmk/.latexmkrc
@@ -0,0 +1,10 @@
+$pdf_previewer = "zathura %O %S";
+$clean_ext = "aux out";
+#$pdf_update_method = 4;
+#$pdf_update_command = "zathura %O %S";
+
+# Synctex allows one to jump to from the PDF in Zathura to the source in Emacs
+# by Ctrl+click in the PDF.
+# Tell latexmk to use Zathura as a previewer, and run emacsclient as the Synctex
+# editor.
+# $pdf_previewer = 'exec zathura --synctex-forward -x \'emacsclient --no-wait +%{line} %{input}\' %O %S';