diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fithesis/fithesis3.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/fithesis/fithesis3.cls | 52 |
1 files changed, 32 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/fithesis/fithesis3.cls b/Master/texmf-dist/tex/latex/fithesis/fithesis3.cls index 7b072abb927..107a9b1662c 100644 --- a/Master/texmf-dist/tex/latex/fithesis/fithesis3.cls +++ b/Master/texmf-dist/tex/latex/fithesis/fithesis3.cls @@ -50,7 +50,7 @@ %% The names of the source files used are shown above. %% \NeedsTeXFormat{LaTeX2e} -\def\thesis@version{2015/11/21 v0.3.26 fithesis3 MU thesis class} +\def\thesis@version{2015/11/30 v0.3.27 fithesis3 MU thesis class} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ProvidesClass{fithesis3}[\thesis@version] @@ -149,6 +149,7 @@ \thesis@def[author]{author@tail}% \define@key{thesis}{author}{% \thesis@parseAuthor{#1}} +\let\author\thesis@parseAuthor \thesis@def{id} \define@key{thesis}{id}{% \def\thesis@id{#1}} @@ -267,6 +268,8 @@ \thesis@def{title} \define@key{thesis}{title}{% \def\thesis@title{#1}} +\def\title#1{\def\thesis@title{#1}} +\let\maketitle\relax \def\thesis@TeXtitle{\thesis@title} \define@key{thesis}{TeXtitle}{% \def\thesis@TeXtitle{#1}} @@ -309,8 +312,18 @@ \else% \thesis@autofalse% \fi} -\def\thesis@preamble{} -\def\thesis@postamble{} +\def\thesis@preamble{% + {\thesis@selectLocale{\thesis@locale}% + \thesis@blocks@preamble\clearpage} + \thesis@blocks@mainMatter} + +\def\thesis@postamble{{% + \thesis@selectLocale{\thesis@locale}% + \thesis@blocks@postamble}} + +\let\thesis@blocks@preamble\relax +\let\thesis@blocks@postamble\relax +\let\thesis@blocks@mainMatter\relax \long\def\thesislong#1#2{% \csname KV@thesis@#1\endcsname{#2}} \newif\ifthesis@loaded\thesis@loadedfalse @@ -321,27 +334,23 @@ \makeatletter% \ifx\thesis@locale\empty\else \thesis@requireLocale{\thesis@locale} - \thesis@selectLocale{\thesis@locale} \fi \ifx\thesis@style\empty\else \thesis@requireStyle{\thesis@style} \fi - \thesis@require{hyperref}% - {\hypersetup{unicode, - pdftitle={\thesis@title},% - pdfauthor={\thesis@author},% - pdfkeywords={\thesis@keywords},% - pdfcreator={\thesis@version},% - }}% - \ifthesis@auto% - \AtBeginDocument{\thesis@preamble}% - \AtEndDocument{\thesis@postamble}% - \fi% - \AtEndDocument{% - % Define \thesis@pages for the next run - \write\@auxout{\noexpand\gdef\noexpand% - \thesis@pages{\thepage}}} - \makeatother% + \thesis@require{hyperref} + \hypersetup{ + unicode=true, + pdfencoding=auto, + pdftitle=\thesis@title, + pdfauthor=\thesis@author, + pdfkeywords=\thesis@keywords, + pdfcreator=\thesis@version} + \ifthesis@auto + \AtBeginDocument{\thesis@preamble} + \AtEndDocument{\thesis@postamble} + \fi + \makeatother \fi} \def\thesis@exists#1#2{% \IfFileExists{#1}{#2}{% @@ -401,9 +410,12 @@ \expandafter\@gobbletwo% \fi% \thesis@tail#2}% +\AtEndDocument{\write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}} \ifx\thesis@pages\undefined\def\thesis@pages{??}\fi +\AtEndPreamble{\thesis@require{csquotes}} \def\thesis@selectLocale#1{% \edef\thesis@locale{#1}% + \csq@setstyle{\thesis@@{csquotesStyle}}% \ltx@ifpackageloaded{polyglossia}{% \selectlanguage{\thesis@locale} }{% |