Commit 1a167b1d authored by witiko's avatar witiko
Browse files

Added the `\thesis@selectLocale{...}`, which acts as a replacement for

`\def\thesis@locale{...}`, which also switches hyphenation patterns. The
macro definitions inside locale files are now global to account for the
fact that it now makes sense to include locale files on-site (and
therefore possibly inside a group) using the `\thesis@selectLocale`.
parent 059b7e7e
Loading
Loading
Loading
Loading
+34 −18
Original line number Diff line number Diff line
@@ -1041,11 +1041,11 @@
    \thesis@loadedtrue
    \makeatletter%
%    \end{macrocode}
% First, the main locale files are loaded using the
% |\thesis@requireLocale| macro.
% First, the main locale is selected and its files are loaded using
% the |\thesis@selectLocale| macro.
%    \begin{macrocode}
      \ifx\thesis@locale\empty\else
        \thesis@requireLocale{\thesis@locale}
        \thesis@selectLocale{\thesis@locale}
      \fi
%    \end{macrocode}
% Consequently, the style files are loaded.
@@ -1162,25 +1162,26 @@
% \end{enumerate} If inheritance is disabled for locale files, then
% only the first listed file is loaded. The \texttt{fithesis-}
% prefix serves to prevent clashes with other similarly named files
% within the \TeX\ directory structure.  To prevent prospective
% undesirable side effects from locale files being loaded multiple
% times, the |\thesis@|\textit{locale}|@required| macro is defined
% as a flag, which prevents future invocations with the same
% \textit{locale}. The macro can be used within both locale and
% style files, although the usage within locale files is strongly
% discouraged to prevent circular dependencies.
% within the \TeX\ directory structure. To prevent undesirable side
% effects from locale files being loaded multiple times, the
% |\thesis@|\textit{locale}|@required| macro is defined as a flag,
% which prevents future invocations with the same \textit{locale}.
% The macro can be used within both locale and style files,
% although the usage within locale files is strongly discouraged to
% prevent circular dependencies.
%    \begin{macrocode}
\def\thesis@requireLocale#1{%
  % Prevent redundant entries
  % Ignore redundant requests
  \expandafter\ifx\csname thesis@#1@required\endcsname\relax%
    \expandafter\def\csname thesis@#1@required\endcsname{}%
      \thesis@input{\thesis@localepath fithesis-#1.def}
      {\makeatletter % Enable requiring from within the document
      \thesis@input{\thesis@localepath fithesis-#1.def}%
      \ifthesis@locale@inheritance%
        \thesis@input{\thesis@localepath\thesis@university/%
          fithesis-#1.def}%
        \thesis@input{\thesis@localepath\thesis@university/%
          \thesis@faculty/fithesis-#1.def}% 
      \fi%
          \thesis@faculty/fithesis-#1.def}%
      \fi}
  \fi}
%    \end{macrocode}\end{macro}
% \subsection{String manipulation macros}
@@ -1263,6 +1264,16 @@
%    \begin{macrocode}
\ifx\thesis@pages\undefined\def\thesis@pages{??}\fi
%    \end{macrocode}
% \DescribeMacro{\thesis@selectLocale}|\thesis@selectLocale|\marg{locale}
% macro redefines the |\thesis@locale| macro to \textit{locale},
% loads the locale files of \textit{locale} and switches to the
% hyphenation patterns of \textit{locale}.
%    \begin{macrocode}
\def\thesis@selectLocale#1{%
  \edef\thesis@locale{#1}%
  \thesis@requireLocale{\thesis@locale}%
  \expandafter\language\csname l@\thesis@locale\endcsname}
%    \end{macrocode}
% \iffalse
%</class>
% ^^A Old fithesis classes
@@ -1309,11 +1320,16 @@
% \textsf{docstrip} tool, consult the \textsf{dtxtut, docstrip,
% doc} and \textsf{ltxdoc} manuals.
%
% Mind that the name of the locale is also used to load hyphenation
% patterns, which is why it shouldn't be arbitrary. To see the
% names of the hyphenation patterns, consult the \textsf{hyph-utf8}
% manual.
%
% \subsubsection{Interface}
% The union of locale files loaded via the locale file inheritance
% scheme (see the definition of the |\thesis@requireLocale| macro
% in Section \ref{sec:reflection}) needs to define the following
% macros:
% in Section \ref{sec:reflection}) needs to globally define the
% following macros:
% \begin{itemize}
%   \item|\thesis@|\textit{locale}|@universityName| -- The name of
%     the university
@@ -1377,8 +1393,8 @@
% \subsubsection{Interface}
% The union of style files loaded via the style file inheritance
% scheme (see the definition of the |\thesis@requireStyle| macro in
% Section \ref{sec:reflection}) should define at least one of the
% following macros:
% Section \ref{sec:reflection}) should globally define at least one
% of the following macros:
% \begin{itemize}
%   \item\DescribeMacro{\thesis@preamble}
%                      |\thesis@preamble| -- If autolayout is
+67 −67
Original line number Diff line number Diff line
@@ -10,33 +10,33 @@
% \end{macro}\iffalse
%<*base>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/fithesis-czech.def}[2015/06/26]

