From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/fithesis/locale/DESCRIPTION | 1 + macros/latex/contrib/fithesis/locale/EXAMPLE.dtx | 7 + macros/latex/contrib/fithesis/locale/EXAMPLE.ins | 3 + macros/latex/contrib/fithesis/locale/Makefile | 42 ++ macros/latex/contrib/fithesis/locale/czech.dtx | 510 +++++++++++++++++++++++ macros/latex/contrib/fithesis/locale/czech.ins | 13 + macros/latex/contrib/fithesis/locale/english.dtx | 393 +++++++++++++++++ macros/latex/contrib/fithesis/locale/english.ins | 13 + macros/latex/contrib/fithesis/locale/slovak.dtx | 504 ++++++++++++++++++++++ macros/latex/contrib/fithesis/locale/slovak.ins | 13 + 10 files changed, 1499 insertions(+) create mode 100644 macros/latex/contrib/fithesis/locale/DESCRIPTION create mode 100644 macros/latex/contrib/fithesis/locale/EXAMPLE.dtx create mode 100644 macros/latex/contrib/fithesis/locale/EXAMPLE.ins create mode 100644 macros/latex/contrib/fithesis/locale/Makefile create mode 100644 macros/latex/contrib/fithesis/locale/czech.dtx create mode 100644 macros/latex/contrib/fithesis/locale/czech.ins create mode 100644 macros/latex/contrib/fithesis/locale/english.dtx create mode 100644 macros/latex/contrib/fithesis/locale/english.ins create mode 100644 macros/latex/contrib/fithesis/locale/slovak.dtx create mode 100644 macros/latex/contrib/fithesis/locale/slovak.ins (limited to 'macros/latex/contrib/fithesis/locale') diff --git a/macros/latex/contrib/fithesis/locale/DESCRIPTION b/macros/latex/contrib/fithesis/locale/DESCRIPTION new file mode 100644 index 0000000000..5758d7a8a8 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/DESCRIPTION @@ -0,0 +1 @@ +This directory contains the locale files. diff --git a/macros/latex/contrib/fithesis/locale/EXAMPLE.dtx b/macros/latex/contrib/fithesis/locale/EXAMPLE.dtx new file mode 100644 index 0000000000..81b31d049d --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/EXAMPLE.dtx @@ -0,0 +1,7 @@ +% \file{locale/fithesis-EXAMPLE.def} +% This an example locale file. You can rename it to match the name +% of a given locale and place the respective macro definitions in +% here. +% \begin{macrocode} + +% \end{macrocode} diff --git a/macros/latex/contrib/fithesis/locale/EXAMPLE.ins b/macros/latex/contrib/fithesis/locale/EXAMPLE.ins new file mode 100644 index 0000000000..06ba04d4e7 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/EXAMPLE.ins @@ -0,0 +1,3 @@ +\input docstrip +\generate{\file{fithesis-EXAMPLE.def}{\from{EXAMPLE.dtx}{}}} +\endbatchfile diff --git a/macros/latex/contrib/fithesis/locale/Makefile b/macros/latex/contrib/fithesis/locale/Makefile new file mode 100644 index 0000000000..3c4fa5aa00 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/Makefile @@ -0,0 +1,42 @@ +LOGS=czech.log slovak.log english.log +DIRECTORIES=mu/law mu/fsps mu/fss mu/econ mu/med mu/fi mu/phil \ + mu/ped mu/sci mu +OUTPUT=fithesis-czech.def mu/law/fithesis-czech.def \ + mu/law/fithesis-slovak.def mu/law/fithesis-english.def \ + mu/fithesis-czech.def mu/fsps/fithesis-czech.def \ + mu/fsps/fithesis-slovak.def mu/fsps/fithesis-english.def \ + mu/fss/fithesis-czech.def mu/fss/fithesis-slovak.def \ + mu/fss/fithesis-english.def mu/econ/fithesis-czech.def \ + mu/econ/fithesis-slovak.def mu/econ/fithesis-english.def \ + mu/med/fithesis-czech.def mu/med/fithesis-slovak.def \ + mu/med/fithesis-english.def mu/fi/fithesis-czech.def \ + mu/fi/fithesis-slovak.def mu/fi/fithesis-english.def \ + mu/phil/fithesis-czech.def mu/phil/fithesis-slovak.def \ + mu/phil/fithesis-english.def mu/fithesis-slovak.def \ + mu/ped/fithesis-czech.def mu/ped/fithesis-slovak.def \ + mu/ped/fithesis-english.def mu/fithesis-english.def \ + mu/sci/fithesis-czech.def mu/sci/fithesis-slovak.def \ + mu/sci/fithesis-english.def fithesis-slovak.def \ + fithesis-english.def + +.PHONY: explode implode all + +# This target creates the locale file directory +# structure and creates the locale files. +all: + mkdir -p $(DIRECTORIES) + make explode + +# This target creates all locale files. +explode: $(LOGS) + +# This target creates the locale files from one +# DTX file. +%.log: %.ins %.dtx + xetex $< + +# This target tears down the locale file directory +# structure along with the locale files. +implode: + rm -f $(OUTPUT) $(LOGS) + -rmdir $(DIRECTORIES) diff --git a/macros/latex/contrib/fithesis/locale/czech.dtx b/macros/latex/contrib/fithesis/locale/czech.dtx new file mode 100644 index 0000000000..9a2f027568 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/czech.dtx @@ -0,0 +1,510 @@ +% \file{locale/fithesis-czech.def} +% This is the base file of the Czech locale.\iffalse +%<*base> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/fithesis-czech.def}[2017/07/09] +% \end{macrocode} +% The locale file defines all the private macros mandated by the +% locale file interface. +% \begin{macro}{\thesis@czech@gender@koncovka} +% The locale file also defines the |\thesis@czech@gender@koncovka| +% macro, which expands to the correct verb ending based on the +% value of the |\thesis@ifwoman| macro and the +% \end{macro}\begin{macro}{\thesis@czech@typeName@akuzativ} +% |\thesis@czech@typeName@akuzativ| containing the accusative case +% of the thesis type name. +% \end{macro}\begin{macrocode} + +% Pomocná makra +\gdef\thesis@czech@gender@koncovka{% + \ifthesis@woman a\fi} + +% Csquotes styl +\gdef\thesis@czech@csquotesStyle{german} + +% Zástupné texty +\gdef\thesis@czech@universityName{Název univerzity} +\gdef\thesis@czech@facultyName{Název fakulty} +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \begin{macrocode} +\gdef\thesis@czech@assignment{% + Na tomto místě se v~tištěné práci nachází oficiální podepsané + zadání práce.} +\gdef\thesis@czech@declaration{Text prohlášení ...} + +% Časové údaje +\gdef\thesis@czech@spring{jaro} +\gdef\thesis@czech@fall{podzim} +\gdef\thesis@czech@semester{% + \thesis@{czech@\thesis@season} \thesis@seasonYear} +\gdef\thesis@czech@formattedDate{{% + \thesis@day. + \newcount\@month\expandafter\@month\thesis@month\relax + \ifnum\@month=1% + ledna + \else\ifnum\@month=2% + února + \else\ifnum\@month=3% + března + \else\ifnum\@month=4% + dubna + \else\ifnum\@month=5% + května + \else\ifnum\@month=6% + června + \else\ifnum\@month=7% + července + \else\ifnum\@month=8% + srpna + \else\ifnum\@month=9% + září + \else\ifnum\@month=10% + října + \else\ifnum\@month=11% + listopadu + \else\ifnum\@month=12% + prosince + \else + <> + \fi\fi\fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi + \thesis@year}} + +% Různé +\gdef\thesis@czech@authorSignature{Podpis autora} +\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@typeName@sempaper{Seminární práce} +\gdef\thesis@czech@typeName@bachelors{Bakalářská práce} +\gdef\thesis@czech@typeName@masters{Diplomová práce} +\gdef\thesis@czech@typeName@proposal{Teze závěrečné práce} +\gdef\thesis@czech@typeName@doctoral{Disertační práce} +\gdef\thesis@czech@typeName@rigorous{Rigorózní práce} +\gdef\thesis@czech@typeName{% + \ifx\thesis@type\thesis@sempaper + \thesis@czech@typeName@sempaper + \else\ifx\thesis@type\thesis@bachelors + \thesis@czech@typeName@bachelors + \else\ifx\thesis@type\thesis@masters + \thesis@czech@typeName@masters + \else\ifx\thesis@type\thesis@proposal + \thesis@czech@typeName@proposal + \else\ifx\thesis@type\thesis@doctoral + \thesis@czech@typeName@doctoral + \else\ifx\thesis@type\thesis@rigorous + \thesis@czech@typeName@rigorous + \else + <>% + \fi\fi\fi\fi\fi\fi} +\gdef\thesis@czech@typeName@akuzativ@sempaper{Seminární práci} +\gdef\thesis@czech@typeName@akuzativ@bachelors{Bakalářskou práci} +\gdef\thesis@czech@typeName@akuzativ@masters{Diplomovou práci} +\gdef\thesis@czech@typeName@akuzativ@proposal{Tezi závěrečné práce} +\gdef\thesis@czech@typeName@akuzativ@doctoral{Disertační práci} +\gdef\thesis@czech@typeName@akuzativ@rigorous{Rigorózní práci} +\gdef\thesis@czech@typeName@akuzativ{% + \ifx\thesis@type\thesis@sempaper + \thesis@czech@typeName@akuzativ@sempaper + \else\ifx\thesis@type\thesis@bachelors + \thesis@czech@typeName@akuzativ@bachelors + \else\ifx\thesis@type\thesis@masters + \thesis@czech@typeName@akuzativ@masters + \else\ifx\thesis@type\thesis@proposal + \thesis@czech@typeName@akuzativ@proposal + \else\ifx\thesis@type\thesis@doctoral + \thesis@czech@typeName@akuzativ@doctoral + \else\ifx\thesis@type\thesis@rigorous + \thesis@czech@typeName@akuzativ@rigorous + \else + <>% + \fi\fi\fi\fi\fi\fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fithesis-czech.def} +% This is the Czech locale file specific to the Masaryk +% University in Brno. It replaces the \texttt{universityName} +% placeholder with the correct value and defines the +% \texttt{declaration} and \texttt{idTitle} strings. +% \iffalse +%<*mu> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fithesis-czech.def}[2017/07/09] + +% Zástupné texty +\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.} +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \changes{v0.3.47}{2017/07/09}{Added an +% \cs{ifthesis@blocks@assignment@hideIfDigital@} test to the +% definition of the \texttt{assignment} string for the Masaryk +% University in Brno. [VN]} +% \begin{macrocode} +\gdef\thesis@czech@assignment{% + \ifthesis@blocks@assignment@hideIfDigital@ + \ifthesis@digital@ + Na tomto místě se v~tištěné práci nachází oficiální podepsané + zadání práce. + \else + Místo tohoto listu vložte kopii oficiálního podepsaného zadání + práce. + \fi + \else + Nastavte pomocí klíče <> název PDF souboru + s~oficiálním podepsaným zadáním práce. + \fi} + +% Bibliografický záznam +\gdef\thesis@czech@bib@title{Bibliografický záznam} +\gdef\thesis@czech@bib@pages{str} +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Lifted the \texttt{bib@author}, +% \texttt{bib@thesisTitle}, and \texttt{bib@advisor} strings from +% \texttt{locale/mu/sci/*.def} to \texttt{locale/mu/*.def}, +% so that they can be shared with \texttt{locale/mu/econ/*.def}. +% [VN]} +% \begin{macrocode} +\global\let\thesis@czech@bib@author\thesis@czech@authorTitle +\gdef\thesis@czech@bib@thesisTitle{Název práce} +\global\let\thesis@czech@bib@advisor\thesis@czech@advisorTitle + +% Různé +\gdef\thesis@czech@idTitle{UČO} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/law/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Law at +% the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value, defines +% the \texttt{facultyLongName} required by the +% |\thesis@blocks@cover| and the |\thesis@blocks@titlePage| blocks +% and replaces the \texttt{abstractTitle} string in accordance +% with the requirements of the faculty. +% \iffalse +%<*mu/law> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/law/fithesis-czech.def}[2015/06/26] + +% Různé +\gdef\thesis@czech@abstractTitle{Abstrakt} + +% Zástupné texty +\gdef\thesis@czech@facultyName{Právnická fakulta} +\gdef\thesis@czech@facultyLongName{Právnická fakulta Masarykovy + univerzity} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fsps/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Sports +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{fieldTitle} string in accordance with the +% common usage at the faculty. The locale file also redefines the +% \texttt{declaration} string in accordance with the requirements +% of the faculty. +% \iffalse +%<*mu/fsps> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fsps/fithesis-czech.def}[2017/05/15] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Fakulta sportovních studií} +\gdef\thesis@czech@declaration{Prohlašuji, že jsem + \thesis@lower{czech@typeName@akuzativ} vypracoval% + \thesis@czech@gender@koncovka\ samostatně a~na základě + literatury a~pramenů uvedených v~použitých zdrojích.} + +% Různé +\gdef\thesis@czech@fieldTitle{Specializace} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fss/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Social +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} and \texttt{assignment} placeholders with +% the correct values. +% \iffalse +%<*mu/fss> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fss/fithesis-czech.def}[2016/05/25] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Fakulta sociálních studií} +\gdef\thesis@czech@assignment{% + \ifthesis@digital@ + Na tomto místě se v~tištěné práci nachází oficiální podepsané + zadání práce, prohlášení autora školního díla nebo obojí. + \else + 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. + \fi} + +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/econ/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Economics and Administration at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} and \texttt{abstractTitle} +% placeholders with the correct values. The locale file also +% redefines the \texttt{declaration} string in accordance with +% the requirements of the faculty and defines the private macros +% required by the |\thesis@blocks@|\discretionary{}{}{}|bibEntry| +% block defined within the \texttt{style/mu/fithesis-econ.sty} +% style file. +% \iffalse +%<*mu/econ> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/econ/fithesis-czech.def}[2017/07/09] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Ekonomicko-správní fakulta} + +% Bibliografický záznam +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Defined strings required by +% \cs{thesis@blocks@bibEntry} from +% \texttt{style/mu/fithesis-econ.sty} in +% \texttt{locale/mu/econ/*.def}. [VN]} +% \begin{macrocode} +\gdef\thesis@czech@bib@thesisTitleEn{Název práce v angličtině} +\gdef\thesis@czech@bib@department{Katedra} +\gdef\thesis@czech@bib@year{Rok obhajoby} + +% Různé +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Updated the +% \cs{abstractTitle} string in \texttt{locale/mu/econ/*.def} in +% accordance with the 2/2017 dean's directive. The patch was +% submitted by Jana Ratajská. [VN]} +% \begin{macrocode} +\gdef\thesis@czech@abstractTitle{Anotace} +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Updated the \texttt{declaration} string +% in \texttt{locale/mu/econ/*.def} in accordance with the 2/2017 +% dean's directive. [VN]} +% \changes{v0.3.47}{2017/07/09}{Updated the \texttt{declaration} string +% in \texttt{locale/mu/econ/*.def} in accordance with the 2/2017 +% dean's directive. [VN]} +% The following extra data field is defined for +% \texttt{declaration} string: \begin{itemize} +% \item|advisorCsGenitiv| -- the advisor's name in +% genitive following Czech morphology. +% \end{itemize} +% \begin{macrocode} +\thesis@def@extra{advisorCsGenitiv} +\gdef\thesis@czech@declaration{Prohlašuji, že jsem + \thesis@lower{czech@typeName@akuzativ} \thesis@title{} zpracoval% + \thesis@czech@gender@koncovka\ samostatně pod vedením + \thesis@extra@advisorCsGenitiv\ + a~uvedl\thesis@czech@gender@koncovka\ v~ní všechny + odborné zdroje v~souladu s~právními předpisy, vnitřními + předpisy Masarykovy univerzity a~vnitřními akty řízení + Masarykovy univerzity a~Ekonomicko-správní fakulty MU.} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/med/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Medicine at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{abstractTitle} string in +% accordance with the common usage at the faculty. The file also +% defines the \texttt{bib@title} and \texttt{bib@pages} strings +% required by the |\thesis@blocks@bibEntry| block defined within +% the \texttt{style/mu/fithesis-med.sty} style file. +% \iffalse +%<*mu/med> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/med/fithesis-czech.def}[2016/03/23] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Lékařská fakulta} + +% Různé +\gdef\thesis@czech@abstractTitle{Anotace} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fi/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Informatics at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{declaration} string in +% accordance with the requirements of the faculty. The file also +% defines the \texttt{advisorSignature} string required by the +% |\thesis@blocks@titlePage| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty} +% style file. +% \iffalse +%<*mu/fi> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2016/05/25] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Fakulta informatiky} +\gdef\thesis@czech@assignment{% + \ifthesis@digital@ + Na tomto místě se v~tištěné práci nachází oficiální podepsané + zadání práce a prohlášení autora školního díla. + \else + Místo tohoto listu vložte kopie oficiálního podepsaného zadání + práce a prohlášení autora školního díla. + \fi} +\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, + prameny a~literaturu, které jsem při vypracování + používal\thesis@czech@gender@koncovka\ nebo z~nich + čerpal\thesis@czech@gender@koncovka, v~práci řádně cituji + s~uvedením úplného odkazu na příslušný zdroj.} + +% Ostatní +\gdef\thesis@czech@advisorSignature{Podpis vedoucího} +\gdef\thesis@czech@typeName@proposal{Teze disertační práce} +\gdef\thesis@czech@typeName@akuzativ@proposal{Tezi disertační práce} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/phil/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Arts at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. It also redefines the \texttt{declaration}, +% \texttt{typeName} and \texttt{typeName@akuzativ} strings in +% accordance with the requirements of the faculty. +% +% The locale file also defines the \texttt{departmentName} +% string, which is used by the \texttt{style/mu/fithesis-phil^^A +% .sty} style file, when typesetting the names of known +% departments. +% \iffalse +%<*mu/phil> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/phil/fithesis-czech.def}[2016/03/22] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Filozofická fakulta} +\gdef\thesis@czech@departmentName{% + \ifx\thesis@department\thesis@departments@kisk + Kabinet informačních studií a knihovnictví% + \else + <>% + \fi} +\gdef\thesis@czech@declaration{% + \ifx\thesis@department\thesis@departments@kisk + Prohlašuji, že jsem předkládanou práci zpracoval% + \thesis@czech@gender@koncovka\ samostatně a~použil% + \thesis@czech@gender@koncovka\ jen uvedené prameny a~% + literaturu. Současně dávám svolení k~tomu, aby elektronická + verze této práce byla zpřístupněna přes informační systém + Masarykovy univerzity.% + \else + Prohlašuji, že jsem \thesis@lower{czech@typeName@akuzativ} + vypracoval\thesis@czech@gender@koncovka\ samostatně s~využitím + uvedené literatury.% + \fi} + +% Ostatní +\global\let\thesis@czech@typeName@super + \thesis@czech@typeName +\gdef\thesis@czech@typeName{% + \ifx\thesis@type\thesis@bachelors + Bakalářská diplomová práce% + \else\ifx\thesis@type\thesis@masters + Magisterská diplomová práce% + \else + \thesis@czech@typeName@super + \fi\fi} + +\global\let\thesis@czech@typeName@akuzativ@super + \thesis@czech@typeName@akuzativ +\gdef\thesis@czech@typeName@akuzativ{% + \ifx\thesis@type\thesis@bachelors + Diplomovou práci% + \else\ifx\thesis@type\thesis@masters + Diplomovou práci% + \else + \thesis@czech@typeName@akuzativ@super + \fi\fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/ped/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Education at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. The file also defines the +% \texttt{bib@title} and \texttt{bib@pages} strings required by the +% |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-ped.sty} +% style file. +% \iffalse +%<*mu/ped> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/ped/fithesis-czech.def}[2017/10/28] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Pedagogická fakulta} +% \end{macrocode}\iffalse +% Ostatní +\gdef\thesis@czech@abstractTitle{Abstrakt} +\gdef\thesis@czech@declaration{% + Prohlašuji, že jsem \thesis@lower{czech@typeName@% + akuzativ} vypracoval\thesis@czech@gender@koncovka\ samostatně, + s~využitím pouze citovaných pramenů, dalších informací a zdrojů + v~souladu s~Disciplinárním řádem pro studenty Pedagogické fakulty + Masarykovy univerzity a se zákonem č.\ 121/2000 Sb., o~právu + autorském, o~právech souvisejících s~právem autorským a o~změně + některých zákonů (autorský zákon), ve znění pozdějších předpisů.} + +% +% \fi\file{locale/mu/sci/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Science +% at the Masaryk University in Brno. It defines the private macros +% required by the |\thesis@blocks@|\discretionary{}{}{}|bibEntryCs| +% block defined within the +% \texttt{style/mu/fithesis-sci.sty} style file. It also +% replaces the \texttt{facultyName} placeholder with the correct +% value and redefines the \texttt{abstractTitle} and +% \texttt{declaration} strings in accordance with the formal +% requirements of the faculty. +% \iffalse +%<*mu/sci> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/sci/fithesis-czech.def}[2017/06/02] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Přírodovědecká fakulta} + +% Ostatní +\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 +\gdef\thesis@czech@bib@programme{Studijní program} +\global\let\thesis@czech@bib@field\thesis@czech@fieldTitle +\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 +% +% \fi diff --git a/macros/latex/contrib/fithesis/locale/czech.ins b/macros/latex/contrib/fithesis/locale/czech.ins new file mode 100644 index 0000000000..65f9a2d2b6 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/czech.ins @@ -0,0 +1,13 @@ +\input ../LICENSE +\generate{\file{fithesis-czech.def}{\from{czech.dtx}{base}} + \file{mu/fithesis-czech.def}{\from{czech.dtx}{mu}} + \file{mu/law/fithesis-czech.def}{\from{czech.dtx}{mu/law}} + \file{mu/fsps/fithesis-czech.def}{\from{czech.dtx}{mu/fsps}} + \file{mu/fss/fithesis-czech.def}{\from{czech.dtx}{mu/fss}} + \file{mu/econ/fithesis-czech.def}{\from{czech.dtx}{mu/econ}} + \file{mu/med/fithesis-czech.def}{\from{czech.dtx}{mu/med}} + \file{mu/fi/fithesis-czech.def}{\from{czech.dtx}{mu/fi}} + \file{mu/phil/fithesis-czech.def}{\from{czech.dtx}{mu/phil}} + \file{mu/ped/fithesis-czech.def}{\from{czech.dtx}{mu/ped}} + \file{mu/sci/fithesis-czech.def}{\from{czech.dtx}{mu/sci}}} +\endbatchfile diff --git a/macros/latex/contrib/fithesis/locale/english.dtx b/macros/latex/contrib/fithesis/locale/english.dtx new file mode 100644 index 0000000000..17a49c7370 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/english.dtx @@ -0,0 +1,393 @@ +% \file{locale/fithesis-english.def} +% This is the base file of the English locale.\iffalse +%<*base> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/fithesis-english.def}[2017/09/08] +% \end{macrocode} +% The locale file defines all the private macros mandated by the +% locale file interface. +% \begin{macrocode} + +% Placeholders +\gdef\thesis@english@universityName{University name} +\gdef\thesis@english@facultyName{Faculty name} +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \begin{macrocode} +\gdef\thesis@english@assignment{% + This is where a copy of the official signed thesis assignment + is located in the printed version of the document.} +\gdef\thesis@english@declaration{Declaration text ...} + +% Csquotes style +\gdef\thesis@english@csquotesStyle{english} + +% Time strings +\gdef\thesis@english@spring{Spring} +\gdef\thesis@english@fall{Fall} +\gdef\thesis@english@semester{% + \thesis@{english@\thesis@season} \thesis@seasonYear} +\gdef\thesis@english@formattedDate{{% + \thesis@day. + \newcount\@month\expandafter\@month\thesis@month\relax + \ifnum\@month=1% + January + \else\ifnum\@month=2% + February + \else\ifnum\@month=3% + March + \else\ifnum\@month=4% + April + \else\ifnum\@month=5% + May + \else\ifnum\@month=6% + June + \else\ifnum\@month=7% + July + \else\ifnum\@month=8% + August + \else\ifnum\@month=9% + September + \else\ifnum\@month=10% + October + \else\ifnum\@month=11% + November + \else\ifnum\@month=12% + December + \else + <> + \fi\fi\fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi + \thesis@year}} + +% Miscellaneous +\gdef\thesis@english@authorSignature{Author's signature} +\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} +% \end{macrocode} +% \changes{v0.3.48}{2017/09/08}{Changed +% \cs{thesis@english@thanksTitle} to plural. [VN]} +% \begin{macrocode} +\gdef\thesis@english@thanksTitle{Acknowledgements} +\gdef\thesis@english@declarationTitle{Declaration} +\gdef\thesis@english@idTitle{ID} +\gdef\thesis@english@typeName@sempaper{Seminar Paper} +\gdef\thesis@english@typeName@bachelors{Bachelor's Thesis} +\gdef\thesis@english@typeName@masters{Master's Thesis} +\gdef\thesis@english@typeName@proposal{Thesis Proposal} +\gdef\thesis@english@typeName@doctoral{Doctoral Thesis} +\gdef\thesis@english@typeName@rigorous{Rigorous Thesis} +\gdef\thesis@english@typeName{% + \ifx\thesis@type\thesis@sempaper + \thesis@english@typeName@sempaper + \else\ifx\thesis@type\thesis@bachelors + \thesis@english@typeName@bachelors + \else\ifx\thesis@type\thesis@masters + \thesis@english@typeName@masters + \else\ifx\thesis@type\thesis@proposal + \thesis@english@typeName@proposal + \else\ifx\thesis@type\thesis@doctoral + \thesis@english@typeName@doctoral + \else\ifx\thesis@type\thesis@rigorous + \thesis@english@typeName@rigorous + \else + <>% + \fi\fi\fi\fi\fi\fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fithesis-english.def} +% This is the English locale file specific to the Masaryk +% University in Brno. It replaces the \texttt{universityName} +% placeholder with the correct value and defines the +% \texttt{declaration} and \texttt{idTitle} strings. +% \iffalse +%<*mu> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fithesis-english.def}[2017/07/09] +\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 on 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.} + +% Placeholders +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \begin{macrocode} +\gdef\thesis@english@assignment{% + \ifthesis@digital@ + \else + \fi} +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \changes{v0.3.47}{2017/07/09}{Added an +% \cs{ifthesis@blocks@assignment@hideIfDigital@} test to the +% definition of the \texttt{assignment} string for the Masaryk +% University in Brno. [VN]} +% \begin{macrocode} +\gdef\thesis@english@assignment{% + \ifthesis@blocks@assignment@hideIfDigital@ + \ifthesis@digital@ + This is where a copy of the official signed thesis assignment + is located in the printed version of the document. + \else + Replace this page with a copy of the official signed thesis + assignment. + \fi + \else + Set the PDF document containing the official signed thesis + assignment using the <> key. + \fi} + +% Bibliographic entry +\gdef\thesis@english@bib@title{Bibliographic record} +\gdef\thesis@english@bib@pages{p} +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Lifted the \texttt{bib@author}, +% \texttt{bib@thesisTitle}, and \texttt{bib@advisor} strings from +% \texttt{locale/mu/sci/*.def} to \texttt{locale/mu/*.def}, +% so that they can be shared with \texttt{locale/mu/econ/*.def}. +% [VN]} +% \begin{macrocode} +\global\let\thesis@english@bib@author\thesis@english@authorTitle +\gdef\thesis@english@bib@thesisTitle{Title of Thesis} +\gdef\thesis@english@bib@advisor{Supervisor} + +% Miscellaneous +\gdef\thesis@english@idTitle{UČO} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/law/fithesis-english.def} +% This is the English locale file specific to the Faculty of Law at +% the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% defines the \texttt{facultyLongName} required by the +% |\thesis@blocks@cover| and the |\thesis@blocks@titlePage| blocks. +% \iffalse +%<*mu/law> +% \fi\begin{macrocode} +\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 +% +% \fi\file{locale/mu/fsps/fithesis-english.def} +% This is the English locale file specific to the Faculty of Sports +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{fieldTitle} string in accordance with the +% common usage at the faculty. +% \iffalse +%<*mu/fsps> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fsps/fithesis-english.def}[2017/06/02] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Sports Studies} + +% Miscellaneous +\gdef\thesis@english@fieldTitle{Specialization} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fss/fithesis-english.def} +% This is the English locale file specific to the Faculty of Social +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} and \texttt{assignment} strings with the +% correct values. +% \iffalse +%<*mu/fss> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fss/fithesis-english.def}[2016/05/25] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Social Studies} +\gdef\thesis@english@assignment{% + \ifthesis@digital@ + This is where a copy of the official signed thesis assignment + or a copy of the Statement of an Author or both are located + in the printed version of the document. + \else + Replace this page with a copy of the official signed thesis + assignment or a copy of the Statement of an Author or both, + depending on the requirements of the respective department. + \fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/econ/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Economics and Administration at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} and \texttt{abstractTitle} +% placeholders with the correct value. The locale file also defines +% the private macros required by the +% |\thesis@blocks@|\discretionary{}{}{}|bibEntry| block defined +% within the \texttt{style/mu/fithesis-econ.sty} style file. +% \iffalse +%<*mu/econ> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/econ/fithesis-english.def}[2017/06/02] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Economics + and Administration} + +% Bibliographic entry +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Defined strings required by +% \cs{thesis@blocks@bibEntry} from +% \texttt{style/mu/fithesis-econ.sty} in +% \texttt{locale/mu/econ/*.def}. [VN]} +% \begin{macrocode} +\gdef\thesis@english@bib@department{Department} +\gdef\thesis@english@bib@year{Year of Defense} + +% Miscellaneous +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Updated the +% \cs{abstractTitle} string in \texttt{locale/mu/econ/*.def} in +% accordance with the 2/2017 dean's directive. The patch was +% submitted by Jana Ratajská. [VN]} +% \begin{macrocode} +\gdef\thesis@english@abstractTitle{Annotation} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/med/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Medicine at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{abstractTitle} string +% with the common usage at the faculty. The file also defines +% the \texttt{bib@title} and \texttt{bib@pages} strings required +% by the |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-med.sty} +% style file. +% \iffalse +%<*mu/med> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/med/fithesis-english.def}[2016/03/23] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Medicine} + +% Miscellaneous +\gdef\thesis@english@abstractTitle{Annotation} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fi/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Informatics at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the string in accordance with the requirements of the +% faculty. The file also defines the \texttt{advisorSignature} +% string required by the |\thesis@blocks@titlePage| block defined +% within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty} +% style file. +% \iffalse +%<*mu/fi> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2016/05/25] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Informatics} +\gdef\thesis@english@assignment{Replace this page with a copy + of the official signed thesis assignment and a copy of the + Statement of an Author.} +\gdef\thesis@english@assignment{% + \ifthesis@digital@ + This is where a copy of the official signed thesis assignment + and a copy of the Statement of an Author is located in the + printed version of the document. + \else + Replace this page with a copy of the official signed thesis + assignment and a copy of the Statement of an Author. + \fi} + +% Others +\gdef\thesis@english@advisorSignature{Signature of Thesis + \thesis@english@advisorTitle} +\gdef\thesis@english@typeName@proposal{Ph.D. Thesis Proposal} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/phil/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Arts at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. It also defines the \texttt{departmentName} +% string, which is used by the \texttt{style/mu/fithesis-phil^^A +% .sty} style file, when typesetting the names of known +% departments. +% \iffalse +%<*mu/phil> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/phil/fithesis-english.def}[2016/03/22] +\gdef\thesis@english@facultyName{Faculty of Arts} +\gdef\thesis@english@departmentName{% + \ifx\thesis@department\thesis@departments@kisk + Division of Information and Library Studies% + \else + <>% + \fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/ped/fithesis-english.def} +% This is the Slovak locale file specific to the Faculty of +% Education at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value. The file +% also defines the \texttt{bib@title} and \texttt{bib@pages} +% strings required by the |\thesis@blocks@bibEntry| block defined +% within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-ped.sty} +% style file. +% \iffalse +%<*mu/ped> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/ped/fithesis-english.def}[2016/03/22] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Education} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/sci/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Science at the Masaryk University in Brno. It defines the +% private macros required by the |\thesis@blocks@bibEntryEn| block +% defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-sci.sty} +% style file. It also replaces the \texttt{facultyName} +% placeholder with the correct value and redefines the +% \texttt{advisorTitle} string in accordance with the formal +% requirements of the faculty. +% \iffalse +%<*mu/sci> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/sci/fithesis-english.def}[2017/06/02] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Science} + +% Miscellaneous +\global\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor + +% Bibliographic entry +\gdef\thesis@english@bib@programme{Degree Programme} +\global\let\thesis@english@bib@field\thesis@english@fieldTitle +\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 +% +% \fi diff --git a/macros/latex/contrib/fithesis/locale/english.ins b/macros/latex/contrib/fithesis/locale/english.ins new file mode 100644 index 0000000000..0fb30f4bbe --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/english.ins @@ -0,0 +1,13 @@ +\input ../LICENSE +\generate{\file{fithesis-english.def}{\from{english.dtx}{base}} + \file{mu/fithesis-english.def}{\from{english.dtx}{mu}} + \file{mu/law/fithesis-english.def}{\from{english.dtx}{mu/law}} + \file{mu/fsps/fithesis-english.def}{\from{english.dtx}{mu/fsps}} + \file{mu/fss/fithesis-english.def}{\from{english.dtx}{mu/fss}} + \file{mu/econ/fithesis-english.def}{\from{english.dtx}{mu/econ}} + \file{mu/med/fithesis-english.def}{\from{english.dtx}{mu/med}} + \file{mu/fi/fithesis-english.def}{\from{english.dtx}{mu/fi}} + \file{mu/phil/fithesis-english.def}{\from{english.dtx}{mu/phil}} + \file{mu/ped/fithesis-english.def}{\from{english.dtx}{mu/ped}} + \file{mu/sci/fithesis-english.def}{\from{english.dtx}{mu/sci}}} +\endbatchfile diff --git a/macros/latex/contrib/fithesis/locale/slovak.dtx b/macros/latex/contrib/fithesis/locale/slovak.dtx new file mode 100644 index 0000000000..607e0ce683 --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/slovak.dtx @@ -0,0 +1,504 @@ +% \file{locale/fithesis-slovak.def} +% This is the base file of the Slovak locale.\iffalse +%<*base> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/fithesis-slovak.def}[2017/07/09] +% \end{macrocode} +% The locale file defines all the private macros mandated by the +% locale file interface. +% \begin{macro}{\thesis@slovak@gender@koncovka} +% The locale file also defines the |\thesis@slovak@gender@koncovka| +% macro, which expands to the correct verb ending based on the +% value of the |\thesis@ifwoman| macro and the +% \end{macro}\begin{macro}{\thesis@slovak@typeName@akuzativ} +% |\thesis@slovak@typeName@akuzativ| containing the accusative case +% of the thesis type name. +% \end{macro}\begin{macrocode} + +% Pomocná makrá +\gdef\thesis@slovak@gender@koncovka{% + \ifthesis@woman a\fi} + +% Csquotes štýl +\gdef\thesis@slovak@csquotesStyle{german} + +% Zástupné texty +\gdef\thesis@slovak@universityName{Názov univerzity} +\gdef\thesis@slovak@facultyName{Názov fakulty} +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \begin{macrocode} +\gdef\thesis@slovak@assignment{% + Na tomto mieste sa v~tlačenej práci nachádza oficiálne + podpísané zadanie práce.} +\gdef\thesis@slovak@declaration{Text vyhlásenie ...} + +% Časové údaje +\gdef\thesis@slovak@spring{jar} +\gdef\thesis@slovak@fall{jeseň} +\gdef\thesis@slovak@semester{% + \thesis@{slovak@\thesis@season} \thesis@seasonYear} +\gdef\thesis@slovak@formattedDate{{% + \thesis@day. + \newcount\@month\expandafter\@month\thesis@month\relax + \ifnum\@month=1% + januára + \else\ifnum\@month=2% + februára + \else\ifnum\@month=3% + marca + \else\ifnum\@month=4% + apríla + \else\ifnum\@month=5% + mája + \else\ifnum\@month=6% + júna + \else\ifnum\@month=7% + júla + \else\ifnum\@month=8% + augusta + \else\ifnum\@month=9% + septembra + \else\ifnum\@month=10% + októbra + \else\ifnum\@month=11% + novembra + \else\ifnum\@month=12% + decembra + \else + <> + \fi\fi\fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi + \thesis@year}} + +% Rôzne +\gdef\thesis@slovak@authorSignature{Podpis autora} +\gdef\thesis@slovak@fieldTitle{Odbor} +\gdef\thesis@slovak@advisorTitle{Vedúci práce} +\gdef\thesis@slovak@authorTitle{Autor} +\gdef\thesis@slovak@abstractTitle{Zhrnutie} +\gdef\thesis@slovak@keywordsTitle{Kľúčové slová} +\gdef\thesis@slovak@thanksTitle{Poďakovanie} +\gdef\thesis@slovak@declarationTitle{Vyhlásenie} +\gdef\thesis@slovak@idTitle{ID} +\gdef\thesis@slovak@typeName@sempaper{Seminárna práca} +\gdef\thesis@slovak@typeName@bachelors{Bakalárska práca} +\gdef\thesis@slovak@typeName@masters{Diplomová práca} +\gdef\thesis@slovak@typeName@proposal{Tézy záverečnej práce} +\gdef\thesis@slovak@typeName@doctoral{Dizertačná práca} +\gdef\thesis@slovak@typeName@rigorous{Rigorózna práca} +\gdef\thesis@slovak@typeName{% + \ifx\thesis@type\thesis@sempaper + \thesis@slovak@typeName@sempaper + \else\ifx\thesis@type\thesis@bachelors + \thesis@slovak@typeName@bachelors + \else\ifx\thesis@type\thesis@masters + \thesis@slovak@typeName@masters + \else\ifx\thesis@type\thesis@proposal + \thesis@slovak@typeName@proposal + \else\ifx\thesis@type\thesis@doctoral + \thesis@slovak@typeName@doctoral + \else\ifx\thesis@type\thesis@rigorous + \thesis@slovak@typeName@rigorous + \else + <>% + \fi\fi\fi\fi\fi\fi} +\gdef\thesis@slovak@typeName@akuzativ@sempaper{Seminárnu prácu} +\gdef\thesis@slovak@typeName@akuzativ@bachelors{Bakalársku prácu} +\gdef\thesis@slovak@typeName@akuzativ@masters{Diplomovú prácu} +\gdef\thesis@slovak@typeName@akuzativ@proposal{Tézy záverečnej práce} +\gdef\thesis@slovak@typeName@akuzativ@doctoral{Dizertačnú prácu} +\gdef\thesis@slovak@typeName@akuzativ@rigorous{Rigoróznu prácu} +\gdef\thesis@slovak@typeName@akuzativ{% + \ifx\thesis@type\thesis@sempaper + \thesis@slovak@typeName@akuzativ@sempaper + \else\ifx\thesis@type\thesis@bachelors + \thesis@slovak@typeName@akuzativ@bachelors + \else\ifx\thesis@type\thesis@masters + \thesis@slovak@typeName@akuzativ@masters + \else\ifx\thesis@type\thesis@proposal + \thesis@slovak@typeName@akuzativ@proposal + \else\ifx\thesis@type\thesis@doctoral + \thesis@slovak@typeName@akuzativ@doctoral + \else\ifx\thesis@type\thesis@rigorous + \thesis@slovak@typeName@akuzativ@rigorous + \else + <>% + \fi\fi\fi\fi\fi\fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fithesis-slovak.def} +% This is the Slovak locale file specific to the Masaryk +% University in Brno. It replaces the \texttt{universityName} +% placeholder with the correct value and defines the +% \texttt{declaration} and \texttt{idTitle} strings. +% \iffalse +%<*mu> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fithesis-slovak.def}[2018/02/11] + +% Zástupné texty +\gdef\thesis@slovak@universityName{Masarykova univerzita} +% \end{macrocode} +% \changes{v0.3.49}{2018/02/11}{Fixed casing in the +% definition of the \texttt{declaration} string for the Masaryk +% University in Brno. [VN]} +% \begin{macrocode} +\gdef\thesis@slovak@declaration{% + Vyhlasujem, že som predloženú \thesis@lower{% + slovak@typeName@akuzativ} vypracoval% + \thesis@slovak@gender@koncovka\ samostatne len s~použitím + uvedenej literatúry a prameňov.} +% \end{macrocode} +% \changes{v0.3.47}{2017/07/09}{Moved the \cs{ifthesis@digital} +% tests from \texttt{locale/*.def} to \texttt{locale/mu/*.def}, +% since \cs{ifthesis@digital} is undefined in +% \texttt{fithesis3.cls}. [VN]} +% \changes{v0.3.47}{2017/07/09}{Added an +% \cs{ifthesis@blocks@assignment@hideIfDigital@} test to the +% definition of the \texttt{assignment} string for the Masaryk +% University in Brno. [VN]} +% \begin{macrocode} +\gdef\thesis@slovak@assignment{% + \ifthesis@blocks@assignment@hideIfDigital@ + \ifthesis@digital@ + Na tomto mieste sa v~tlačenej práci nachádza oficiálne + podpísané zadanie práce. + \else + Namiesto tejto stránky vložte kópiu oficiálneho podpísaného + zadania práce. + \fi + \else + Nastavte pomocou kľúča <> názov súboru PDF + s~oficiálnym podpísaným zadaním práce. + \fi} + +% Bibliografický záznam +\gdef\thesis@slovak@bib@title{Bibliografický záznam} +\gdef\thesis@slovak@bib@pages{str} +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Lifted the \texttt{bib@author}, +% \texttt{bib@thesisTitle}, and \texttt{bib@advisor} strings from +% \texttt{locale/mu/sci/*.def} to \texttt{locale/mu/*.def}, +% so that they can be shared with \texttt{locale/mu/econ/*.def}. +% [VN]} +% \begin{macrocode} +\global\let\thesis@slovak@bib@author\thesis@slovak@authorTitle +\gdef\thesis@slovak@bib@thesisTitle{Názov práce} +\global\let\thesis@slovak@bib@advisor\thesis@slovak@advisorTitle + +% Rôzne +\gdef\thesis@slovak@idTitle{UČO} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/law/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of Law at +% the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value, defines +% the \texttt{facultyLongName} required by the +% |\thesis@blocks@cover| and the |\thesis@blocks@titlePage| blocks +% and replaces the \texttt{abstractTitle} string in accordance +% with the requirements of the faculty. +% \iffalse +%<*mu/law> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/law/fithesis-slovak.def}[2015/06/26] + +% Rôzne +\gdef\thesis@slovak@abstractTitle{Abstrakt} + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Právnická fakulta} +\gdef\thesis@slovak@facultyLongName{Právnická fakulta Masarykovej + univerzity} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fsps/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of Sports +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{fieldTitle} string in accordance with the +% common usage at the faculty. The locale file also redefines the +% \texttt{declaration} string in accordance with the requirements +% of the faculty. +% \iffalse +%<*mu/fsps> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fsps/fithesis-slovak.def}[2017/05/15] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Fakulta športových štúdií} +\gdef\thesis@slovak@declaration{% + Vyhlasujem, že som \thesis@lower{% + slovak@typeName@akuzativ} vypracoval% + \thesis@slovak@gender@koncovka\ samostatne a~na základe + literatúry a~prameňov uvedených v~použitých zdrojoch.} + +% Rôzne +\gdef\thesis@slovak@fieldTitle{Špecializácie} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fss/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of Social +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} and \texttt{assignment} strings with the +% correct values. +% \iffalse +%<*mu/fss> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fss/fithesis-slovak.def}[2016/05/25] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Fakulta sociálnych štúdií} +\gdef\thesis@slovak@assignment{% + \ifthesis@digital@ + Na tomto mieste sa v~tlačenej práci nachádza oficiálne + podpísané zadanie práce alebo vyhlásenie autora školského + diela alebo obidve. + \else + Namiesto tejto stránky vložte kópiu oficiálneho podpísaného + zadania práce alebo vyhlásenie autora školského diela alebo + obidve v~závislosti na požiadavkách príslušnej katedry. + \fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/econ/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Economics and Administration at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} and \texttt{abstractTitle} +% placeholders with the correct values. The locale file also +% redefines the \texttt{declaration} string in accordance with +% the requirements of the faculty and defines the private macros +% required by the |\thesis@blocks@|\discretionary{}{}{}|bibEntry| +% block defined within the \texttt{style/mu/fithesis-econ.sty} +% style file. +% \iffalse +%<*mu/econ> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/econ/fithesis-slovak.def}[2017/07/09] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Ekonomicko-správna fakulta} + +% Bibliografický záznam +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Defined strings required by +% \cs{thesis@blocks@bibEntry} from +% \texttt{style/mu/fithesis-econ.sty} in +% \texttt{locale/mu/econ/*.def}. [VN]} +% \begin{macrocode} +\gdef\thesis@slovak@bib@thesisTitleEn{Názov práce v angličtine} +\gdef\thesis@slovak@bib@department{Katedra} +\gdef\thesis@slovak@bib@year{Rok obhajoby} + +% Rôzne +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Updated the +% \cs{abstractTitle} string in \texttt{locale/mu/econ/*.def} in +% accordance with the 2/2017 dean's directive. The patch was +% submitted by Jana Ratajská. [VN]} +% \begin{macrocode} +\gdef\thesis@slovak@abstractTitle{Anotácie} +% \end{macrocode} +% \changes{v0.3.46}{2017/06/02}{Updated the \texttt{declaration} string +% in \texttt{locale/mu/econ/*.def} in accordance with the 2/2017 +% dean's directive. [VN]} +% \changes{v0.3.47}{2017/07/09}{Updated the \texttt{declaration} string +% in \texttt{locale/mu/econ/*.def} in accordance with the 2/2017 +% dean's directive. [VN]} +% The following extra data field is defined for the +% \texttt{declaration} string: \begin{itemize} +% \item|advisorSkGenitiv| -- the advisor's name in +% genitive following Slovak morphology. +% \end{itemize} +% \begin{macrocode} +\thesis@def@extra{advisorSkGenitiv} +\gdef\thesis@slovak@declaration{Vyhlasujem, že som + \thesis@lower{slovak@typeName@akuzativ} \thesis@title{} spracoval% + \thesis@slovak@gender@koncovka\ samostatne pod vedením + \thesis@extra@advisorSkGenitiv\ + a~uved\ifthesis@woman la\else iol\fi\ v~nej všetky + odborné zdroje v~súlade s~právnymi predpismi, vnútornými + předpismi Masarykovej univerzity a~vnútornými aktmi riadenia + Masarykovej univerzity a~Ekonomicko-správnej fakulty MU.} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/med/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Medicine at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{abstractTitle} +% string in accordance with the common usage at the faculty. +% The file also defines the \texttt{bib@title} and +% \texttt{bib@pages} strings required by the +% |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/fithesis-med.sty} style file. + +% \iffalse +%<*mu/med> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/med/fithesis-slovak.def}[2016/03/23] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Lekárska fakulta} + +% Rôzne +\gdef\thesis@slovak@abstractTitle{Anotácie} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/fi/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Informatics at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{declaration} string in accordance with the +% requirements of the faculty. The file also defines the +% \texttt{advisorSignature} string required by the +% |\thesis@blocks@titlePage| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty} +% style file. +% \iffalse +%<*mu/fi> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fi/fithesis-slovak.def}[2016/05/25] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Fakulta informatiky} +\gdef\thesis@slovak@assignment{% + \ifthesis@digital@ + Na tomto mieste sa v~tlačenej práci nachádza oficiálne + podpísané zadanie práce a vyhlásenie autora školského diela. + \else + Namiesto tejto stránky vložte kópiu oficiálneho podpísaného + zadania práce a vyhlásenie autora školského diela. + \fi} +\gdef\thesis@slovak@declaration{% + Vyhlasujem, že táto \thesis@lower{slovak@typeName} je mojím + pôvodným autorským dielom, ktoré som vypracoval% + \thesis@slovak@gender@koncovka\ samostatne. Všetky zdroje, + pramene a literatúru, ktoré som pri vypracovaní + používal\thesis@slovak@gender@koncovka\ alebo z~nich + čerpal\thesis@slovak@gender@koncovka, v~práci riadne citujem + s~uvedením úplného odkazu na príslušný zdroj.} + +% Rôzne +\gdef\thesis@slovak@advisorSignature{Podpis vedúceho} +\gdef\thesis@slovak@typeName@proposal{Tézy dizertačnej práce} +\gdef\thesis@slovak@typeName@akuzativ@proposal{Tézy dizertačnej práce} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/phil/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Arts at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. It also defines the \texttt{declaration} string +% and redefines the \texttt{typeName} and +% \texttt{typeName@akuzativ} strings in accordance with the +% requirements of the faculty. +% +% The locale file also defines the \texttt{departmentName} +% string, which is used by the \texttt{style/mu/fithesis-phil^^A +% .sty} style file, when typesetting the names of known +% departments. +% \iffalse +%<*mu/phil> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/phil/fithesis-slovak.def}[2016/03/22] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Filozofická fakulta} +\gdef\thesis@slovak@departmentName{% + \ifx\thesis@department\thesis@departments@kisk + Kabinet informačných štúdií a knihovníctva% + \else + <>% + \fi} +\gdef\thesis@czech@declaration{% + \ifx\thesis@department\thesis@departments@kisk + Vyhlasujem, že som predkladanú prácu spracoval% + \thesis@slovak@gender@koncovka\ samostatne~a použil% + \thesis@slovak@gender@koncovka\ len uvedené pramene~a + literatúru. Súčasne dávam súhlas k~tomu, aby elektronická + verzia tejto práce bola sprístupnená cez informačný + systém Masarykovej univerzity.% + \else + Vyhlasujem, že som predloženú \thesis@lower{% + slovak@typeName@akuzativ} vypracoval% + \thesis@slovak@gender@koncovka\ samostatne na základe vlastných + zistení a len s~použitím uvedenej literatúry a prameňov.% + \fi} + +% Rôzne +\global\let\thesis@slovak@typeName@super + \thesis@slovak@typeName +\gdef\thesis@slovak@typeName{% + \ifx\thesis@type\thesis@bachelors + Bakalárska diplomová práca% + \else\ifx\thesis@type\thesis@masters + Magisterská diplomová práca% + \else + \thesis@slovak@typeName@super + \fi\fi} + +\global\let\thesis@slovak@typeName@akuzativ@super + \thesis@slovak@typeName@akuzativ +\gdef\thesis@slovak@typeName@akuzativ{% + \ifx\thesis@type\thesis@bachelors + Diplomovú prácu% + \else\ifx\thesis@type\thesis@masters + Diplomovú prácu% + \else + \thesis@slovak@typeName@akuzativ@super + \fi\fi} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/ped/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Education at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. The file also defines the +% \texttt{bib@title} and \texttt{bib@pages} strings required by the +% |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-ped.sty} +% style file. +% \iffalse +%<*mu/ped> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/ped/fithesis-slovak.def}[2017/06/02] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Pedagogická fakulta} +% \end{macrocode}\iffalse +% +% \fi\file{locale/mu/sci/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Science at the Masaryk University in Brno. +% The locale file also defines the private macros +% required by the |\thesis@blocks@|\discretionary{}{}{}|bibEntry| +% block defined within the \texttt{style/mu/fithesis-sci.sty} style +% file. It also replaces the \texttt{facultyName} placeholder with +% the correct value and redefines the \texttt{abstractTitle} and +% \texttt{declaration} strings in accordance with the formal +% requirements of the faculty. +% \changes{v0.3.45}{2017/05/21}{Added Slovak localization for the +% \texttt{style/mu/fithesis-sci.sty} style file. The localization +% was submitted by Juraj Pálenik. [VN]} +% \iffalse +%<*mu/sci> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/sci/fithesis-slovak.def}[2017/05/21] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Prírodovedecká fakulta} + +% Bibliografický záznam +\gdef\thesis@slovak@bib@programme{Študijný program} +\global\let\thesis@slovak@bib@field\thesis@slovak@fieldTitle +\gdef\thesis@slovak@bib@academicYear{Akademický rok} +\gdef\thesis@slovak@bib@pages{Počet strán} +\global\let\thesis@slovak@bib@keywords\thesis@slovak@keywordsTitle +% \end{macrocode}\iffalse +% +% \fi diff --git a/macros/latex/contrib/fithesis/locale/slovak.ins b/macros/latex/contrib/fithesis/locale/slovak.ins new file mode 100644 index 0000000000..cebead058e --- /dev/null +++ b/macros/latex/contrib/fithesis/locale/slovak.ins @@ -0,0 +1,13 @@ +\input ../LICENSE +\generate{\file{fithesis-slovak.def}{\from{slovak.dtx}{base}} + \file{mu/fithesis-slovak.def}{\from{slovak.dtx}{mu}} + \file{mu/law/fithesis-slovak.def}{\from{slovak.dtx}{mu/law}} + \file{mu/fsps/fithesis-slovak.def}{\from{slovak.dtx}{mu/fsps}} + \file{mu/fss/fithesis-slovak.def}{\from{slovak.dtx}{mu/fss}} + \file{mu/econ/fithesis-slovak.def}{\from{slovak.dtx}{mu/econ}} + \file{mu/med/fithesis-slovak.def}{\from{slovak.dtx}{mu/med}} + \file{mu/fi/fithesis-slovak.def}{\from{slovak.dtx}{mu/fi}} + \file{mu/phil/fithesis-slovak.def}{\from{slovak.dtx}{mu/phil}} + \file{mu/ped/fithesis-slovak.def}{\from{slovak.dtx}{mu/ped}} + \file{mu/sci/fithesis-slovak.def}{\from{slovak.dtx}{mu/sci}}} +\endbatchfile -- cgit v1.2.3