From 7c836862842a7d43c8c2fffbc2c02e3983fbb5b6 Mon Sep 17 00:00:00 2001 From: witiko <witiko@gmail.com> Date: Tue, 28 Apr 2015 00:04:21 +0200 Subject: [PATCH] Added the style of the Faculty of Sports Studies. --- fithesis.dtx | 2 ++ locale/czech.dtx | 14 +++++++++++--- locale/english.dtx | 8 +++++++- locale/slovak.dtx | 12 ++++++++++-- style/mu/Makefile | 4 ++-- style/mu/fsps.dtx | 30 ++++++++++++++++++++++++++++++ style/mu/fsps.ins | 3 +++ test/fsps-czech.tex | 9 +++++++++ test/fsps-english.tex | 9 +++++++++ test/fsps-slovak.tex | 9 +++++++++ 10 files changed, 92 insertions(+), 8 deletions(-) create mode 100644 style/mu/fsps.dtx create mode 100644 style/mu/fsps.ins create mode 100644 test/fsps-czech.tex create mode 100644 test/fsps-english.tex create mode 100644 test/fsps-slovak.tex diff --git a/fithesis.dtx b/fithesis.dtx index f67d37f..9040541 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 2e3ed4f..2b0666a 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 5c43217..6149592 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 b5bb923..cfbcf2a 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 4f673a6..dbf7e2d 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 0000000..a7aa3eb --- /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 0000000..af11aad --- /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 0000000..7e50095 --- /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 0000000..52d539e --- /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 0000000..77cf858 --- /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 -- GitLab