diff --git a/fithesis.dtx b/fithesis.dtx index f67d37f3916fe9854069a1cf16bece172377cbe4..9040541752a6e816c699ea98fdf0f46b479921e5 100644 --- a/fithesis.dtx +++ b/fithesis.dtx @@ -1294,3 +1294,5 @@ % \input{style/mu/econ.dtx} % \subsubsection{The style files of the Faculty of Medicine} % \input{style/mu/med.dtx} +% \subsubsection{The style files of the Faculty of Sports Studies} +% \input{style/mu/fsps.dtx} diff --git a/locale/czech.dtx b/locale/czech.dtx index 2e3ed4f102dff712a8067ae5b5813393740ec2d9..2b0666a977b4882022b7b2ca1d00744245873d0a 100644 --- a/locale/czech.dtx +++ b/locale/czech.dtx @@ -115,12 +115,20 @@ % \fi\file{locale/mu/fsps/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. +% \texttt{facultyName} placeholder with the correct value and the +% \texttt{placeholders@field} and \texttt{fieldTitle} strings in +% accordance with the common usage at the faculty. % \iffalse %<*mu/fsps> % \fi\begin{macrocode} -\ProvidesFile{fithesis3/locale/mu/fsps/czech.def}[2015/04/18] +\ProvidesFile{fithesis3/locale/mu/fsps/czech.def}[2015/04/27] + +% ZástupnĂ© texty +\def\thesis@czech@placeholders@field{Název specializace} \def\thesis@czech@facultyName{Fakulta sportovnĂch studiĂ} + +% RĹŻznĂ© +\def\thesis@czech@fieldTitle{Specializace} % \end{macrocode}\iffalse %</mu/fsps> % \fi\file{locale/mu/fss/czech.def} @@ -160,7 +168,7 @@ % It replaces the \texttt{facultyName} placeholder with the % correct value and redefines the \texttt{abstractTitle}, % and \texttt{placeholders@abstract} strings in accordance with -% strings customary at the faculty. The file also defines the +% 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/fithesis3-med.sty} style file. diff --git a/locale/english.dtx b/locale/english.dtx index 5c432172174699e5f10fe7ce077986bfd5fbf4fe..6149592cd3d27df7e64858f045974e246dc0dd7e 100644 --- a/locale/english.dtx +++ b/locale/english.dtx @@ -88,7 +88,13 @@ %<*mu/fsps> % \fi\begin{macrocode} \ProvidesFile{fithesis3/locale/mu/fsps/english.def}[2015/04/18] + +% Placeholders +\def\thesis@english@placeholders@field{The specialization name} \def\thesis@english@facultyName{Faculty of Sports Studies} + +% Miscellaneous +\def\thesis@english@fieldTitle{Specialization} % \end{macrocode}\iffalse %</mu/fsps> % \fi\file{locale/mu/fss/english.def} @@ -127,7 +133,7 @@ % 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 strings customary at the faculty. +% with the common usage at the faculty. The file also defines the % The file also defines the \texttt{bib@title} and % \texttt{bib@pages} strings required by the % |\thesis@blocks@bibEntry| block defined within the diff --git a/locale/slovak.dtx b/locale/slovak.dtx index b5bb923eec839e2e9d1aba0e85cba1be73afa2f2..cfbcf2a1ca2c4b91cf1c96700d4211cdf7035639 100644 --- a/locale/slovak.dtx +++ b/locale/slovak.dtx @@ -114,12 +114,20 @@ % \fi\file{locale/mu/fsps/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. +% \texttt{facultyName} placeholder with the correct value and the +% \texttt{placeholders@field} and \texttt{fieldTitle} strings in +% accordance with the common usage at the faculty. % \iffalse %<*mu/fsps> % \fi\begin{macrocode} \ProvidesFile{fithesis3/locale/mu/fsps/slovak.def}[2015/04/18] + +% ZástupnĂ© texty +\def\thesis@slovak@placeholders@field{Názov špecializácie} \def\thesis@slovak@facultyName{Fakulta športovĂ˝ch štĂşdiĂ} + +% RĂ´zne +\def\thesis@slovak@fieldTitle{Ĺ pecializácie} % \end{macrocode}\iffalse %</mu/fsps> % \fi\file{locale/mu/fss/slovak.def} @@ -158,7 +166,7 @@ % It replaces the \texttt{facultyName} placeholder with the % correct value and redefines the \texttt{abstractTitle}, % and \texttt{placeholders@abstract} strings in accordance -% with strings customary at the faculty. The file also defines the +% 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/fithesis3-med.sty} style file. diff --git a/style/mu/Makefile b/style/mu/Makefile index 4f673a6c0473dd1570e99c858054945c97a0d469..dbf7e2d225b9fa01f26d90e98076b7a488be91b7 100644 --- a/style/mu/Makefile +++ b/style/mu/Makefile @@ -1,5 +1,5 @@ -LOGS=base.log fi.log sci.log phil.log ped.log fss.log law.log econ.log med.log -OUTPUT=fithesis3-base.sty fithesis3-1[012].clo fithesis3-fi.sty fithesis3-sci.sty fithesis3-phil.sty fithesis3-ped.sty fithesis3-fss.sty fithesis3-law.sty fithesis3-econ.sty fithesis3-med.sty +LOGS=base.log fi.log sci.log phil.log ped.log fss.log law.log econ.log med.log fsps.log +OUTPUT=fithesis3-base.sty fithesis3-1[012].clo fithesis3-fi.sty fithesis3-sci.sty fithesis3-phil.sty fithesis3-ped.sty fithesis3-fss.sty fithesis3-law.sty fithesis3-econ.sty fithesis3-med.sty fithesis3-fsps.sty .PHONY: explode implode all all: explode diff --git a/style/mu/fsps.dtx b/style/mu/fsps.dtx new file mode 100644 index 0000000000000000000000000000000000000000..a7aa3eb331ba17ec5bb939f0b253d5652edd39e3 --- /dev/null +++ b/style/mu/fsps.dtx @@ -0,0 +1,30 @@ +% \file{style/mu/fithesis3-fss.sty} +% This is the style file for the theses written at the Faculty of +% Sports Studies at the Masaryk University in Brno. It has been +% prepared in accordance with the formal requirements published at +% the website of the faculty\footnote{See \url{http://www.fsps.^^A +% muni.cz/~korvas/pokyny_k_zaverecne_praci.doc}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis3/style/mu/fithesis3-fss}[2015/04/26] +% \end{macrocode} +% The style file configures the title page header to include the +% field name. +% \begin{macrocode} +\thesis@blocks@titlePage@field@true +% \end{macrocode} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the declaration, acknowledgement +% table of contents and the optional list of tables and figures as +% a part of the front matter. All blocks are defined in the +% \texttt{style/mu/base.sty} file. +% \begin{macrocode} +\def\thesis@preamble{% + \thesis@blocks@cover% + \thesis@blocks@titlePage% + \thesis@blocks@frontMatter% + \thesis@blocks@declaration% + \thesis@blocks@thanks% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/style/mu/fsps.ins b/style/mu/fsps.ins new file mode 100644 index 0000000000000000000000000000000000000000..af11aad981cfa44b109677174d9996bc50b6b1b8 --- /dev/null +++ b/style/mu/fsps.ins @@ -0,0 +1,3 @@ +\input ../../docstrip.cfg +\generate{\file{fithesis3-fsps.sty}{\from{fsps.dtx}{}}} +\endbatchfile diff --git a/test/fsps-czech.tex b/test/fsps-czech.tex new file mode 100644 index 0000000000000000000000000000000000000000..7e50095e10d65c5ea400c68ba2d81107f9f73265 --- /dev/null +++ b/test/fsps-czech.tex @@ -0,0 +1,9 @@ +\documentclass[monochrome]{../fithesis3} +\usepackage[czech]{babel} +\thesissetup{ + basepath=.., + faculty=fsps +} +\begin{document} + foo bar +\end{document} \ No newline at end of file diff --git a/test/fsps-english.tex b/test/fsps-english.tex new file mode 100644 index 0000000000000000000000000000000000000000..52d539ef8d1649c57395bad88dfdc8b2671e5b6c --- /dev/null +++ b/test/fsps-english.tex @@ -0,0 +1,9 @@ +\documentclass[monochrome]{../fithesis3} +\usepackage[english]{babel} +\thesissetup{ + basepath=.., + faculty=fsps +} +\begin{document} + foo bar +\end{document} \ No newline at end of file diff --git a/test/fsps-slovak.tex b/test/fsps-slovak.tex new file mode 100644 index 0000000000000000000000000000000000000000..77cf8583230ce71d2707e6150265073bc27f482e --- /dev/null +++ b/test/fsps-slovak.tex @@ -0,0 +1,9 @@ +\documentclass[monochrome]{../fithesis3} +\usepackage[slovak]{babel} +\thesissetup{ + basepath=.., + faculty=fsps +} +\begin{document} + foo bar +\end{document} \ No newline at end of file