tahamajs's picture
download
raw
1.09 kB
PDFLATEX=pdflatex
BIBTEX=bibtex
TEXFILE=assignment_template.tex
OUTFILE=assignment_template.pdf
.PHONY: all pdf paper clean
all: pdf
pdf:
@echo "Compiling $(TEXFILE) -> $(OUTFILE)"
if command -v latexmk >/dev/null 2>&1; then \
latexmk -pdf -pdflatex="$(PDFLATEX) -interaction=nonstopmode" $(TEXFILE); \
else \
$(PDFLATEX) -interaction=nonstopmode $(TEXFILE) || true; \
$(BIBTEX) $(basename $(TEXFILE)) || true; \
$(PDFLATEX) -interaction=nonstopmode $(TEXFILE) || true; \
$(PDFLATEX) -interaction=nonstopmode $(TEXFILE) || true; \
fi
paper:
@echo "Compiling paper_template.tex -> paper_template.pdf"
if command -v latexmk >/dev/null 2>&1; then \
latexmk -pdf -pdflatex="$(PDFLATEX) -interaction=nonstopmode" paper_template.tex; \
else \
$(PDFLATEX) -interaction=nonstopmode paper_template.tex || true; \
$(BIBTEX) paper_template || true; \
$(PDFLATEX) -interaction=nonstopmode paper_template.tex || true; \
$(PDFLATEX) -interaction=nonstopmode paper_template.tex || true; \
fi
clean:
rm -f *.aux *.log *.bbl *.blg *.toc *.out *.fls *.fdb_latexmk *.pdf

Xet Storage Details

Size:
1.09 kB
·
Xet hash:
5acf4d752460e87a42d51625b40624f6aa1aae4eb833ca1f4c792d091a2bf332

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.