add settings for latexmk
This commit is contained in:
parent
81cbb7d078
commit
e9fef31e9d
@ -57,6 +57,10 @@ if command -v netstat &> /dev/null; then
|
|||||||
alias ports='sudo netstat -tulpn | grep LISTEN'
|
alias ports='sudo netstat -tulpn | grep LISTEN'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if command -v latexmk &> /dev/null; then
|
||||||
|
alias view-latex='latexmk -pdf -pvc main.tex'
|
||||||
|
fi
|
||||||
|
|
||||||
# alias tangle-doom-emacs='cd $HOME/.doom.d && $HOME/.emacs.d/bin/org-tangle config.org && cd -'
|
# alias tangle-doom-emacs='cd $HOME/.doom.d && $HOME/.emacs.d/bin/org-tangle config.org && cd -'
|
||||||
|
|
||||||
if command -v xmonad &> /dev/null; then
|
if command -v xmonad &> /dev/null; then
|
||||||
|
7
general/.latexmkrc
Normal file
7
general/.latexmkrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
$pdf_previewer = 'zathura %O';
|
||||||
|
$pdflatex = 'pdflatex -synctex=1 -interaction=nonstopmode';
|
||||||
|
@generated_exts = (@generated_exts, 'synctex.gz');
|
||||||
|
|
||||||
|
# pip install quietex
|
||||||
|
# https://blog.mje.nz/2019-07-31-quietex/
|
||||||
|
eval `quietex --latexmkrc`;
|
Loading…
Reference in New Issue
Block a user