From c3fb12020d2770e910abcebde11634c8f3a5ed2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= <witiko@mail.muni.cz> Date: Fri, 15 Jun 2018 20:36:42 +0200 Subject: [PATCH] Add the bibliography extra field to mu --- fithesis.dtx | 2 +- style/mu/base.dtx | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/fithesis.dtx b/fithesis.dtx index 4f03218..2903e5e 100644 --- a/fithesis.dtx +++ b/fithesis.dtx @@ -56,7 +56,7 @@ \gdef\thesis@version@number{#1} \gdef\thesis@version@date{#2} \gdef\thesis@version{#2 #1 fithesis3 MU thesis class}} -\thesis@versiondef{v0.3.50}{2018/03/25}} +\thesis@versiondef{v0.3.51-dev}{2018/06/15}} % {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/style/mu/base.dtx b/style/mu/base.dtx index 2bf55b0..11204b6 100644 --- a/style/mu/base.dtx +++ b/style/mu/base.dtx @@ -7,7 +7,7 @@ % after \texttt{style/fithesis-base.sty}, regardless of the value % of the |\thesis@style| macro. % \begin{macrocode} -\ProvidesPackage{fithesis/style/mu/fithesis-base}[2017/06/02] +\ProvidesPackage{fithesis/style/mu/fithesis-base}[2018/06/15] \NeedsTeXFormat{LaTeX2e} % \end{macrocode} % The file recognizes the following options: \begin{itemize} @@ -361,7 +361,6 @@ \def\thesis@bibliography@setup#1{% \setkeys{thesis@bibliography}{#1}} % \end{macrocode} -% \end{macro} % The following key-value pairs are supported: % \begin{enumerate} % \item\marg{\texttt{style}=style} -- Stores \texttt{style} in @@ -383,6 +382,26 @@ \def\thesis@bibliography@sorting{#1}% \fi} % \end{macrocode} +% \changes{v0.3.51}{2018/06/15}{^^A +% Added the \texttt{bibliography} extra field to the style files +% of the Masaryk University in Brno, Czech Republic} +% The following extra data field is defined for the macro: +% \begin{itemize} +% \item|bibliography| -- the comma-delimited list of key-value +% pairs accepted by |\thesis@bibliography@setup|. If the data +% field was specified, it is immediately passed to +% |\thesis@bibliography@setup| and it overrides any defaults +% specified in faculty style files. +% \end{itemize} +% \begin{macrocode} +\thesis@def@extra[]{bibliography} +\ifx\thesis@extra@bibliography + \thesis@placeholder@extra@bibliography\else + \expandafter\thesis@bibliography@setup\expandafter{% + \thesis@extra@bibliography}% +\fi +% \end{macrocode} +% \end{macro} % \begin{macro}{\thesis@bibliography@load} % When |\ifthesis@bibliography@| is true and % |\ifthesis@bibliography@loaded@| is false, the -- GitLab