fix: stable build with nomenclature, graphicx, 3-pass compilation

This commit is contained in:
Worker Agent
2026-06-04 19:41:43 -05:00
parent c46724301a
commit 6f6cd356a2
2 changed files with 10 additions and 5 deletions

View File

@@ -8,14 +8,14 @@ BIBTEX = bibtex
.PHONY: all quick clean view distclean .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: all:
$(TEX) -interaction=nonstopmode $(TARGET).tex $(TEX) -interaction=nonstopmode $(TARGET).tex
@if [ -f $(TARGET).blg ] || grep -ql '\\bibliography\|\\bibliographystyle' $(TARGET).tex; then \ @if [ -f $(TARGET).nlo ]; then \
$(BIBTEX) $(TARGET); \ makeindex -s nomencl.ist -o $(TARGET).nls $(TARGET).nlo; \
$(TEX) -interaction=nonstopmode $(TARGET).tex; \
$(TEX) -interaction=nonstopmode $(TARGET).tex; \
fi fi
$(TEX) -interaction=nonstopmode $(TARGET).tex
$(TEX) -interaction=nonstopmode $(TARGET).tex
## quick: Single pdflatex pass for rapid iteration ## quick: Single pdflatex pass for rapid iteration
quick: quick:

View File

@@ -41,6 +41,11 @@
% --------------------------------------------------------------------------- % ---------------------------------------------------------------------------
\usepackage{booktabs} \usepackage{booktabs}
% ---------------------------------------------------------------------------
% Graphics
% ---------------------------------------------------------------------------
\usepackage{graphicx}
% --------------------------------------------------------------------------- % ---------------------------------------------------------------------------
% TikZ % TikZ
% --------------------------------------------------------------------------- % ---------------------------------------------------------------------------