diff --git a/Makefile b/Makefile index e2586d32b6a22ba0a08a2f03ea4ba8d2c890e4e4..25847e8ad59a54d0ea09b1059845b8208470ec46 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ -NAME=cours - -default: - pandoc -s -o cours.pdf cours.md --filter=pandoc-numbering --filter=$(PANDOC_CROSSREF)pandoc-crossref --template=./default.latex --pdf-engine pdflatex +cours.pdf: cours.md default.latex + pandoc -s -o cours.pdf cours.md --filter=pandoc-numbering --filter=pandoc-crossref --template=./default.latex --pdf-engine pdflatex # latex: # pandoc -s -S -o cours.tex cours.md --filter=pandoc-numbering --filter=$(PANDOC_CROSSREF)pandoc-crossref --template=./default.latex diff --git a/cours.md b/cours.md index a294f38009e4d56a249707ade731c0c42f20e87a..009d671f46d133d3b3d0ec28b9dd3c5dfd0c5e09 100644 --- a/cours.md +++ b/cours.md @@ -8,7 +8,7 @@ eqnPrefix: - "éq." - "éqs." chapters: true -numberSections: false +numberSections: true chaptersDepth: 1 sectionsDepth: 3 lang: fr