fix: stable build with nomenclature, graphicx, 3-pass compilation
This commit is contained in:
10
Makefile
10
Makefile
@@ -8,14 +8,14 @@ BIBTEX = bibtex
|
||||
|
||||
.PHONY: all quick clean view distclean
|
||||
|
||||
## all: Full build (pdflatex -> bibtex if needed -> pdflatex x2)
|
||||
## all: Full build with nomenclature indexing and 3-pass pdflatex
|
||||
all:
|
||||
$(TEX) -interaction=nonstopmode $(TARGET).tex
|
||||
@if [ -f $(TARGET).blg ] || grep -ql '\\bibliography\|\\bibliographystyle' $(TARGET).tex; then \
|
||||
$(BIBTEX) $(TARGET); \
|
||||
$(TEX) -interaction=nonstopmode $(TARGET).tex; \
|
||||
$(TEX) -interaction=nonstopmode $(TARGET).tex; \
|
||||
@if [ -f $(TARGET).nlo ]; then \
|
||||
makeindex -s nomencl.ist -o $(TARGET).nls $(TARGET).nlo; \
|
||||
fi
|
||||
$(TEX) -interaction=nonstopmode $(TARGET).tex
|
||||
$(TEX) -interaction=nonstopmode $(TARGET).tex
|
||||
|
||||
## quick: Single pdflatex pass for rapid iteration
|
||||
quick:
|
||||
|
||||
@@ -41,6 +41,11 @@
|
||||
% ---------------------------------------------------------------------------
|
||||
\usepackage{booktabs}
|
||||
|
||||
% ---------------------------------------------------------------------------
|
||||
% Graphics
|
||||
% ---------------------------------------------------------------------------
|
||||
\usepackage{graphicx}
|
||||
|
||||
% ---------------------------------------------------------------------------
|
||||
% TikZ
|
||||
% ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user