diff --git a/Makefile b/Makefile index 75c84d3e65a4aed69df8c1b1f337b442ec748d34..fb599083c6c2c55302083bbf23a51a62748b630c 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ all: cours.pdf cours.html cours.pdf: 01_rappel.md 02_integrales.md 03_optimisation.md 04_edo.md 05_fourier.md 06_probas_stats.md 07_remerciements.md 08_notes.md pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $^ --metadata-file metadata.yaml -%.html: %.md - pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $< +cours.html: 01_rappel.md 02_integrales.md 03_optimisation.md 04_edo.md 05_fourier.md 06_probas_stats.md 07_remerciements.md 08_notes.md + pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml deploy: all mkdir -p mti diff --git a/metadata.yaml b/metadata.yaml index 0de52217629065f47e2ae4f8e80cd086298140b4..ebfc9a32caaa16aa91c2568a96d2f04ca777fd04 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -16,7 +16,7 @@ documentclass: book papersize: A4 cref: false urlcolor: blue -header-includes: +include-before: - | ```{=latex} \newcommand{\ux}{\bm{x}}