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 Original line Diff line number Diff line
@@ -1041,11 +1041,11 @@
    \thesis@loadedtrue
    \thesis@loadedtrue
    \makeatletter%
    \makeatletter%
%    \end{macrocode}
%    \end{macrocode}
% First, the main locale files are loaded using the
% First, the main locale is selected and its files are loaded using
% |\thesis@requireLocale| macro.
% the |\thesis@selectLocale| macro.
%    \begin{macrocode}
%    \begin{macrocode}
      \ifx\thesis@locale\empty\else
      \ifx\thesis@locale\empty\else
        \thesis@requireLocale{\thesis@locale}
        \thesis@selectLocale{\thesis@locale}
      \fi
      \fi
%    \end{macrocode}
%    \end{macrocode}
% Consequently, the style files are loaded.
% Consequently, the style files are loaded.
@@ -1162,25 +1162,26 @@
% \end{enumerate} If inheritance is disabled for locale files, then
% \end{enumerate} If inheritance is disabled for locale files, then
% only the first listed file is loaded. The \texttt{fithesis-}
% only the first listed file is loaded. The \texttt{fithesis-}
% prefix serves to prevent clashes with other similarly named files
% prefix serves to prevent clashes with other similarly named files
% within the \TeX\ directory structure.  To prevent prospective
% within the \TeX\ directory structure. To prevent undesirable side
% undesirable side effects from locale files being loaded multiple
% effects from locale files being loaded multiple times, the
% times, the |\thesis@|\textit{locale}|@required| macro is defined
% |\thesis@|\textit{locale}|@required| macro is defined as a flag,
% as a flag, which prevents future invocations with the same
% which prevents future invocations with the same \textit{locale}.
% \textit{locale}. The macro can be used within both locale and
% The macro can be used within both locale and style files,
% style files, although the usage within locale files is strongly
% although the usage within locale files is strongly discouraged to
% discouraged to prevent circular dependencies.
% prevent circular dependencies.
%    \begin{macrocode}
%    \begin{macrocode}
\def\thesis@requireLocale#1{%
\def\thesis@requireLocale#1{%
  % Prevent redundant entries
  % Ignore redundant requests
  \expandafter\ifx\csname thesis@#1@required\endcsname\relax%
  \expandafter\ifx\csname thesis@#1@required\endcsname\relax%
    \expandafter\def\csname thesis@#1@required\endcsname{}%
    \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%
      \ifthesis@locale@inheritance%
        \thesis@input{\thesis@localepath\thesis@university/%
        \thesis@input{\thesis@localepath\thesis@university/%
          fithesis-#1.def}%
          fithesis-#1.def}%
        \thesis@input{\thesis@localepath\thesis@university/%
        \thesis@input{\thesis@localepath\thesis@university/%
          \thesis@faculty/fithesis-#1.def}%
          \thesis@faculty/fithesis-#1.def}%
      \fi%
      \fi}
  \fi}
  \fi}
%    \end{macrocode}\end{macro}
%    \end{macrocode}\end{macro}
% \subsection{String manipulation macros}
% \subsection{String manipulation macros}
@@ -1263,6 +1264,16 @@
%    \begin{macrocode}
%    \begin{macrocode}
\ifx\thesis@pages\undefined\def\thesis@pages{??}\fi
\ifx\thesis@pages\undefined\def\thesis@pages{??}\fi
%    \end{macrocode}
%    \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
% \iffalse
%</class>
%</class>
% ^^A Old fithesis classes
% ^^A Old fithesis classes
@@ -1309,11 +1320,16 @@
% \textsf{docstrip} tool, consult the \textsf{dtxtut, docstrip,
% \textsf{docstrip} tool, consult the \textsf{dtxtut, docstrip,
% doc} and \textsf{ltxdoc} manuals.
% 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}
% \subsubsection{Interface}
% The union of locale files loaded via the locale file inheritance
% The union of locale files loaded via the locale file inheritance
% scheme (see the definition of the |\thesis@requireLocale| macro
% scheme (see the definition of the |\thesis@requireLocale| macro
% in Section \ref{sec:reflection}) needs to define the following
% in Section \ref{sec:reflection}) needs to globally define the
% macros:
% following macros:
% \begin{itemize}
% \begin{itemize}
%   \item|\thesis@|\textit{locale}|@universityName| -- The name of
%   \item|\thesis@|\textit{locale}|@universityName| -- The name of
%     the university
%     the university
@@ -1377,8 +1393,8 @@
% \subsubsection{Interface}
% \subsubsection{Interface}
% The union of style files loaded via the style file inheritance
% The union of style files loaded via the style file inheritance
% scheme (see the definition of the |\thesis@requireStyle| macro in
% scheme (see the definition of the |\thesis@requireStyle| macro in
% Section \ref{sec:reflection}) should define at least one of the
% Section \ref{sec:reflection}) should globally define at least one
% following macros:
% of the following macros:
% \begin{itemize}
% \begin{itemize}
%   \item\DescribeMacro{\thesis@preamble}
%   \item\DescribeMacro{\thesis@preamble}
%                      |\thesis@preamble| -- If autolayout is
%                      |\thesis@preamble| -- If autolayout is
+67 −67
Original line number Original line Diff line number Diff line
@@ -10,33 +10,33 @@
% \end{macro}\iffalse
% \end{macro}\iffalse
%<*base>
%<*base>
% \fi\begin{macrocode}
% \fi\begin{macrocode}
\ProvidesFile{fithesis/locale/fithesis-czech.def}[2015/06/23]
\ProvidesFile{fithesis/locale/fithesis-czech.def}[2015/06/26]


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


% Zástupné texty
% Zástupné texty
\def\thesis@czech@universityName{Název univerzity}
\gdef\thesis@czech@universityName{Název univerzity}
\def\thesis@czech@facultyName{Název fakulty}
\gdef\thesis@czech@facultyName{Název fakulty}
\def\thesis@czech@assignment{Místo tohoto listu vložte kopii
\gdef\thesis@czech@assignment{Místo tohoto listu vložte kopii
  oficiálního podepsaného zadání práce.}
  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é
% Různé
\def\thesis@czech@fieldTitle{Obor}
\gdef\thesis@czech@fieldTitle{Obor}
\def\thesis@czech@advisorTitle{Vedoucí práce}
\gdef\thesis@czech@advisorTitle{Vedoucí práce}
\def\thesis@czech@authorTitle{Autor}
\gdef\thesis@czech@authorTitle{Autor}
\def\thesis@czech@abstractTitle{Shrnutí}
\gdef\thesis@czech@abstractTitle{Shrnutí}
\def\thesis@czech@keywordsTitle{Klíčová slova}
\gdef\thesis@czech@keywordsTitle{Klíčová slova}
\def\thesis@czech@thanksTitle{Poděkování}
\gdef\thesis@czech@thanksTitle{Poděkování}
\def\thesis@czech@declarationTitle{Prohlášení}
\gdef\thesis@czech@declarationTitle{Prohlášení}
\def\thesis@czech@idTitle{ID}
\gdef\thesis@czech@idTitle{ID}
\def\thesis@czech@winter{Jaro}
\gdef\thesis@czech@winter{Jaro}
\def\thesis@czech@summer{Podzim}
\gdef\thesis@czech@summer{Podzim}
\def\thesis@czech@semester{%
\gdef\thesis@czech@semester{%
  \thesis@{czech@\thesis@season} \thesis@year}
  \thesis@{czech@\thesis@season} \thesis@year}
\def\thesis@czech@typeName{%
\gdef\thesis@czech@typeName{%
  \ifx\thesis@type\thesis@bachelors%
  \ifx\thesis@type\thesis@bachelors%
    Bakalářská práce%
    Bakalářská práce%
  \else\ifx\thesis@type\thesis@masters%
  \else\ifx\thesis@type\thesis@masters%
@@ -48,7 +48,7 @@
  \else%
  \else%
    <<Neznámý typ práce (\thesis@type)>>%
    <<Neznámý typ práce (\thesis@type)>>%
  \fi\fi\fi\fi}
  \fi\fi\fi\fi}
\def\thesis@czech@typeName@akuzativ{%
\gdef\thesis@czech@typeName@akuzativ{%
  \ifx\thesis@type\thesis@bachelors%
  \ifx\thesis@type\thesis@bachelors%
    Bakalářskou práci%
    Bakalářskou práci%
  \else\ifx\thesis@type\thesis@masters%
  \else\ifx\thesis@type\thesis@masters%
@@ -70,18 +70,18 @@
% \iffalse
% \iffalse
%<*mu>
%<*mu>
% \fi\begin{macrocode}
% \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
% Zástupné texty
\def\thesis@czech@universityName{Masarykova Univerzita}
\gdef\thesis@czech@universityName{Masarykova Univerzita}
\def\thesis@czech@declaration{Prohlašuji, že jsem
\gdef\thesis@czech@declaration{Prohlašuji, že jsem
  \thesis@lower{czech@typeName@akuzativ} zpracoval%
  \thesis@lower{czech@typeName@akuzativ} zpracoval%
  \thesis@czech@gender@koncovka\ samostatně a
  \thesis@czech@gender@koncovka\ samostatně a
  použil\thesis@czech@gender@koncovka\ jen prameny
  použil\thesis@czech@gender@koncovka\ jen prameny
  uvedené~v seznamu literatury.}
  uvedené~v seznamu literatury.}


% Různé
% Různé
\def\thesis@czech@idTitle{UČO}
\gdef\thesis@czech@idTitle{UČO}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu>
%</mu>
% \fi\file{locale/mu/law/fithesis-czech.def}
% \fi\file{locale/mu/law/fithesis-czech.def}
@@ -95,14 +95,14 @@
% \iffalse
% \iffalse
%<*mu/law>
%<*mu/law>
% \fi\begin{macrocode}
% \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é
% Různé
\def\thesis@czech@abstractTitle{Abstrakt}
\gdef\thesis@czech@abstractTitle{Abstrakt}


% Zástupné texty
% Zástupné texty
\def\thesis@czech@facultyName{Právnická fakulta}
\gdef\thesis@czech@facultyName{Právnická fakulta}
\def\thesis@czech@facultyLongName{Právnická fakulta Masarykovy
\gdef\thesis@czech@facultyLongName{Právnická fakulta Masarykovy
  univerzity}
  univerzity}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu/law>
%</mu/law>
@@ -115,13 +115,13 @@
% \iffalse
% \iffalse
%<*mu/fsps>
%<*mu/fsps>
% \fi\begin{macrocode}
% \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
% Zástupné texty
\def\thesis@czech@facultyName{Fakulta sportovních studií}
\gdef\thesis@czech@facultyName{Fakulta sportovních studií}


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


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


% Bibliografický záznam
% Bibliografický záznam
\def\thesis@czech@bib@title{Bibliografický záznam}
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\def\thesis@czech@bib@pages{str}
\gdef\thesis@czech@bib@pages{str}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu/med>
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-czech.def}
% \fi\file{locale/mu/fi/fithesis-czech.def}
@@ -193,14 +193,14 @@
% \iffalse
% \iffalse
%<*mu/fi>
%<*mu/fi>
% \fi\begin{macrocode}
% \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
% Zástupné texty
\def\thesis@czech@facultyName{Fakulta informatiky}
\gdef\thesis@czech@facultyName{Fakulta informatiky}
\def\thesis@czech@assignment{Místo tohoto listu
\gdef\thesis@czech@assignment{Místo tohoto listu
  vložte kopie oficiálního podepsaného zadání práce a
  vložte kopie oficiálního podepsaného zadání práce a
  prohlášení autora školního díla.}
  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
  Prohlašuji, že tato \thesis@lower{czech@typeName} je mým
  původním autorským dílem, které jsem vypracoval%
  původním autorským dílem, které jsem vypracoval%
  \thesis@czech@gender@koncovka\ samostatně. Všechny zdroje,
  \thesis@czech@gender@koncovka\ samostatně. Všechny zdroje,
@@ -210,7 +210,7 @@
  s~uvedením úplného odkazu na příslušný zdroj.}
  s~uvedením úplného odkazu na příslušný zdroj.}


% Ostatní
% Ostatní
\def\thesis@czech@advisorSignature{Podpis vedoucího}
\gdef\thesis@czech@advisorSignature{Podpis vedoucího}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu/fi>
%</mu/fi>
% \fi\file{locale/mu/phil/fithesis-czech.def}
% \fi\file{locale/mu/phil/fithesis-czech.def}
@@ -223,17 +223,17 @@
% \iffalse
% \iffalse
%<*mu/phil>
%<*mu/phil>
% \fi\begin{macrocode}
% \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
% Zástupné texty
\def\thesis@czech@facultyName{Filozofická fakulta}
\gdef\thesis@czech@facultyName{Filozofická fakulta}
\def\thesis@czech@declaration{%
\gdef\thesis@czech@declaration{%
  Prohlašuji, že jsem \thesis@lower{czech@typeName@akuzativ}
  Prohlašuji, že jsem \thesis@lower{czech@typeName@akuzativ}
  vypracoval\thesis@czech@gender@koncovka\ samostatně~s využitím
  vypracoval\thesis@czech@gender@koncovka\ samostatně~s využitím
  uvedené literatury.}
  uvedené literatury.}


% Ostatní
% Ostatní
\def\thesis@czech@typeName{%
\gdef\thesis@czech@typeName{%
  \ifx\thesis@type\thesis@bachelors%
  \ifx\thesis@type\thesis@bachelors%
    Bakalářská diplomová práce%
    Bakalářská diplomová práce%
  \else\ifx\thesis@type\thesis@masters%
  \else\ifx\thesis@type\thesis@masters%
@@ -243,7 +243,7 @@
  \else%
  \else%
    <<Neznámý typ práce (\thesis@type)>>%
    <<Neznámý typ práce (\thesis@type)>>%
  \fi\fi\fi}
  \fi\fi\fi}
\def\thesis@czech@typeName@akuzativ{%
\gdef\thesis@czech@typeName@akuzativ{%
  \ifx\thesis@type\thesis@bachelors%
  \ifx\thesis@type\thesis@bachelors%
    Diplomovou práci%
    Diplomovou práci%
  \else\ifx\thesis@type\thesis@masters%
  \else\ifx\thesis@type\thesis@masters%
@@ -267,14 +267,14 @@
% \iffalse
% \iffalse
%<*mu/ped>
%<*mu/ped>
% \fi\begin{macrocode}
% \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
% Zástupné texty
\def\thesis@czech@facultyName{Pedagogická fakulta}
\gdef\thesis@czech@facultyName{Pedagogická fakulta}


% Bibliografický záznam
% Bibliografický záznam
\def\thesis@czech@bib@title{Bibliografický záznam}
\gdef\thesis@czech@bib@title{Bibliografický záznam}
\def\thesis@czech@bib@pages{str}
\gdef\thesis@czech@bib@pages{str}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu/ped>
%</mu/ped>
% \fi\file{locale/mu/sci/fithesis-czech.def}
% \fi\file{locale/mu/sci/fithesis-czech.def}
@@ -290,29 +290,29 @@
% \iffalse
% \iffalse
%<*mu/sci>
%<*mu/sci>
% \fi\begin{macrocode}
% \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
% Zástupné texty
\def\thesis@czech@facultyName{Přírodovědecká fakulta}
\gdef\thesis@czech@facultyName{Přírodovědecká fakulta}


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


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


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


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


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


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


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


% Bibliographic entry
% Bibliographic entry
\def\thesis@english@bib@title{Bibliographic record}
\gdef\thesis@english@bib@title{Bibliographic record}
\def\thesis@english@bib@pages{p}
\gdef\thesis@english@bib@pages{p}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu/med>
%</mu/med>
% \fi\file{locale/mu/fi/fithesis-english.def}
% \fi\file{locale/mu/fi/fithesis-english.def}
@@ -163,16 +163,16 @@
% \iffalse
% \iffalse
%<*mu/fi>
%<*mu/fi>
% \fi\begin{macrocode}
% \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
% Placeholders
\def\thesis@english@facultyName{Faculty of Informatics}
\gdef\thesis@english@facultyName{Faculty of Informatics}
\def\thesis@english@assignment{Replace this page with a copy
\gdef\thesis@english@assignment{Replace this page with a copy
  of the official signed thesis assignment and the copy of the
  of the official signed thesis assignment and the copy of the
  Statement of an Author.}
  Statement of an Author.}


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


% Bibliographic entry
% Bibliographic entry
\def\thesis@english@bib@title{Bibliographic record}
\gdef\thesis@english@bib@title{Bibliographic record}
\def\thesis@english@bib@pages{p}
\gdef\thesis@english@bib@pages{p}
%    \end{macrocode}\iffalse
%    \end{macrocode}\iffalse
%</mu/ped>
%</mu/ped>
% \fi\file{locale/mu/sci/fithesis-english.def}
% \fi\file{locale/mu/sci/fithesis-english.def}
@@ -223,24 +223,24 @@
% \iffalse
% \iffalse
%<*mu/sci>
%<*mu/sci>
% \fi\begin{macrocode}
% \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
% Placeholders
\def\thesis@english@facultyName{Faculty of Science}
\gdef\thesis@english@facultyName{Faculty of Science}


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


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

File changed.

Preview size limit exceeded, changes collapsed.

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