diff --git a/00_macros.md b/00_macros.md new file mode 100644 index 0000000000000000000000000000000000000000..7dd8daa168f5ed66ffb81ac6001774aab586dafe --- /dev/null +++ b/00_macros.md @@ -0,0 +1,5 @@ + \newcommand{\ux}{\bm{x}} + \newcommand{\dd}{\mathrm{d}} + \newcommand{\real}{\mathbb{R}} + \newcommand{\grad}{\mathrm{grad}} + \ No newline at end of file diff --git a/Makefile b/Makefile index fb599083c6c2c55302083bbf23a51a62748b630c..907a7702d9a351e63f5b12bab74533e2929a07b9 100644 --- a/Makefile +++ b/Makefile @@ -23,10 +23,10 @@ all: cours.pdf cours.html # %.tex: %.md # pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $< -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 +cours.pdf: 00_macros.md 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 -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 +cours.html: 00_macros.md 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 diff --git a/metadata.yaml b/metadata.yaml index ebfc9a32caaa16aa91c2568a96d2f04ca777fd04..c2a99dc2a0e208a48162b8a13574fcf2b81fe501 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -16,14 +16,6 @@ documentclass: book papersize: A4 cref: false urlcolor: blue -include-before: -- | - ```{=latex} - \newcommand{\ux}{\bm{x}} - \newcommand{\dd}{\mathrm{d}} - \newcommand{\real}{\mathbb{R}} - \newcommand{\grad}{\mathrm{grad}} - ``` ---