summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx400
-rw-r--r--Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx19
-rw-r--r--Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls479
3 files changed, 898 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx
new file mode 100644
index 00000000000..1f7dde141e4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.bbx
@@ -0,0 +1,400 @@
+\ProvidesFile{droit-fr.bbx}[2012/02/17 v0.1 style droit francais]
+
+\RequireBibliographyStyle{verbose-ibid}
+
+% l'editor ne remplace pas un champ author laissé vide.
+% il reste imprimé à sa place (généralement après le title).
+\ExecuteBibliographyOptions{useeditor=false}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% REDEFINITIONS/AJOUT DE MOTS-CLES %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NewBibliographyString{byobservator}
+\NewBibliographyString{bychronicler}
+
+\DefineBibliographyStrings{french}{%
+ in = {in},
+ byeditor = {sous la dir\adddot\ de},
+ bycommentator = {comm\adddot},
+ byannotator = {note},
+ byobservator = {obs\adddot},
+ byredactor = {rapp\adddot},
+ bychronicler = {chron\adddot},
+ withafterword = {concl\adddot},
+ thiscite = {spéc\adddot},
+ section = {art\adddot},
+ sections = {art\adddot},
+}
+
+\DefineBibliographyStrings{british}{%
+ in = {in},
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% REDEFINITIONS DE BIBLATEX.DEF %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\setlength{\bibitemsep}{1.5\itemsep} % espacement entre 2 références
+\renewcommand*{\newunitpunct}{\addcomma\space} % separation des units par une virgule
+\renewcommand*{\mkbibnamelast}[1]{\textsc{\textnohyphenation{#1}}} % petites maj. pour toutes les langues.
+
+% ------------------------------------------------------------------
+% FIELD FORMATS
+% ------------------------------------------------------------------
+
+% Used in citations
+
+% book, thesis, collection, report, legislation, jurisdiction, case = italique
+% inbook, incollection, article, commentary = guillemets
+\DeclareFieldFormat{citetitle}{\mkbibemph{#1\isdot}}
+\DeclareFieldFormat
+ [article,inbook,incollection,inproceedings,patent,unpublished]
+ {citetitle}{\mkbibquote{#1\isdot}}
+
+% Used in the bibliography
+
+% tout italique
+\DeclareFieldFormat{title}{\mkbibemph{#1\isdot}}
+\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1\isdot}}
+\DeclareFieldFormat{chapter}{#1} % pas de `chap.`
+\DeclareFieldFormat[jurisdiction,legislation]{number}{\biblcstring{number}~#1}% no de l'arret
+\DeclareFieldFormat[case]{journaltitle}{#1}% pas d'italique'
+\DeclareFieldFormat[case]{volume}{#1}% pas de 't.'
+\DeclareFieldFormat[case]{pages}{#1} % pas de 'p.'
+
+% ------------------------------------------------------------------
+% LIST FORMATS
+% ------------------------------------------------------------------
+
+% institution entre parentheses dans les cases de type legacy
+\DeclareListFormat{parenslist}{%
+ \mkbibparens{\usebibmacro{list:delim}{#1}%
+ #1\isdot
+ \usebibmacro{list:andothers}}}
+
+% ------------------------------------------------------------------
+% NAME LIST FORMATS
+% ------------------------------------------------------------------
+% #1 = last name
+% #2 = last name (initials)
+% #3 = first name
+% #4 = first name (initials)
+% #5 = name prefix, a.k.a. 'von part'
+% #6 = name prefix (initials)
+% #7 = name affix, a.k.a. 'junior part'
+% #8 = name affix (initials)
+
+% Forcer l'affichage du prénom en initiales, suivi du nom pour les auteurs dans les citations.
+\DeclareNameFormat{labelname}{%
+ \ifuseprefix
+ {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}
+ {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}%
+ \usebibmacro{name:andothers}}
+
+% modification pour obtenir "NOM, (Prénom particule)" pour les auteurs dans la bibliographie.
+\renewbibmacro*{name:last-first}[4]{%
+ \ifuseprefix
+ {\usebibmacro{name:delim}{#3#1}%
+ \ifblank{#3}{}{%
+ \mkbibnameprefix{\MakeCapital{#3}\isdot}%
+ \ifpunctmark{'}{}{\addhighpenspace}}%
+ \mkbibnamelast{#1\isdot}%
+ \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}%
+ \ifblank{#2}{}{\addlowpenspace\mkbibparens{\mkbibnamefirst{#2}\isdot}}}
+ {\usebibmacro{name:delim}{#1}%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}%
+ \ifblank{#2#3}{}{}%
+ \ifblank{#2}{}{%
+ \ifblank{#3}
+ {\addlowpenspace\mkbibparens{\mkbibnamefirst{#2}\isdot}}%
+ {\addlowpenspace\mkbibparens{\mkbibnamefirst{#2}\addlowpenspace\mkbibnameprefix{#3}\isdot}}}}}
+
+% affichage du prénom en initiales, suivi du nom pour les autres champs (editor, translator, etc).
+\DeclareNameFormat{first-last}{%
+ \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}
+ \usebibmacro{name:andothers}}
+
+%%%%%%%%%%%
+% DRIVERS %
+%%%%%%%%%%%
+
+% loi
+\DeclareBibliographyDriver{legislation}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{journal+issuetitle}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printfield{pages}
+ \newunit\newblock
+ \usebibmacro{url+urldate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+% rapport officiel
+% ajout de l'editor (byeditor)
+\DeclareBibliographyDriver{report}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isrn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+% thèse:
+% ajout du directeur de thèse (byeditor)
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \printlist{publisher}
+ \newunit
+ \printfield{pagetotal}
+ \setunit*{\addcomma\space}
+ \newblock
+ \printfield{doi}%
+ \newunit\newblock
+ \usebibmacro{url+urldate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+% cas de jurisprudence générique
+\DeclareBibliographyAlias{jurisdiction}{case}
+\DeclareBibliographyDriver{case}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \iffieldequalstr{hyphenation}{british}
+ {\usebibmacro{case:british}}
+ {\usebibmacro{case:french}}
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+% cas de jurisprudence anglaise
+% - avec neutral citation: format adopté depuis 2001 par certaines juridictions
+% - sans neutral citation: format historique
+\newbibmacro*{case:british}{%
+ \iffieldundef{number}
+ {\usebibmacro{case:british:legacy}}
+ {\usebibmacro{case:british:withneutral}}
+}
+
+% jurisprudence anglaise sans neutral citation:
+% title | [year] OR (eventyear) | volume | journal | page | (jurisdiction)
+\newbibmacro*{case:british:legacy}{%
+ \usebibmacro{title}%
+ \setunit{\addspace}\newblock
+ \iffieldundef{year}
+ {\printfield[parens]{eventyear}}
+ {\printfield[brackets]{year}}
+ \setunit{\addspace}
+ \printfield{volume}%
+ \setunit{\addspace}
+ \usebibmacro{journal}%
+ \setunit{\addspace}\newblock
+ \printfield{pages}
+ \setunit{\addspace}\newblock
+ \printlist[parenslist]{institution}}
+
+% case avec neutral citation (depuis 2001 et pour certaines juridictions)
+% <neutral citation>, | <infos de publications dans un law report>
+\newbibmacro*{case:british:withneutral}{%
+ \usebibmacro{case:british:neutral}%
+ \iffieldundef{journaltitle}
+ {}
+ {\usebibmacro{case:british:report}}}
+
+% neutral citation
+% title | [eventyear] | jurisdiction | number
+\newbibmacro*{case:british:neutral}{%
+ \usebibmacro{title}%
+ \setunit{\addspace}\newblock
+ \printfield[brackets]{eventyear}%
+ \setunit{\addspace}
+ \printlist{institution}%
+ \setunit{\addspace}
+ \printfield{number}%
+}
+
+% informations de publication relatives à un law report
+% dans un arrêt de jurisprudence anglaise avec neutral citation.
+% [year] OR (eventyear) | volume | journal | page
+\newbibmacro*{case:british:report}{%
+ \setunit{\addcomma\space}\newblock
+ \iffieldundef{year}
+ {\printfield[parens]{eventyear}}
+ {\printfield[brackets]{year}}
+ \setunit{\addspace}
+ \printfield{volume}%
+ \setunit{\addspace}
+ \usebibmacro{journal}%
+ \setunit{\addspace}\newblock
+ \printfield{pages}
+}
+
+% arrêt de jurisprudence française.
+% institution, | titre, | eventdate, | number, | journal, | date, | volume, | chapter, | pages
+% - eventdate: date de décision rendue
+% - date: date de publication dans un journal officiel
+% - number: numéro de requête ou de l'arrêt (si non publié)
+% - chapter: section logique du journal dans laquelle se trouve l'arrêt
+\newbibmacro{case:french}{%
+ \printlist{institution}%
+ \newunit\newblock
+ \usebibmacro{title}%
+ \newunit\newblock
+ \printeventdate%
+ \newunit\newblock
+ \printfield{number}%
+ \newunit\newblock
+ \usebibmacro{journal}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}
+ \newunit\newblock
+ \usebibmacro{chapter+pages}}
+
+% commentaire d'arrêt
+\DeclareBibliographyDriver{commentary}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{journal+issuetitle}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% REDEFINITIONS DU STYLE STANDARD.BBX %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% mot-clé "in" non présent dans les articles.
+% présent dans les autres types (inbook, incollection...):
+% - pas de :
+% - pas de virgule (ni avant ni après)
+\renewbibmacro*{in:}{%
+ \ifentrytype{article}
+ {\newunit}
+ {\setunit{\addspace}
+ \biblcstring[\mkbibemph]{in}
+ \setunit{\addspace}
+ \nopunct}
+ }
+
+% date imprimée sans parenthèses
+\renewbibmacro*{issue+date}{%
+ \printtext{% [parens]
+ \iffieldundef{issue}
+ {\printdate}
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \printfield{year}}}%
+ \newunit}
+
+% macro utilisée dans article, legislation, commentary.
+% journal et date toujours séparés par un espace.
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \setunit{\addspace}%
+ \usebibmacro{issue+date}%
+ \newunit\newblock
+ \usebibmacro{issue}%
+ \newunit
+ \printfield{volume}%
+ \newunit
+ \iffieldundef{series}
+ {}
+ {\printfield{series}%
+ \newunit}%
+ \printfield{number}%
+ \newunit
+ \printfield{eid}%
+ \newunit}
+
+% macro utilisée dans les (in)proceedings.
+% date imprimée sans parenthèses
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {\setunit*{\addspace}%
+ \printtext{% [parens]
+ \printfield{venue}%
+ \setunit*{\addcomma\space}%
+ \printeventdate}}%
+ \newunit}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
new file mode 100644
index 00000000000..18d38221053
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cbx
@@ -0,0 +1,19 @@
+\ProvidesFile{droit-fr.cbx}[2012/02/17 v0.1 style droit francais]
+
+\RequireCitationStyle{verbose-ibid}
+\ExecuteBibliographyOptions{citepages=separate} % pagetracker=spread
+
+\renewcommand*{\mkibid}{\emph} % mots latins en italique
+
+% pas de version raccourcie des note de bas de page passée la 1ère référence.
+\renewbibmacro*{cite:short}{\usebibmacro{cite:full}}
+
+% commande de citation générique, dérivée de \smartcite.
+\DeclareCiteCommand{\cite}[\iffootnote\bibfootnotewrapper\mkbibfootnote]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls
new file mode 100644
index 00000000000..7d87b49ab6f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls
@@ -0,0 +1,479 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{droit-fr}[2012/02/17 v0.1 classe pour droit francais]
+\LoadClassWithOptions{memoir} % classe de référence: memoir
+
+%%% PACKAGES REQUIS %%%
+
+\RequirePackage[utf8]{inputenc}
+\RequirePackage[T1]{fontenc}
+\RequirePackage{mathptmx} % police Times
+\RequirePackage{engrec} % compteur à symbole grecs
+\RequirePackage{filecontents} % génération des fichers de style makeindex
+\RequirePackage{lipsum} % génération de texte automatique
+\RequirePackage{ifdraft} % comportements spécifiques quand l'option de classe draft est présente
+\RequirePackage{xifthen} % code conditionnel
+\RequirePackage{babel} % support des langues
+\RequirePackage[babel]{csquotes} % support des guillemets babel
+\RequirePackage{hyperref} % hyperliens PDF
+\RequirePackage{bookmark} % signets PDF
+
+%%% OPTIONS %%%
+
+%\DeclareOption{bidule}{}
+%\ProcessOptions
+
+%%% PAGE DE TITRE %%%
+
+% université
+\newcommand{\university}[1]{\def\theuniversity{#1}}
+
+% école doctorante
+\newcommand{\school}[1]{\def\theschool{#1}}
+
+% spécialité de la thèse
+\newcommand{\speciality}[1]{\def\thespeciality{#1}}
+
+% date de soutenance
+\newcommand{\approvaldate}[1]{\def\theapprovaldate{#1}}
+
+% titre
+\renewcommand{\title}[1]{\def\thetitle{#1}}
+
+% auteur
+\renewcommand{\author}[2]{\def\theauthor{#1 \textsc{#2}}}
+
+% directeur de thèse
+% {civilité}{prénom}{nom}{poste}
+\newcommand{\director}[4]{%
+\def\thedirector{\textbf{#1 #2 \textsc{#3}}}
+\def\thedirectorjob{#4}}
+
+% rapporteurs
+% {civilité}{prénom}{nom}{poste}
+\newcommand{\reportera}[4]{%
+\def\thereportera{\textbf{#1 #2 \textsc{#3}}}
+\def\thereporterajob{#4}}
+
+\newcommand{\reporterb}[4]{%
+\def\thereporterb{\textbf{#1 #2 \textsc{#3}}}
+\def\thereporterbjob{#4}}
+
+% autres membres du jury
+% {civilité}{prénom}{nom}{poste}
+\newcommand{\membera}[4]{%
+\def\themembera{\textbf{#1 #2 \textsc{#3}}}
+\def\thememberajob{#4}}
+
+\newcommand{\memberb}[4]{%
+\def\thememberb{\textbf{#1 #2 \textsc{#3}}}
+\def\thememberbjob{#4}}
+
+% page de titre pour la soutenance
+\newcommand{\maketitlepage}{{%
+\thispagestyle{empty}
+
+\begin{center}
+{\LARGE Université \theuniversity \\[1\onelineskip]}
+{\large École doctorale de \theschool \\[2\onelineskip]}
+
+{Thèse de doctorat en \thespeciality \\
+soutenue le \theapprovaldate \\[2\onelineskip]}
+
+{\LARGE\bfseries \thetitle \\[2\onelineskip]}
+{\Large \theauthor \\[2\onelineskip]}
+
+\vfill
+
+\begin{tabular}{ll}
+Sous la direction de: & \thedirector \\
+ & \thedirectorjob \\
+ & \\
+Rapporteurs: & \thereportera \\
+ & \thereporterajob \\
+ & \thereporterb \\
+ & \thereporterbjob \\
+ & \\
+Membres du jury: & \themembera \\
+ & \thememberajob \\
+ & \thememberb \\
+ & \thememberbjob
+\end{tabular}
+\end{center}
+
+\cleardoublepage
+}}
+
+%%% TEXTE %%%
+
+\OnehalfSpacing % espacement de ligne
+\frenchbsetup{PartNameFull=false} % "partie I" préféré à "première partie"
+
+%%% EN-TETES / PIEDS DE PAGE %%%
+
+% date de compilation indiquée en mode draft uniquement
+\newcommand{\addversion}{\ifdraft{Imprimé le \today}{}}
+
+% définition du style des headers et footers
+\makepagestyle{corpus}
+\makeheadrule{corpus}{\textwidth}{\normalrulethickness}
+%\makefootrule{corpus}{\textwidth}{\normalrulethickness}{\footruleskip}
+\makeevenhead{corpus}{\small\thetitle}{}{\small\addversion}
+\makeoddhead{corpus}{}{}{\small\rightmark}
+\makeevenfoot{corpus}{}{\small\thepage}{}
+\makeoddfoot{corpus}{}{\small\thepage}{}
+\makepsmarks{corpus}{%
+\nouppercaseheads
+\createmark{part}{right}{shownumber}{Titre }{. \ }
+\createmark{chapter}{right}{shownumber}{\@chapapp\ }{. \ }
+\createmark{section}{right}{shownumber}{}{. \ }
+\createmark{subsection}{right}{shownumber}{}{ \ }
+\createplainmark{toc}{right}{\contentsname}
+\createplainmark{lof}{right}{\listfigurename}
+\createplainmark{lot}{right}{\listtablename}
+\createplainmark{bib}{right}{\bibname}
+\createplainmark{index}{right}{\indexname}
+\createplainmark{glossary}{right}{\glossaryname}
+}
+
+% hack de la classe memoir: équivalent à \createmark{book}, non disponible
+\def\bookpagemark#1{%
+ \markright{%
+ \ifnum\c@secnumdepth > -2
+ \if@mainmatter
+ Partie \thebook. \ %
+ \fi
+ \fi
+#1}}
+
+\pagestyle{corpus}
+
+
+%%% SECTIONS %%%
+
+% parties ("Première partie")
+
+% macro de conversion compteur => chaine de caractères de genre féminin
+\newcommand{\counterToFrenchF}[1]{\ifcase\value{#1}\or Première\or
+ Seconde\or Troisième\or Quatrième\or Cinquième\or
+ Sixième\or Septième\or Huitième\or Neuvième\or Dixième\or
+ Onzième\or Douzième\or Treizième\or Quatorzième\or Quinzième\or
+ Seizième\or Dix-septième\or Dix-huitième\or Dix-neuvième\or Vingtième\fi}
+\renewcommand*{\bookname}{\protect\counterToFrenchF{book}~partie}
+\renewcommand{\booknamenum}{} % espace entre intitulé et numéro
+\renewcommand{\printbooknum}{} % numéro
+\newcommand{\partie}{\book}
+
+% titres (I)
+
+\AtBeginDocument{%
+\renewcommand*{\partname}{Titre}
+}
+\counterwithin*{part}{book}% RAZ du compteur \part dans un nouveau book
+\newcommand{\titre}{\part}
+
+% chapitres (1)
+
+\counterwithin*{chapter}{part}% RAZ du compteur \chapter dans une nouvelle part
+\newcommand{\chapitre}{\chapter}
+
+% sections (I)
+
+\renewcommand*{\thesection}{Section \Roman{section}}
+%\setbeforesecskip{}
+%\setsecindent{}
+%\setaftersecskip{1em}
+%\setsecheadstyle{}
+\newcommand{\sectio}{\section}
+
+% paragraphes (§1)
+
+\renewcommand*{\thesubsection}{\S\ \arabic{subsection}.}
+%\setbeforesubsecskip{}
+%\setsubsecindent{}
+%\setaftersubsecskip{}
+%\setsubsecheadstyle{}
+\newcommand{\paragraphe}{\subsection}
+
+% sous-paragraphes (A.)
+
+\renewcommand*{\thesubsubsection}{\Alph{subsubsection}.}
+%\setbeforesubsubsecskip{}
+%\setsubsubsecindent{}
+%\setaftersubsubsecskip{}
+%\setsubsubsecheadstyle{}
+\newcommand{\souspara}{\subsubsection}
+
+% alinéas (1.)
+
+\renewcommand*{\theparagraph}{\arabic{paragraph}.}
+%\setbeforeparaskip{}
+%\setparaindent{}
+%\setafterparaskip{}
+%\setparaheadstyle{}
+\newcommand{\alinea}{\paragraph}
+
+% sous-alinéas (a.)
+
+\renewcommand*{\thesubparagraph}{\alph{subparagraph}.}
+%\setbeforesubparaskip{}
+%\setsubparaindent{}
+%\setaftersubparaskip{}
+%\setsubparaheadstyle{}
+\newcommand{\sousalinea}{\subparagraph}
+
+% points (i.)
+
+\newcommand{\subsubparagraph}{\@startsection{subsubparagraph}
+ {6}{\parindent}{1\baselineskip plus 0.25\baselineskip}
+ {.5em}{\normalsize\bfseries}}
+\newlistentry[subparagraph]{subsubparagraph}{toc}{5}
+\newcommand*{\subsubparagraphmark}[1]{} % gobble heading mark
+\renewcommand{\thesubsubparagraph}{\roman{subsubparagraph}.}
+\newcommand{\point}{\subsubparagraph}
+
+% souspoints (alpha.)
+
+\newcommand{\subsubsubparagraph}{\@startsection{subsubsubparagraph}
+ {7}{\parindent}{1\baselineskip plus 0.25\baselineskip}
+ {.5em}{\normalsize\bfseries}}
+\newlistentry[subsubparagraph]{subsubsubparagraph}{toc}{6}
+\newcommand*{\subsubsubparagraphmark}[1]{} % gobble heading mark
+\renewcommand{\thesubsubsubparagraph}{\engrec{subsubsubparagraph}.}
+\newcommand{\souspoint}{\subsubsubparagraph}
+
+% versets (paragraphes numérotés)
+
+\newcommand{\versetsec}[1]{\@startsection{versetsec}
+ {8}{\parindent}{0.5\baselineskip}
+ {#1}{\small\textbf}}
+\newlistentry{versetsec}{toc}{7}
+\newcommand*{\versetsecmark}[1]{} % gobble heading mark
+\renewcommand{\theversetsec}{\arabic{versetsec}.}
+
+\newcommand{\versetsecfilled}{\versetsec{-0.5em}}
+\newcommand{\versetsecblank}{\versetsec{-0em}}
+
+% référencement des versets dans l'index
+\newcounter{indexv}
+\newcommand{\verset}[1]{%
+ \ifthenelse{\equal{#1}{}}%
+ {\versetsecblank{#1}}%
+ {\versetsecfilled{#1}}%
+ \addtocounter{indexv}{1}%
+}
+
+% numérotation visible
+\setsecnumdepth{all}
+\maxsecnumdepth{all}
+\setcounter{secnumdepth}{7} % pour points (6) et sous-points (7)
+
+
+%%% GLOSSAIRE
+
+\renewcommand{\memgloterm}[1]{\textbf{#1}}
+\renewcommand{\memglodesc}[1]{\hspace{1ex}#1}
+\renewcommand{\memglonum}[1]{}
+
+% groupes par lettre alphabétique
+\newcommand{\doglobookmark}[1]{%
+{\bfseries\centering%
+#1\phantomsection\pdfbookmark[1]{#1}{#1-glo}%
+\vskip\onelineskip\par}}
+
+
+%%% INDEX %%%
+
+\renewcommand*{\seename}{\textit{voir}}
+\renewcommand*{\alsoname}{\textit{v. aussi}}
+
+\ifdraft{\showindexmarks}{}
+
+\newcommand{\indexv}[1]{\specialindex{\jobname}{indexv}{#1}}
+\newcommand{\printindexv}{\printindex[\jobname]}
+
+\newcommand{\idxmark}[1]{#1\markboth{#1}{#1}}
+
+\newcommand{\hyperbf}[1]{\textbf{\hyperpage{#1}}}
+\newcommand{\hyperit}[1]{\textit{\hyperpage{#1}}}
+
+% groupes par lettre alphabétique
+\newcommand{\doidxbookmark}[1]{%
+{\def\@tempa{Symbols}\def\@tempb{#1}%
+\bfseries\centering \ifx\@tempa\@tempb %
+Symboles
+\phantomsection%
+\pdfbookmark[1]{Symboles}{Analphabetics-idx}%
+\label{AnalphabeticsAnalphabeticsAnalphabetics-idx}%
+\else
+#1%
+\phantomsection%
+\pdfbookmark[1]{#1}{#1-idx}%
+% \label{#1#1#1-idx}%
+\fi%
+\vskip\onelineskip\par}}
+
+
+%%% SOMMAIRE & TABLE DES MATIERES %%%
+
+% paramètres communs
+\renewcommand{\cftbookname}{Partie\space}%
+\renewcommand{\cftpartname}{Titre\space}%
+%
+\cftsetindents{subsubparagraph}{4em}{2em}
+\cftsetindents{subsubsubparagraph}{5em}{2em}
+\cftsetindents{versetsec}{6em}{2em}
+
+% sommaire
+\newcommand*{\setupshorttoc}{%
+\renewcommand*{\contentsname}{Sommaire}
+\let\oldchangetocdepth\changetocdepth
+\renewcommand*{\changetocdepth}[1]{}
+\let\oldcftchapterfillnum\cftchapterfillnum
+\setcounter{tocdepth}{0}% Parties / Titres / Chapitres seulement
+%
+%\cftpagenumbersoff{book}
+%\cftpagenumbersoff{part}
+%\cftpagenumbersoff{chapter}
+%
+\renewcommand{\tocheadstart}{}
+%
+\renewcommand{\cftbeforebookskip}{1em}%
+%\renewcommand{\cftbookfont}{}%
+\renewcommand{\cftbookindent}{0em}%
+%\renewcommand{\cftbooknumwidth}{}%
+\renewcommand{\cftbookpagefont}{\normalfont\bfseries\large}%
+%\renewcommand{\cftafterbookskip}{}%
+%\renewcommand{\cftbookleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftbeforepartskip}{0.5em}%
+\renewcommand{\cftpartfont}{\normalfont\scshape}%
+\renewcommand{\cftpartindent}{0.5em}%
+%\renewcommand{\cftpartnumwidth}{}%
+\renewcommand{\cftpartpagefont}{\normalfont\scshape}%
+%\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftbeforechapterskip}{0em}%
+\renewcommand{\cftchapterfont}{\normalfont}%
+\renewcommand{\cftchaptername}{Chapitre\space}%
+\renewcommand{\cftchapterindent}{1em}%
+%\renewcommand{\cftchapternumwidth}{}%
+\renewcommand{\cftchapterpagefont}{\normalfont}%
+%\renewcommand{\cftchapterleader}{\cftdotfill{\cftdotsep}}%
+}%
+
+\newcommand{\shorttableofcontents}{%
+\clearpage
+\setupshorttoc
+\tableofcontents
+}%
+
+% table des matières
+\newcommand*{\setuplongtoc}{%
+\renewcommand*{\contentsname}{Table des matières}%
+\let\changetocdepth\oldchangetocdepth
+\setcounter{tocdepth}{7}%
+%
+% \cftpagenumberson{book}
+% \cftpagenumberson{part}
+% \cftpagenumberson{chapter}
+%
+\renewcommand{\tocheadstart}{\chapterheadstart}
+%
+\renewcommand{\cftbookbreak}{\addpenalty{-\@highpenalty}\clearpage}
+\renewcommand{\cftbeforebookskip}{2em}%
+\renewcommand{\cftbookfont}{\normalfont\bfseries\Large}%
+\renewcommand{\cftbookindent}{0em}%
+%\renewcommand{\cftbooknumwidth}{}%
+%\renewcommand{\cftafterbookskip}{}%
+\renewcommand{\cftbookleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftbeforepartskip}{1.5em}%
+\renewcommand{\cftpartfont}{\normalfont\bfseries\large}%
+\renewcommand{\cftpartindent}{0em}%
+%\renewcommand{\cftpartnumwidth}{}%
+\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftbeforechapterskip}{1em}%
+\renewcommand{\cftchapterfont}{\normalfont\bfseries\large}%
+\renewcommand{\cftchaptername}{Chapitre\space}%
+\renewcommand{\cftchapterindent}{0em}%
+%\renewcommand{\cftchapternumwidth}{}%
+\renewcommand{\cftchapterleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftbeforesectionskip}{0.5em}%
+\renewcommand{\cftsectionfont}{\normalfont\large}%
+%\renewcommand{\cftsectionname}{Section\space}%
+\renewcommand{\cftsectionindent}{0em}%
+\renewcommand{\cftsectionnumwidth}{5.5em}%
+%\renewcommand{\cftsectionleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftbeforesubsectionskip}{0.5em}%
+\renewcommand{\cftsubsectionfont}{\normalfont\scshape}%
+%\renewcommand{\cftsubsectionname}{}%
+\renewcommand{\cftsubsectionindent}{0em}%
+\renewcommand{\cftsubsectionnumwidth}{2em}%
+%\renewcommand{\cftsubsectionleader}{\cftdotfill{\cftdotsep}}%
+%
+%\renewcommand{\cftbeforesubsubsectionskip}{}%
+\renewcommand{\cftsubsubsectionfont}{\normalfont\itshape}%
+%\renewcommand{\cftsubsubsectionname}{}%
+\renewcommand{\cftsubsubsectionindent}{1em}%
+\renewcommand{\cftsubsubsectionnumwidth}{2em}%
+%\renewcommand{\cftsubsubsectionleader}{\cftdotfill{\cftdotsep}}%
+%
+%\renewcommand{\cftbeforeparagraphskip}{}%
+\renewcommand{\cftparagraphfont}{\normalfont}%
+%\renewcommand{\cftparagraphname}{}%
+\renewcommand{\cftparagraphindent}{2em}%
+\renewcommand{\cftparagraphnumwidth}{2em}%
+%\renewcommand{\cftparagraphleader}{\cftdotfill{\cftdotsep}}%
+%
+%\renewcommand{\cftbeforesubparagraphskip}{}%
+\renewcommand{\cftsubparagraphfont}{\normalfont}%
+%\renewcommand{\cftsubparagraphname}{}%
+\renewcommand{\cftsubparagraphindent}{3em}%
+\renewcommand{\cftsubparagraphnumwidth}{2em}%
+%\renewcommand{\cftsubparagraphleader}{\cftdotfill{\cftdotsep}}%
+%
+\renewcommand{\cftsubsubparagraphfont}{\normalfont\small}%
+%
+\renewcommand{\cftsubsubsubparagraphfont}{\normalfont\small}%
+%
+}%
+
+\newcommand{\longtableofcontents}{%
+\clearpage
+\setuplongtoc
+\tableofcontents
+}%
+
+% génération du fichier de style .ist
+\begin{filecontents}{\jobname.ist}
+% output main entry <entry> as: \item \idxmark{<entry>},
+item_0 "\n\\item \\idxmark{"
+delim_0 "}, "
+% not forgetting the subitem case% added 2008
+item_x1 "} \n \\subitem "
+% Wrap and uppercase head letters
+headings_flag 1
+heading_prefix "\\doidxbookmark{"
+heading_suffix "}"
+\end{filecontents}
+
+% génération du fichier de style .gst
+\begin{filecontents}{\jobname.gst}
+% Output style parameters
+preamble "\\begin{theglossary}"
+postamble "\n\\end{theglossary}\n"
+item_0 "\n\\glossitem"
+delim_0 "{\\memglonum{"
+encap_suffix "}}}"
+headings_flag 1
+heading_prefix "\\doglobookmark{"
+heading_suffix "}"
+% Input style parameters
+keyword "\\glossaryentry"
+\end{filecontents}
+
+\endinput
+