MuPDF doesn't support automatic reloading. How do I use it as a document previewer for latexmk1?
1: Example call: latexmk -pdf -pvc doc.tex
MuPDF doesn't support automatic reloading. How do I use it as a document previewer for latexmk1?
1: Example call: latexmk -pdf -pvc doc.tex
You have to specify $pdf_update_method = 2 in the configuration file, which tells latexmk to send a SIGHUP signal to the process when a change is detected:
$pdf_update_method = 2;
$pdf_previewer = 'mupdf';
latexmk for your user in the file ~/.config/latexmk/latexmkrc (per the XDG specification) containing $pdf_previewer = "mupdf".latexmk -pdf -pvc -r ~/.config/latexmk/latexmkrc doc.tex
The default location for a user's configuration latexmk is either ~/.latexmkrc or ~/latexmkrc.