summaryrefslogtreecommitdiffstats
path: root/rc.org
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-04-28 20:54:07 -0400
committerAmin Bandali <amin@aminb.org>2018-04-28 20:54:07 -0400
commit58cbbce26dd7afdf798c4a2970ffd7d54f1b3c24 (patch)
treee784d3e647f13a7ccdcc024b33be61edf782b120 /rc.org
parent08146d0e9a7916a3ace810c30ca52d1721d1a00f (diff)
downloadconfigs-58cbbce26dd7afdf798c4a2970ffd7d54f1b3c24.tar.gz
configs-58cbbce26dd7afdf798c4a2970ffd7d54f1b3c24.tar.xz
configs-58cbbce26dd7afdf798c4a2970ffd7d54f1b3c24.zip
[rc] add latexmk config and clean up
Diffstat (limited to 'rc.org')
-rw-r--r--rc.org21
1 files changed, 20 insertions, 1 deletions
diff --git a/rc.org b/rc.org
index 3e879ea..cef6881 100644
--- a/rc.org
+++ b/rc.org
@@ -11,7 +11,7 @@ Note: This file is best viewed inside Emacs with org mode.
* Configs
-** =git=
+** Git
*** gitconfig
:PROPERTIES:
@@ -111,3 +111,22 @@ Note: This file is best viewed inside Emacs with org mode.
*.elc
*-autoloads.el
#+end_src
+
+** Latexmk
+:PROPERTIES:
+:header-args+: :tangle ~/.latexmkrc
+:END:
+
+#+begin_src conf
+$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';
+#+end_src