blob: 276f5d3b2d8ec6d4cea792f4858e9f20948401db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
%%
%% This is file `yathesis-demo.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% yathesis.dtx (with options: `demopkg')
%% -----------------------------------------------------------------------
%% yathesis --- Yet Another Thesis Class
%% E-mail: denis.bitouze@univ-littoral.fr
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% -----------------------------------------------------------------------
\RequirePackage{xpatch}
\RequirePackage{xstring}
\RequirePackage{xparse}
\RequirePackage{letltxmacro}
\RequirePackage{xifthen}
\RequirePackage[user,abspage]{zref}
\AfterEndPreamble{
\pretocmd{\tableofcontents@YAD@without@argument}{\cleardoublepage\zlabel{tableofcontents-withoutargument}}{}{}
\pretocmd{\tableofcontents@YAD@with@argument}{\cleardoublepage\zlabel{tableofcontents-withargument}}{}{}
\pretocmd{\printcolophontext}{\zlabel{colophon}}{}{}
\pretocmd{\maketitle}{\zlabel{fr-title}}{}{}%
\pretocmd{\makedisclaimer}{\cleardoublepage\zlabel{disclaimer}}{}{}
\pretocmd{\makekeywords}{\cleardoublepage\zlabel{keywords}}{}{}
\pretocmd{\makelaboratory}{\cleardoublepage\zlabel{laboratory}}{}{}
\pretocmd{\makededications}{\cleardoublepage\zlabel{dedications}}{}{}
\pretocmd{\makefrontepigraphs}{\cleardoublepage\zlabel{frontepigraphs}}{}{}
\pretocmd{\acknowledgements}{\cleardoublepage\zlabel{acknowledgements}}{}{}
\pretocmd{\caution}{\cleardoublepage\zlabel{caution}}{}{}
\pretocmd{\makeabstract}{\cleardoublepage\zlabel{abstract}}{}{}
\pretocmd{\foreword}{\cleardoublepage\zlabel{foreword}}{}{}
\let\YAD@demo@chapter@ORI\chapter%
\RenewDocumentCommand\chapter{som}{%
\IfBooleanTF{#1}
{
\ifthenelse{\equal{#3}{Introduction générale}}{\cleardoublepage\zlabel{introduction}%
}{%
}%
\IfNoValueTF{#2}
{\YAD@demo@chapter@ORI*{#3}}
{\YAD@demo@chapter@ORI*[#2]{#3}}%
}
{%
\ifthenelse{\equal{#3}{Introduction générale}}{\cleardoublepage\zlabel{introduction}%
}{%
}%
\ifthenelse{\equal{#3}{Contexte du chaos du rire}}{\cleardoublepage\zlabel{chapter}%
}{%
}%
\ifthenelse{\equal{#3}{Développement du chaos du rire}}{\zlabel{localbib}%
}{%
}%
\ifthenelse{\equal{#3}{Documents juridiques}}{\cleardoublepage\zlabel{appendix}%
}{%
}%
\IfNoValueTF{#2}
{\YAD@demo@chapter@ORI{#3}}
{\YAD@demo@chapter@ORI[#2]{#3}}%
}
}
\ifcsdef{printglossary}{%
\LetLtxMacro{\YAD@printglossary@ORI}{\printglossary}
\renewcommand{\printglossary}[1][]{%
\ifthenelse{\isempty{#1}}{\cleardoublepage\zlabel{printglossary}%
}{%
}%
\YAD@printglossary@ORI[{#1}]%
}
\xpretocmd{\printacronyms}{\cleardoublepage\zlabel{printacronyms}}{}{}
\xpretocmd{\printsymbols}{\cleardoublepage\zlabel{printsymbols}}{}{}
}{%
}
\xpretocmd{\conclusion}{\cleardoublepage\zlabel{conclusion}}{}{}
\xpretocmd{\conclusion*}{\cleardoublepage\zlabel{conclusion}}{}{}
\xpretocmd{\printbibliography}{\cleardoublepage\zlabel{printbibliography}}{}{}
\xpretocmd{\printindex}{\cleardoublepage\zlabel{printindex}}{}{}
\xapptocmd{\makebackcover}{\zlabel{makebackcover}}{}{}
\let\include\input
}
%% ----------------------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Denis Bitouzé.
%%
%% This work consists of the file yathesis.dtx
%% and the derived files yathesis.cls,
%% yathesis.ins,
%% yathesis.pdf,
%% and a number of configuration files.
%%
%% End of file `yathesis-demo.sty'.
|