%% %% 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{\YAD@insert@colophon}{\clearpage\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}{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'.