Amélioration de l'aspect de la table des matières dans Diapo

This commit is contained in:
Bastien Dumont 2021-04-04 23:32:37 +02:00
parent 1c851a279b
commit a9ccdae7d0
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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