mirror of
https://github.com/agresdominik/paper-template.git
synced 2026-04-21 18:05:49 +00:00
Paper template in LaTeX from my Bachelors Thesis
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
PDF = out
|
||||
TEX = main.tex
|
||||
OUTDIR = $(realpath out)
|
||||
|
||||
all:
|
||||
latexmk -pdf -outdir=$(OUTDIR) $(TEX)
|
||||
mv $(OUTDIR)/$(basename $(TEX)).pdf $(PDF).pdf
|
||||
|
||||
watch:
|
||||
make all
|
||||
zathura *.pdf &
|
||||
while inotifywait -e close_write $(TEX); do make all; done
|
||||
|
||||
clean:
|
||||
latexmk -c -outdir=$(OUTDIR)
|
||||
rm -f $(OUTDIR)/*
|
||||
Reference in New Issue
Block a user