diff options
| author | mo khan <mo@mokhan.ca> | 2025-09-28 10:40:42 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-09-28 10:40:42 -0600 |
| commit | 7752e1f5584902d013331a43d779833e390f2f6d (patch) | |
| tree | c6c81df90943cb078b77f1ccd5b3f50b7f210af7 /Makefile | |
| parent | 5a48efd1e209277cdd570c9ff101692c4d56c808 (diff) | |
extract bibliography
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -20,7 +20,10 @@ PANDOC_ARGS := \ --pdf-engine=$(PDF_ENGINE) \ --variable=header-includes:'\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\DeclareUnicodeCharacter{03C1}{\ensuremath{\rho}}\DeclareUnicodeCharacter{2264}{\ensuremath{\leq}}\DeclareUnicodeCharacter{2265}{\ensuremath{\geq}}\DeclareUnicodeCharacter{2080}{\ensuremath{_0}}\DeclareUnicodeCharacter{2248}{\ensuremath{\approx}}\DeclareUnicodeCharacter{2212}{\ensuremath{-}}\DeclareUnicodeCharacter{03B1}{\ensuremath{\alpha}}\DeclareUnicodeCharacter{03B2}{\ensuremath{\beta}}\DeclareUnicodeCharacter{03BB}{\ensuremath{\lambda}}\DeclareUnicodeCharacter{03BC}{\ensuremath{\mu}}\DeclareUnicodeCharacter{03A3}{\ensuremath{\Sigma}}' \ --toc \ - --number-sections + --number-sections \ + --citeproc \ + --bibliography=references.bib \ + --csl=ieee.csl ASSIGNMENTS := 1 2 3 @@ -40,7 +43,7 @@ pdfs: $(PDFS) tarballs: $(TARS) # Pattern rule to build a PDF for an assignment N from assignments/N/README.md -$(STUDENT_ID)-assignment-%.pdf: assignments/%/README.md +$(STUDENT_ID)-assignment-%.pdf: assignments/%/README.md references.bib ieee.csl @echo "[Pandoc] Building $@ from $<" @PATH="$(TEX_PATH):$$PATH" $(PANDOC) $< -o $@ $(PANDOC_ARGS) |
