From a9ccdae7d01fa2bca6c5ced25ee48802b815f111 Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Sun, 4 Apr 2021 23:32:37 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20l'aspect=20de=20la=20t?= =?UTF-8?q?able=20des=20mati=C3=A8res=20dans=20Diapo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utilitaires/Makefile | 6 +++++- Utilitaires/TEMPLATE_Guide-CSL-Clio.context | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Utilitaires/Makefile b/Utilitaires/Makefile index 4f8943c..06f6dff 100644 --- a/Utilitaires/Makefile +++ b/Utilitaires/Makefile @@ -68,8 +68,12 @@ install: $(VALIDATION_PROV_FILE) clean: rm $(STYLESHEETS_DIR)/*/*$(OUTPUT_FILE_SUFFIX) -doc: +doc: docA4 docDiapo + +docA4: $(DOC_FILE).md TEMPLATE_Guide-CSL-Clio.latex pandoc $(COMMON_DOC_OPTIONS) -o $(DOC_FILE)_A4.pdf --pdf-engine=lualatex --top-level-division=chapter --template=TEMPLATE_Guide-CSL-Clio.latex + +docDiapo: $(DOC_FILE).md TEMPLATE_Guide-CSL-Clio.context pandoc $(COMMON_DOC_OPTIONS) -o $(DOC_FILE)_Diapo.tex -t context --template=TEMPLATE_Guide-CSL-Clio.context && \ cd $(DOC_DIR) && \ context --noconsole --errors $(DOC_FILE)_Diapo.tex diff --git a/Utilitaires/TEMPLATE_Guide-CSL-Clio.context b/Utilitaires/TEMPLATE_Guide-CSL-Clio.context index cd53ee4..49d3a05 100644 --- a/Utilitaires/TEMPLATE_Guide-CSL-Clio.context +++ b/Utilitaires/TEMPLATE_Guide-CSL-Clio.context @@ -106,7 +106,13 @@ $-- requiert le filtre "license-dans-metadonnees.lua" \stoplicensepagemakeup \pagebreak -\setupcombinedlist[content, listoftables, listoffigures][criterium=all, list={chapter,section,subsection}] +\setupcombinedlist[content, listoftables, listoffigures][criterium=all, + list={chapter,section,subsection}, + alternative=c] +\setuplist[chapter, section, subsection][color=no, numberstyle={\feature[-][f:oldstyle]}, pagestyle={\feature[-][f:oldstyle]}] +\setuplist[chapter][width=1em, style=\ss\bf] +\setuplist[section][margin=1em, width=2em] +\setuplist[subsection][margin=3em, width=3em] $if(toc)$ %\reference[label:toc] \completecontent