summaryrefslogtreecommitdiffstats
path: root/.config/latexmk/latexmkrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/latexmk/latexmkrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/latexmk/latexmkrc b/.config/latexmk/latexmkrc
new file mode 100644
index 0000000..3731a88
--- /dev/null
+++ b/.config/latexmk/latexmkrc
@@ -0,0 +1,11 @@
+$pdf_previewer = "start 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';