summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-26 23:10:32 +0000
committerKarl Berry <karl@freefriends.org>2014-07-26 23:10:32 +0000
commit0323535daa1e21c9a417b171362b62e0c3e09adc (patch)
treef46e4290470950a8d51c49a2d3a75688ca08af6e /Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
parent10b0d2ae791ff3d0be1018559aa21dc7581ede6c (diff)
yathesis (26jul14)
git-svn-id: svn://tug.org/texlive/trunk@34737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty')
-rw-r--r--Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty100
1 files changed, 100 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
new file mode 100644
index 00000000000..f5d8daa5872
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/yathesis/yathesis-demo.sty
@@ -0,0 +1,100 @@
+%%
+%% 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@lmpa.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}
+\AtEndPreamble{%
+ \xpretocmd{\tableofcontents@YAD@with@argument}{\cleardoublepage\zlabel{tableofcontents-withargument}}{}{}
+ \xpretocmd{\tableofcontents@YAD@without@argument}{\cleardoublepage\zlabel{tableofcontents-withoutargument}}{}{}
+}
+\AfterEndPreamble{%
+ \xpretocmd{\maketitle}{\zlabel{fr-title}}{}{}%
+ \xpretocmd{\makedisclaimer}{\cleardoublepage\zlabel{disclaimer}}{}{}
+ \xpretocmd{\makekeywords}{\cleardoublepage\zlabel{keywords}}{}{}
+ \xpretocmd{\makelaboratory}{\cleardoublepage\zlabel{laboratory}}{}{}
+ \xpretocmd{\makededications}{\cleardoublepage\zlabel{dedications}}{}{}
+ \xpretocmd{\makefrontepigraphs}{\cleardoublepage\zlabel{frontepigraphs}}{}{}
+ \xpretocmd{\acknowledgements}{\cleardoublepage\zlabel{acknowledgements}}{}{}
+ \xpretocmd{\caution}{\cleardoublepage\zlabel{caution}}{}{}
+ \xpretocmd{\makeabstract}{\cleardoublepage\zlabel{abstract}}{}{}
+ \xpretocmd{\foreword}{\cleardoublepage\zlabel{foreword}}{}{}
+ \let\YAD@demo@chapter@ORI\chapter%
+ \RenewDocumentCommand\chapter{som}{%
+ \IfBooleanTF{#1}
+ {
+ \ifthenelse{\equal{#3}{Introduction g\IeC {\'e}n\IeC {\'e}rale}}{\cleardoublepage\zlabel{introduction}%
+ }{%
+ }%
+ \IfNoValueTF{#2}
+ {\YAD@demo@chapter@ORI*{#3}}
+ {\YAD@demo@chapter@ORI*[#2]{#3}}%
+ }
+ {%
+ \ifthenelse{\equal{#3}{Introduction g\IeC {\'e}n\IeC {\'e}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.3
+%% 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.3 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'e.
+%%
+%% This work consists of the file yathesis.dtx
+%% and the derived files yathesis.cls,
+%% yathesis.ins,
+%% yathesis.pdf,
+%% yathesisdoc.sty,
+%% and a number of configuration files.
+%%
+%% End of file `yathesis-demo.sty'.