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

pdf generation with multiple files

parent 416b36b8
No related branches found
No related tags found
No related merge requests found
Équations différentielles ordinaires # Équations différentielles ordinaires
====================================
Introduction ## Introduction
------------
Pour illustrer le concept d’équations différentielles, nous allons Pour illustrer le concept d’équations différentielles, nous allons
considérer pour commencer des systèmes qui évoluent dans le temps considérer pour commencer des systèmes qui évoluent dans le temps
......
\newcommand{\ux}{\bm{x}}
\newcommand{\dd}{\mathrm{d}}
\newcommand{\real}{\mathbb{R}}
\newcommand{\grad}{\mathrm{grad}}
[^1]: Pour ceux que ça intéresse cette série s’obtient à l’aide d’une [^1]: Pour ceux que ça intéresse cette série s’obtient à l’aide d’une
série de Taylor. série de Taylor.
......
...@@ -18,21 +18,15 @@ HTMLOPTIONS += -c css/tufte-css/tufte.css ...@@ -18,21 +18,15 @@ HTMLOPTIONS += -c css/tufte-css/tufte.css
HTMLOPTIONS += --self-contained HTMLOPTIONS += --self-contained
HTMLOPTIONS += --mathjax=MathJax.js HTMLOPTIONS += --mathjax=MathJax.js
MD=$(wildcard *.md) all: cours.pdf cours.html
HTML=$(MD:%.md=%.html)
PDF=$(MD:%.md=%.pdf)
TEX=$(MD:%.md=%.tex)
# %.tex: %.md
# pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $<
all: $(PDF) $(HTML) $(TEX) 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
%.tex: %.md Makefile %.html: %.md
pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $<
%.pdf: %.md Makefile
pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $<
%.html: %.md Makefile
pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $< pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $<
deploy: all deploy: all
......
...@@ -16,4 +16,16 @@ documentclass: book ...@@ -16,4 +16,16 @@ documentclass: book
papersize: A4 papersize: A4
cref: false cref: false
urlcolor: blue urlcolor: blue
header-includes:
- |
```{=latex}
\newcommand{\ux}{\bm{x}}
\newcommand{\dd}{\mathrm{d}}
\newcommand{\real}{\mathbb{R}}
\newcommand{\grad}{\mathrm{grad}}
```
--- ---
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment