Skip to content
Snippets Groups Projects
Commit 2f0d4836 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

problem with latex macros in html

parent 9dd0355f
Branches
No related tags found
No related merge requests found
...@@ -26,8 +26,8 @@ all: cours.pdf cours.html ...@@ -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 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 pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $^ --metadata-file metadata.yaml
%.html: %.md 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 $@ $< pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml
deploy: all deploy: all
mkdir -p mti mkdir -p mti
......
...@@ -16,7 +16,7 @@ documentclass: book ...@@ -16,7 +16,7 @@ documentclass: book
papersize: A4 papersize: A4
cref: false cref: false
urlcolor: blue urlcolor: blue
header-includes: include-before:
- | - |
```{=latex} ```{=latex}
\newcommand{\ux}{\bm{x}} \newcommand{\ux}{\bm{x}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment