diff --git a/Makefile b/Makefile index 5903a0f4bf917564dd6364ec43532b8e0dfe3ad7..b0172432e0cd8ea5293efed1500b3d71a0cb4871 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ PDF=$(MD:%.md=%.pdf) all: $(PNG) $(HTML) $(PDF) -figs/%.png: figs/%.svg figs/%.pdf +figs/%.png: figs/%.svg convert \-flatten $< $@ %.pdf: %.md Makefile @@ -37,5 +37,9 @@ figs/%.png: figs/%.svg figs/%.pdf %.html: %.md Makefile pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $< +deploy: all + mkdir -p mti + cp cours.html mti/index.html + clean: rm -rf *.html *.pdf diff --git a/cours.md b/cours.md index bb912800ae44e46f31c78041d0c82bb39488ab7e..c4bfdc5ad47c33435c87c76eb37451da1f5503c1 100644 --- a/cours.md +++ b/cours.md @@ -18,6 +18,15 @@ cref: false urlcolor: blue --- +\newcommand{\dd}{\mathrm{d}} +\newcommand{\real}{\mathbb{R}} +\newcommand{\integer}{\mathbb{Z}} +\newcommand{\definition}{\textbf{Definition }} +\newcommand{\exemples}{\textbf{Exemples }} +\newcommand{\remarque}{\textbf{Remarque }} +\newcommand{\proprietes}{\textbf{Propriétés }} +\newcommand{\propriete}{\textbf{Propriété }} + # Rappel ## Fonctions diff --git a/default.latex b/default.latex index 64ab8b4ec08f6b32723ebab28ef8dc794333a7ac..4312f715daa7a88095e74bc668794731322f9984 100644 --- a/default.latex +++ b/default.latex @@ -233,15 +233,6 @@ $if(institute)$ $endif$ \date{$date$} -\newcommand{\dd}{\mathrm{d}} -\newcommand{\real}{\mathbb{R}} -\newcommand{\integer}{\mathbb{Z}} -\newcommand{\definition}{\textbf{Definition }} -\newcommand{\exemples}{\textbf{Exemples }} -\newcommand{\remarque}{\textbf{Remarque }} -\newcommand{\proprietes}{\textbf{Propriétés }} -\newcommand{\propriete}{\textbf{Propriété }} - \begin{document} $if(title)$ \maketitle