From 231a8f7d069eec1a2957d1de9ef51badd032dfae Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Mon, 30 Apr 2018 18:19:04 +0200 Subject: [PATCH] changement des tetes de chapitre --- Makefile | 6 ++---- cours.md | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e2586d3..25847e8 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 a294f38..009d671 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 -- GitLab