From: Amin Bandali Date: Fri, 10 May 2019 23:32:09 +0000 (-0400) Subject: latexmk: move config to $XDG_CONFIG_HOME/latexmk X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/8f75d115fc0ec92467da14716df0b8e9965d1cfb latexmk: move config to $XDG_CONFIG_HOME/latexmk may need a recent version: https://tex.stackexchange.com/a/123438 --- 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'; diff --git a/.latexmkrc b/.latexmkrc deleted file mode 100644 index 3731a88..0000000 --- a/.latexmkrc +++ /dev/null @@ -1,11 +0,0 @@ -$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';