% Pomocná makra
\def\thesis@czech@gender@koncovka{%
\gdef\thesis@czech@gender@koncovka{%
  \ifthesis@woman a\fi}

% Zástupné texty
\def\thesis@czech@universityName{Název univerzity}
\def\thesis@czech@facultyName{Název fakulty}
\def\thesis@czech@assignment{Místo tohoto listu vložte kopii
\gdef\thesis@czech@universityName{Název univerzity}
\gdef\thesis@czech@facultyName{Název fakulty}
\gdef\thesis@czech@assignment{Místo tohoto listu vložte kopii
  oficiálního podepsaného zadání práce.}
\def\thesis@czech@declaration{Text prohlášení ...}
\gdef\thesis@czech@declaration{Text prohlášení ...}

% Různé
\def\thesis@czech@fieldTitle{Obor}
\def\thesis@czech@advisorTitle{Vedoucí práce}
\def\thesis@czech@authorTitle{Autor}
\def\thesis@czech@abstractTitle{Shrnutí}
\def\thesis@czech@keywordsTitle{Klíčová slova}
\def\thesis@czech@thanksTitle{Poděkování}
\def\thesis@czech@declarationTitle{Prohlášení}
\def\thesis@czech@idTitle{ID}
\def\thesis@czech@winter{Jaro}
\def\thesis@czech@summer{Podzim}
\def\thesis@czech@semester{%
\gdef\thesis@czech@fieldTitle{Obor}
\gdef\thesis@czech@advisorTitle{Vedoucí práce}
\gdef\thesis@czech@authorTitle{Autor}
\gdef\thesis@czech@abstractTitle{Shrnutí}
\gdef\thesis@czech@keywordsTitle{Klíčová slova}
\gdef\thesis@czech@thanksTitle{Poděkování}
\gdef\thesis@czech@declarationTitle{Prohlášení}
\gdef\thesis@czech@idTitle{ID}
\gdef\thesis@czech@winter{Jaro}
\gdef\thesis@czech@summer{Podzim}
\gdef\thesis@czech@semester{%
  \thesis@{czech@\thesis@season} \thesis@year}
\def\thesis@czech@typeName{%
\gdef\thesis@czech@typeName{%
  \ifx\thesis@type\thesis@bachelors%
    Bakalářská práce%
  \else\ifx\thesis@type\thesis@masters%
@@ -48,7 +48,7 @@
  \else%
    <<Neznámý typ práce (\thesis@type)>>%
  \fi\fi\fi\fi}
\def\thesis@czech@typeName@akuzativ{%
\gdef\thesis@czech@typeName@akuzativ{%
  \ifx\thesis@type\thesis@bachelors%
    Bakalářskou práci%
  \else\ifx\thesis@type\thesis@masters%
@@ -70,18 +70,18 @@
% \iffalse
%<*mu>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@universityName{Masarykova Univerzita}
\def\thesis@czech@declaration{Prohlašuji, že jsem
\gdef\thesis@czech@universityName{Masarykova Univerzita}
\gdef\thesis@czech@declaration{Prohlašuji, že jsem
  \thesis@lower{czech@typeName@akuzativ} zpracoval%
  \thesis@czech@gender@koncovka\ samostatně a
  použil\thesis@czech@gender@koncovka\ jen prameny
  uvedené~v seznamu literatury.}

% Různé
\def\thesis@czech@idTitle{UČO}
\gdef\thesis@czech@idTitle{UČO}
%    \end{macrocode}\iffalse
%</mu>
% \fi\file{locale/mu/law/fithesis-czech.def}
@@ -95,14 +95,14 @@
% \iffalse
%<*mu/law>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/law/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/law/fithesis-czech.def}[2015/06/26]

% Různé
\def\thesis@czech@abstractTitle{Abstrakt}
\gdef\thesis@czech@abstractTitle{Abstrakt}

% Zástupné texty
\def\thesis@czech@facultyName{Právnická fakulta}
\def\thesis@czech@facultyLongName{Právnická fakulta Masarykovy
\gdef\thesis@czech@facultyName{Právnická fakulta}
\gdef\thesis@czech@facultyLongName{Právnická fakulta Masarykovy
  univerzity}
%    \end{macrocode}\iffalse
%</mu/law>
@@ -115,13 +115,13 @@
% \iffalse
%<*mu/fsps>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fsps/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fsps/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@facultyName{Fakulta sportovních studií}
\gdef\thesis@czech@facultyName{Fakulta sportovních studií}

% Různé
\def\thesis@czech@fieldTitle{Specializace}
\gdef\thesis@czech@fieldTitle{Specializace}
%    \end{macrocode}\iffalse
%</mu/fsps>
% \fi\file{locale/mu/fss/fithesis-czech.def}
@@ -132,11 +132,11 @@
% \iffalse
%<*mu/fss>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fss/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fss/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@facultyName{Fakulta sociálních studií}
\def\thesis@czech@assignment{Místo tohoto listu
\gdef\thesis@czech@facultyName{Fakulta sociálních studií}
\gdef\thesis@czech@assignment{Místo tohoto listu
  vložte kopie oficiálního podepsaného zadání práce nebo
  prohlášení autora školního díla nebo obojí~v závislosti na
  požadavcích příslušné katedry.}
@@ -151,8 +151,8 @@
% \iffalse
%<*mu/econ>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/econ/fithesis-czech.def}[2015/06/23]
\def\thesis@czech@facultyName{Ekonomicko-správní fakulta}
\ProvidesFile{fithesis/locale/mu/econ/fithesis-czech.def}[2015/06/26]
\gdef\thesis@czech@facultyName{Ekonomicko-správní fakulta}
%    \end{macrocode}\iffalse
%</mu/econ>
% \fi\file{locale/mu/med/fithesis-czech.def}
@@ -167,17 +167,17 @@
% \iffalse
%<*mu/med>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/med/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/med/fithesis-czech.def}[2015/06/26]

% Různé
\def\thesis@czech@abstractTitle{Anotace}
\gdef\thesis@czech@abstractTitle{Anotace}

% Zástupné texty
\def\thesis@czech@facultyName{Lékařská fakulta}
\gdef\thesis@czech@facultyName{Lékařská fakulta}

% Bibliografický záznam
\def\thesis@czech@bib@title{Bibliografický záznam}
\def\thesis@czech@bib@pages{str}
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\gdef\thesis@czech@bib@pages{str}
%    \end{macrocode}\iffalse
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-czech.def}
@@ -193,14 +193,14 @@
% \iffalse
%<*mu/fi>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@facultyName{Fakulta informatiky}
\def\thesis@czech@assignment{Místo tohoto listu
\gdef\thesis@czech@facultyName{Fakulta informatiky}
\gdef\thesis@czech@assignment{Místo tohoto listu
  vložte kopie oficiálního podepsaného zadání práce a
  prohlášení autora školního díla.}
\def\thesis@czech@declaration{%
\gdef\thesis@czech@declaration{%
  Prohlašuji, že tato \thesis@lower{czech@typeName} je mým
  původním autorským dílem, které jsem vypracoval%
  \thesis@czech@gender@koncovka\ samostatně. Všechny zdroje,
@@ -210,7 +210,7 @@
  s~uvedením úplného odkazu na příslušný zdroj.}

% Ostatní
\def\thesis@czech@advisorSignature{Podpis vedoucího}
\gdef\thesis@czech@advisorSignature{Podpis vedoucího}
%    \end{macrocode}\iffalse
%</mu/fi>
% \fi\file{locale/mu/phil/fithesis-czech.def}
@@ -223,17 +223,17 @@
% \iffalse
%<*mu/phil>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/phil/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/phil/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@facultyName{Filozofická fakulta}
\def\thesis@czech@declaration{%
\gdef\thesis@czech@facultyName{Filozofická fakulta}
\gdef\thesis@czech@declaration{%
  Prohlašuji, že jsem \thesis@lower{czech@typeName@akuzativ}
  vypracoval\thesis@czech@gender@koncovka\ samostatně~s využitím
  uvedené literatury.}

% Ostatní
\def\thesis@czech@typeName{%
\gdef\thesis@czech@typeName{%
  \ifx\thesis@type\thesis@bachelors%
    Bakalářská diplomová práce%
  \else\ifx\thesis@type\thesis@masters%
@@ -243,7 +243,7 @@
  \else%
    <<Neznámý typ práce (\thesis@type)>>%
  \fi\fi\fi}
\def\thesis@czech@typeName@akuzativ{%
\gdef\thesis@czech@typeName@akuzativ{%
  \ifx\thesis@type\thesis@bachelors%
    Diplomovou práci%
  \else\ifx\thesis@type\thesis@masters%
@@ -267,14 +267,14 @@
% \iffalse
%<*mu/ped>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/ped/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/ped/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@facultyName{Pedagogická fakulta}
\gdef\thesis@czech@facultyName{Pedagogická fakulta}

% Bibliografický záznam
\def\thesis@czech@bib@title{Bibliografický záznam}
\def\thesis@czech@bib@pages{str}
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\gdef\thesis@czech@bib@pages{str}
%    \end{macrocode}\iffalse
%</mu/ped>
% \fi\file{locale/mu/sci/fithesis-czech.def}
@@ -290,29 +290,29 @@
% \iffalse
%<*mu/sci>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/sci/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/sci/fithesis-czech.def}[2015/06/26]

% Zástupné texty
\def\thesis@czech@facultyName{Přírodovědecká fakulta}
\gdef\thesis@czech@facultyName{Přírodovědecká fakulta}

% Ostatní
\def\thesis@czech@abstractTitle{Abstrakt}
\def\thesis@czech@declaration{%
\gdef\thesis@czech@abstractTitle{Abstrakt}
\gdef\thesis@czech@declaration{%
  Prohlašuji, že jsem svoji \thesis@lower{czech@typeName@%
  akuzativ} vypracoval\thesis@czech@gender@koncovka\ samo%
  statně s~využitím informačních zdrojů, které jsou v~práci
  citovány.}

% Bibliografický záznam
\def\thesis@czech@bib@title{Bibliografický záznam}
\let\thesis@czech@bib@author\thesis@czech@authorTitle
\def\thesis@czech@bib@thesisTitle{Název práce}
\def\thesis@czech@bib@programme{Studijní program}
\let\thesis@czech@bib@field\thesis@czech@fieldTitle
\let\thesis@czech@bib@advisor\thesis@czech@advisorTitle
\def\thesis@czech@bib@academicYear{Akademický rok}
\def\thesis@czech@bib@pages{Počet stran}
\let\thesis@czech@bib@keywords\thesis@czech@keywordsTitle
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\global\let\thesis@czech@bib@author\thesis@czech@authorTitle
\gdef\thesis@czech@bib@thesisTitle{Název práce}
\gdef\thesis@czech@bib@programme{Studijní program}
\global\let\thesis@czech@bib@field\thesis@czech@fieldTitle
\global\let\thesis@czech@bib@advisor\thesis@czech@advisorTitle
\gdef\thesis@czech@bib@academicYear{Akademický rok}
\gdef\thesis@czech@bib@pages{Počet stran}
\global\let\thesis@czech@bib@keywords\thesis@czech@keywordsTitle
%    \end{macrocode}\iffalse
%</mu/sci>
% \fi
+59 −59
Original line number Diff line number Diff line
@@ -4,29 +4,29 @@
% \iffalse
%<*base>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/fithesis-english.def}[2015/06/26]

% Placeholders
\def\thesis@english@universityName{University name}
\def\thesis@english@facultyName{Faculty name}
\def\thesis@english@assignment{Replace this page with a copy
\gdef\thesis@english@universityName{University name}
\gdef\thesis@english@facultyName{Faculty name}
\gdef\thesis@english@assignment{Replace this page with a copy
  of the official signed thesis assignment.}
\def\thesis@english@declaration{Declaration text ...}
\gdef\thesis@english@declaration{Declaration text ...}

% Miscellaneous
\def\thesis@english@fieldTitle{Field of study}
\def\thesis@english@advisorTitle{Advisor}
\def\thesis@english@authorTitle{Author}
\def\thesis@english@abstractTitle{Abstract}
\def\thesis@english@keywordsTitle{Keywords}
\def\thesis@english@thanksTitle{Acknowledgement}
\def\thesis@english@declarationTitle{Declaration}
\def\thesis@english@idTitle{ID}
\def\thesis@english@winter{Spring}
\def\thesis@english@summer{Fall}
\def\thesis@english@semester{%
\gdef\thesis@english@fieldTitle{Field of study}
\gdef\thesis@english@advisorTitle{Advisor}
\gdef\thesis@english@authorTitle{Author}
\gdef\thesis@english@abstractTitle{Abstract}
\gdef\thesis@english@keywordsTitle{Keywords}
\gdef\thesis@english@thanksTitle{Acknowledgement}
\gdef\thesis@english@declarationTitle{Declaration}
\gdef\thesis@english@idTitle{ID}
\gdef\thesis@english@winter{Spring}
\gdef\thesis@english@summer{Fall}
\gdef\thesis@english@semester{%
  \thesis@{english@\thesis@season} \thesis@year}
\def\thesis@english@typeName{%
\gdef\thesis@english@typeName{%
  \ifx\thesis@type\thesis@bachelors%
    Bachelor's Thesis%
  \else\ifx\thesis@type\thesis@masters%
@@ -48,16 +48,16 @@
% \iffalse
%<*mu>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fithesis-english.def}[2015/06/23]
\def\thesis@english@universityName{Masaryk University}
\def\thesis@english@declaration{%
\ProvidesFile{fithesis/locale/mu/fithesis-english.def}[2015/06/26]
\gdef\thesis@english@universityName{Masaryk University}
\gdef\thesis@english@declaration{%
  Hereby I declare that this paper is my original authorial work,
  which I have worked out by my own. All sources, references and
  literature used or excerpted during elaboration of this work are
  properly cited and listed in complete reference to the due source.}

% Miscellaneous
\def\thesis@english@idTitle{UČO}
\gdef\thesis@english@idTitle{UČO}
%    \end{macrocode}\iffalse
%</mu>
% \fi\file{locale/mu/law/fithesis-english.def}
@@ -69,9 +69,9 @@
% \iffalse
%<*mu/law>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/law/fithesis-english.def}[2015/06/23]
\def\thesis@english@facultyName{Faculty of Law}
\def\thesis@english@facultyLongName{The Faculty of Law of the
\ProvidesFile{fithesis/locale/mu/law/fithesis-english.def}[2015/06/26]
\gdef\thesis@english@facultyName{Faculty of Law}
\gdef\thesis@english@facultyLongName{The Faculty of Law of the
  Masaryk University}
%    \end{macrocode}\iffalse
%</mu/law>
@@ -84,13 +84,13 @@
% \iffalse
%<*mu/fsps>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fsps/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fsps/fithesis-english.def}[2015/06/26]

% Placeholders
\def\thesis@english@facultyName{Faculty of Sports Studies}
\gdef\thesis@english@facultyName{Faculty of Sports Studies}

% Miscellaneous
\def\thesis@english@fieldTitle{Specialization}
\gdef\thesis@english@fieldTitle{Specialization}
%    \end{macrocode}\iffalse
%</mu/fsps>
% \fi\file{locale/mu/fss/fithesis-english.def}
@@ -101,11 +101,11 @@
% \iffalse
%<*mu/fss>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fss/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fss/fithesis-english.def}[2015/06/26]

% Placeholders
\def\thesis@english@facultyName{Faculty of Social Studies}
\def\thesis@english@assignment{Replace this page with a copy
\gdef\thesis@english@facultyName{Faculty of Social Studies}
\gdef\thesis@english@assignment{Replace this page with a copy
  of the official signed thesis assignment or the copy of the
  Statement of an Author or both, depending on the requirements of
  the respective department.}
@@ -119,8 +119,8 @@
% \iffalse
%<*mu/econ>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/econ/fithesis-english.def}[2015/06/23]
\def\thesis@english@facultyName{Faculty of Economics
\ProvidesFile{fithesis/locale/mu/econ/fithesis-english.def}[2015/06/26]
\gdef\thesis@english@facultyName{Faculty of Economics
  and Administration}
%    \end{macrocode}\iffalse
%</mu/econ>
@@ -137,17 +137,17 @@
% \iffalse
%<*mu/med>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/med/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/med/fithesis-english.def}[2015/06/26]

% Miscellaneous
\def\thesis@english@abstractTitle{Annotation}
\gdef\thesis@english@abstractTitle{Annotation}

% Placeholders
\def\thesis@english@facultyName{Faculty of Medicine}
\gdef\thesis@english@facultyName{Faculty of Medicine}

% Bibliographic entry
\def\thesis@english@bib@title{Bibliographic record}
\def\thesis@english@bib@pages{p}
\gdef\thesis@english@bib@title{Bibliographic record}
\gdef\thesis@english@bib@pages{p}
%    \end{macrocode}\iffalse
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-english.def}
@@ -163,16 +163,16 @@
% \iffalse
%<*mu/fi>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2015/06/26]

% Placeholders
\def\thesis@english@facultyName{Faculty of Informatics}
\def\thesis@english@assignment{Replace this page with a copy
\gdef\thesis@english@facultyName{Faculty of Informatics}
\gdef\thesis@english@assignment{Replace this page with a copy
  of the official signed thesis assignment and the copy of the
  Statement of an Author.}

% Others
\def\thesis@english@advisorSignature{Signature of Thesis
\gdef\thesis@english@advisorSignature{Signature of Thesis
  \thesis@english@advisorTitle}
%    \end{macrocode}\iffalse
%</mu/fi>
@@ -184,8 +184,8 @@
% \iffalse
%<*mu/phil>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/phil/fithesis-english.def}[2015/06/23]
\def\thesis@english@facultyName{Faculty of Arts}
\ProvidesFile{fithesis/locale/mu/phil/fithesis-english.def}[2015/06/26]
\gdef\thesis@english@facultyName{Faculty of Arts}
%    \end{macrocode}\iffalse
%</mu/phil>
% \fi\file{locale/mu/ped/fithesis-english.def}
@@ -200,14 +200,14 @@
% \iffalse
%<*mu/ped>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/ped/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/ped/fithesis-english.def}[2015/06/26]

% Placeholders
\def\thesis@english@facultyName{Faculty of Education}
\gdef\thesis@english@facultyName{Faculty of Education}

% Bibliographic entry
\def\thesis@english@bib@title{Bibliographic record}
\def\thesis@english@bib@pages{p}
\gdef\thesis@english@bib@title{Bibliographic record}
\gdef\thesis@english@bib@pages{p}
%    \end{macrocode}\iffalse
%</mu/ped>
% \fi\file{locale/mu/sci/fithesis-english.def}
@@ -223,24 +223,24 @@
% \iffalse
%<*mu/sci>
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/mu/sci/fithesis-english.def}[2015/06/23]
\ProvidesFile{fithesis/locale/mu/sci/fithesis-english.def}[2015/06/26]

% Placeholders
\def\thesis@english@facultyName{Faculty of Science}
\gdef\thesis@english@facultyName{Faculty of Science}

% Miscellaneous
\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor
\global\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor

% Bibliographic entry
\def\thesis@english@bib@title{Bibliographic entry}
\let\thesis@english@bib@author\thesis@english@authorTitle
\def\thesis@english@bib@thesisTitle{Title of Thesis}
\def\thesis@english@bib@programme{Degree Programme}
\let\thesis@english@bib@field\thesis@english@fieldTitle
\def\thesis@english@bib@advisor{Supervisor}
\def\thesis@english@bib@academicYear{Academic Year}
\def\thesis@english@bib@pages{Number of Pages}
\let\thesis@english@bib@keywords\thesis@english@keywordsTitle
\gdef\thesis@english@bib@title{Bibliographic entry}
\global\let\thesis@english@bib@author\thesis@english@authorTitle
\gdef\thesis@english@bib@thesisTitle{Title of Thesis}
\gdef\thesis@english@bib@programme{Degree Programme}
\global\let\thesis@english@bib@field\thesis@english@fieldTitle
\gdef\thesis@english@bib@advisor{Supervisor}
\gdef\thesis@english@bib@academicYear{Academic Year}
\gdef\thesis@english@bib@pages{Number of Pages}
\global\let\thesis@english@bib@keywords\thesis@english@keywordsTitle
%    \end{macrocode}\iffalse
%</mu/sci>
% \fi
+56 −56

File changed.

Preview size limit exceeded, changes collapsed.

+9 −9
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
% after \texttt{style/fithesis-base.sty}, regardless of the value
% of the |\thesis@style| macro.
%    \begin{macrocode}
\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/06/23]
\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/06/26]
\NeedsTeXFormat{LaTeX2e}
%    \end{macrocode}
% The file recognizes the following options: \begin{itemize}
@@ -626,18 +626,18 @@
% \end{macro}\begin{macro}{\thesis@blocks@abstractEn}
% The |\thesis@blocks@abstractEn| macro typesets the
% abstract in English. If the current locale is English, the
% macro produces no output. A style file that uses this block
% needs to require the English locale.
% macro produces no output.
% \begin{macrocode}
\def\thesis@blocks@abstractEn{%
  \ifthesis@english\else%
    {\thesis@selectLocale{english}%
    \begin{alwayssingle}%
      % Start the new chapter without clearing the right page
      {\def\cleardoublepage{}%
      \chapter*{\thesis@{english@abstractTitle}}%
      \chapter*{\thesis@english@abstractTitle}%
      \thesis@abstractEn}%
      \par\vfil\null%
    \end{alwayssingle}%
    \end{alwayssingle}}%
  \fi}
%    \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@keywords}
@@ -656,18 +656,18 @@
% \end{macro}\begin{macro}{\thesis@blocks@keywordsEn}
% The |\thesis@blocks@keywordsEn| macro typesets the
% keywords in English. If the current locale is English, the
% macro produces no output. A style file that uses this block
% needs to require the English locale.
% macro produces no output.
% \begin{macrocode}
\def\thesis@blocks@keywordsEn{%
  \ifthesis@english\else%
    {\thesis@selectLocale{english}%
    \begin{alwayssingle}%
      % Start the new chapter without clearing the right page
      {\def\cleardoublepage{}%
      \chapter*{\thesis@{english@keywordsTitle}}%
      \chapter*{\thesis@english@keywordsTitle}%
      \thesis@TeXkeywordsEn}%
      \par\vfil\null%
    \end{alwayssingle}%
    \end{alwayssingle}}%
  \fi}
%    \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@assignment}
Loading