2021-03-09 22:10:21 +00:00
|
|
|
|
\mainlanguage[fr]
|
|
|
|
|
|
|
|
|
|
\setuppapersize[S6]
|
|
|
|
|
\setuplayout[backspace=2cm, topspace=0.7cm, bottom=0.5cm, width=middle, height=fit]
|
|
|
|
|
|
|
|
|
|
\setupinteraction[state=start,
|
|
|
|
|
$if(title)$
|
|
|
|
|
title={$title$},
|
|
|
|
|
$endif$
|
|
|
|
|
n$if(subtitle)$
|
|
|
|
|
subtitle={$subtitle$},
|
|
|
|
|
$endif$
|
|
|
|
|
$if(author)$
|
|
|
|
|
author={$for(author)$$author$$sep$; $endfor$},
|
|
|
|
|
$endif$
|
|
|
|
|
$if(keywords)$
|
|
|
|
|
keyword={$for(keywords)$$keywords$$sep$; $endfor$},
|
|
|
|
|
$endif$
|
|
|
|
|
style=,
|
|
|
|
|
color=blue,
|
|
|
|
|
contrastcolor=,
|
|
|
|
|
click=yes]
|
|
|
|
|
\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
|
|
|
|
|
|
|
|
|
|
\setupbodyfontenvironment[default][em=italic]
|
|
|
|
|
\definefontfamily[mainface][rm][cochineal]
|
|
|
|
|
\definefontfamily[mainface][ss][linuxbiolinumo]
|
|
|
|
|
\definefontfamily[mainface][tt][nimbusmonops][features=none]
|
|
|
|
|
\setupbodyfont[mainface,12pt]
|
|
|
|
|
\setuptype[lines=hyphenated]
|
2021-09-06 13:19:28 +01:00
|
|
|
|
\setbreakpoints[compound]
|
2021-03-09 22:10:21 +00:00
|
|
|
|
|
|
|
|
|
\setuphead[chapter] [style=\ssc\bf\setupinterlinespace,header=empty]
|
|
|
|
|
\setuphead[section] [style=\ssb\bf\setupinterlinespace]
|
|
|
|
|
\setuphead[subsection] [style=\ssa\bf\setupinterlinespace]
|
|
|
|
|
\setuphead[subsubsection] [style=\ss\bf]
|
|
|
|
|
\setuphead[subsubsubsection] [style=\ss]
|
|
|
|
|
\setuphead[subsubsubsubsection][style=\ss\it]
|
|
|
|
|
\setupheads[indentnext=yes]
|
|
|
|
|
|
|
|
|
|
\setuppagenumbering[location=] % Pour que le numéro de page n'apparaisse pas en haut au milieu
|
|
|
|
|
\setupheader[text][leftstyle=\em]
|
|
|
|
|
\setupheadertexts[section][pagenumber]
|
|
|
|
|
\setupfootertexts$if(toc)$[{\inframed{\goto{Table des matières}[page(3)]}}]$endif$[{\inframed{\goto{Retour à la page précédente}[PreviousJump]}}]
|
|
|
|
|
|
|
|
|
|
\setupbackend[
|
|
|
|
|
format={pdf/a-1a:2005},
|
|
|
|
|
profile={default_cmyk.icc,default_rgb.icc,default_gray.icc},
|
|
|
|
|
intent=ISO coated v2 300\letterpercent\space (ECI)]
|
|
|
|
|
|
|
|
|
|
\setupbackend[export=yes]
|
|
|
|
|
\setupstructure[state=start,method=auto]
|
|
|
|
|
|
|
|
|
|
\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
|
|
|
|
|
\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes]
|
|
|
|
|
\setupalign[hz,hanging]
|
|
|
|
|
\setupitaliccorrection[global, always]
|
|
|
|
|
|
2021-06-28 16:22:13 +01:00
|
|
|
|
\defineitemgroup[enumerate]
|
|
|
|
|
\setupenumerate[each][fit][itemalign=left,distance=.5em,style={\feature[+][default:tnum]}]
|
|
|
|
|
|
2021-03-09 22:10:21 +00:00
|
|
|
|
\setupindenting[yes, small]
|
|
|
|
|
|
2021-05-08 00:35:37 +01:00
|
|
|
|
\setupwhitespace[small]
|
|
|
|
|
|
2021-03-09 22:10:21 +00:00
|
|
|
|
\setupnotation[footnote][alternative=left, numbercommand=, stopper={.}]
|
|
|
|
|
|
|
|
|
|
\setupitemize[autointro] % prevent orphan list intro
|
|
|
|
|
\setupitemize[1][leftmargindistance=yes]
|
|
|
|
|
\definesymbol[1][—]
|
|
|
|
|
\definesymbol[2][–]
|
|
|
|
|
\definesymbol[3][-]
|
|
|
|
|
|
|
|
|
|
\setupfloats[default={here}]
|
|
|
|
|
\setupcaptions[way=bytext, prefixsegments=none]
|
|
|
|
|
|
|
|
|
|
\setupdelimitedtext[blockquote][indenting=no]
|
|
|
|
|
|
|
|
|
|
\definebreakpoints[lbreakwithouthyphen]
|
|
|
|
|
\definebreakpoint[lbreakwithouthyphen][=][type=1]
|
|
|
|
|
\definebreakpoint[lbreakwithouthyphen][-][type=1]
|
|
|
|
|
\setbreakpoints[lbreakwithouthyphen]
|
|
|
|
|
|
|
|
|
|
\definemakeup[titlepage][doubleside=no,align=middle,headerstate=empty]
|
|
|
|
|
\definemakeup[licensepage][doubleside=no,top=\vfill,headerstate=empty]
|
|
|
|
|
|
2021-05-08 00:35:37 +01:00
|
|
|
|
\setupcombinedlist[content, listoftables, listoffigures][criterium=all,
|
|
|
|
|
list={chapter,section,subsection, subsubsection},
|
|
|
|
|
alternative=c]
|
|
|
|
|
\setuplist[chapter, section, subsection, subsubsection][color=no, numberstyle={\feature[-][f:oldstyle]}, pagestyle={\feature[-][f:oldstyle]}]
|
|
|
|
|
\setuplist[chapter][width=1em, style=\bf\ss]
|
|
|
|
|
\setuplist[section][margin=1em, width=2em]
|
|
|
|
|
\setuplist[subsection][margin=3em, width=3em]
|
|
|
|
|
\setuplist[subsubsection][margin=6em, width=4em]
|
|
|
|
|
|
2021-03-09 22:10:21 +00:00
|
|
|
|
\starttext
|
|
|
|
|
|
|
|
|
|
\starttitlepagemakeup
|
|
|
|
|
$if(title)$
|
|
|
|
|
{\tfd\setupinterlinespace $title$}
|
|
|
|
|
$if(subtitle)$
|
|
|
|
|
\blank[force,1cm]
|
|
|
|
|
{\tfa\setupinterlinespace $subtitle$}
|
|
|
|
|
$endif$
|
|
|
|
|
$if(author)$
|
|
|
|
|
\blank[force,1cm]
|
|
|
|
|
{\tfa\setupinterlinespace $for(author)$$author$$sep$\crlf $endfor$}
|
|
|
|
|
$endif$
|
|
|
|
|
$if(date)$
|
|
|
|
|
\blank[force,1cm]
|
|
|
|
|
{\tfa\setupinterlinespace $date$}
|
|
|
|
|
$endif$
|
|
|
|
|
\stoptitlepagemakeup
|
|
|
|
|
\pagebreak
|
|
|
|
|
$endif$
|
|
|
|
|
|
2021-04-17 19:28:09 +01:00
|
|
|
|
$if(license)$
|
2021-03-09 22:10:21 +00:00
|
|
|
|
\startlicensepagemakeup
|
|
|
|
|
$-- requiert le filtre "license-dans-metadonnees.lua"
|
|
|
|
|
\inframed[frame=off, width=0.66\textwidth, align=normal]{$license$}
|
|
|
|
|
\stoplicensepagemakeup
|
|
|
|
|
\pagebreak
|
2021-04-17 19:28:09 +01:00
|
|
|
|
$endif$
|
2021-03-09 22:10:21 +00:00
|
|
|
|
|
|
|
|
|
$if(toc)$
|
|
|
|
|
\completecontent
|
|
|
|
|
$endif$
|
|
|
|
|
$if(lot)$
|
|
|
|
|
\completelistoftables
|
|
|
|
|
$endif$
|
|
|
|
|
$if(lof)$
|
|
|
|
|
\completelistoffigures
|
|
|
|
|
$endif$
|
|
|
|
|
\pagebreak
|
|
|
|
|
|
2021-05-08 00:35:37 +01:00
|
|
|
|
|
2021-03-09 22:10:21 +00:00
|
|
|
|
$body$
|
|
|
|
|
|
2021-04-17 19:28:09 +01:00
|
|
|
|
$if(license)$
|
2021-03-09 22:10:21 +00:00
|
|
|
|
\input{../Utilitaires/fdl-1.3_ConTeXt}
|
2021-04-17 19:28:09 +01:00
|
|
|
|
$endif$
|
2021-03-09 22:10:21 +00:00
|
|
|
|
|
|
|
|
|
\stoptext
|