Skip to content
Snippets Groups Projects
Commit 34e27542 authored by Ashwin Vishnu's avatar Ashwin Vishnu
Browse files

Setup Makefiles for working with gvim+zathura+synctex

parent d90e0ab6
No related branches found
No related tags found
No related merge requests found
name := fluiddyn_paper
LATEX := pdflatex -shell-escape
LATEX := pdflatex -shell-escape -synctex=1
.PHONY: all clean
......@@ -9,6 +9,7 @@
clean:
rm -f *.log *.aux *.out *.bbl *.blg *.tmp
rm -rf _minted-$(name)
cleanall: clean
rm -f $(name).pdf
......@@ -19,6 +20,13 @@
startworking: edittex $(name).pdf
evince $(name).pdf &
vimtex:
gvim $(name).tex --servername GVIM &
doit: vimtex $(name).pdf
zathura $(name).pdf &
$(name).pdf: $(name).log
@# $(LATEX) $(name).tex
@if [ `grep "Package rerunfilecheck Warning: File" $(name).log | wc -l` != 0 ]; then $(LATEX) $(name).tex; fi
......
name := fluidsim_paper
LATEX := pdflatex -shell-escape
LATEX := pdflatex -shell-escape -synctex=1
.PHONY: all clean
......@@ -9,6 +9,7 @@
clean:
rm -f *.log *.aux *.out *.bbl *.blg *.tmp
rm -rf _minted-$(name)
cleanall: clean
rm -f $(name).pdf
......@@ -19,6 +20,12 @@
startworking: edittex $(name).pdf
evince $(name).pdf &
vimtex:
gvim $(name).tex --servername GVIM &
doit: vimtex $(name).pdf
zathura $(name).pdf &
$(name).pdf: $(name).log
@# $(LATEX) $(name).tex
@if [ `grep "Package rerunfilecheck Warning: File" $(name).log | wc -l` != 0 ]; then $(LATEX) $(name).tex; fi
......
../jors.cls
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment