diff options
Diffstat (limited to 'Master/texmf-dist/source')
11 files changed, 321 insertions, 79 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx index 8bda3d900a5..da915e5f875 100644 --- a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx +++ b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx @@ -56,11 +56,21 @@ \gdef\thesis@version@number{#1} \gdef\thesis@version@date{#2} \gdef\thesis@version{#2 #1 fithesis3 MU thesis class}} -\thesis@versiondef{v0.3.37}{2016/04/12}} +\thesis@versiondef{v0.3.38}{2016/05/15}} % {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % +% \changes{v0.3.38:2}{2016/05/15}{Fixed \cs{thesis@pages} not +% taking \cs{thesis@preamble} into account. Fixed the chapter +% number being printed regardless of secnumdepth by the style +% files of the Masaryk University in Brno. Fixed +% \cs{thesis@blocks@assignment} being typeset in Czech only +% by the style file of the Faculty of Science at the Masaryk +% University in Brno.} +% \changes{v0.3.38:1}{2016/04/18}{The \texttt{bib} key was added +% on the \textsf{fithesis3} class level and is supported by the +% style files of the Masaryk University in Brno.} % \changes{v0.3.37} {2016/04/12}{The \cs{tableofcontents} in the % style files of the Masaryk University in Brno now correctly % handles all tocdepth values. The expansion of \cs{part} also no @@ -1182,6 +1192,23 @@ \def\thesis@assignmentFiles{#1}} % \end{macrocode} % \end{macro} +% When the |\thesis@assignmentFiles| macro is defined and +% non-empty, the style files should take that as a cue that the +% user wishes to typeset the thesis assignment. +% \begin{macro}{\thesis@bibFiles} +% \subsubsection{The \texttt{bib} key} +% The \marg{\texttt{bib}=list} pair sets the comma-delimited +% list of paths to the BIB files containing the bibliography +% databases to \textit{list}. The \textit{list} is stored within +% the |\thesis@bibFiles| macro. +% \begin{macrocode} +\define@key{thesis}{bib}{% + \def\thesis@bibFiles{#1}} +% \end{macrocode} +% \end{macro} +% When the |\thesis@bibFiles| macro is defined and non-empty, the +% style files should take that as a cue that the user wishes to +% typeset the bibliography. % \begin{macro}{\ifthesis@auto} % \subsubsection{The \texttt{autoLayout} key} % The \marg{\texttt{autoLayout}=bool} pair either enables, @@ -1267,7 +1294,7 @@ % the same effect. % \begin{macrocode} \newif\ifthesis@loaded\thesis@loadedfalse -\AtEndPreamble{\thesisload} +\BeforeBeginEnvironment{document}{\thesisload} \def\thesis@load{\thesisload} \def\thesisload{% \ifthesis@loaded\else @@ -1282,6 +1309,7 @@ \ifx\thesis@locale\empty\else \edef\thesis@locale{\thesis@locale} \thesis@requireLocale{\thesis@locale} + \fi % \end{macrocode} % Coerce LuaTeX into defining |\l@|\textit{locale} for % \textit{locale}s with known hyphenation patterns, unless @@ -1294,24 +1322,6 @@ \RequirePackage[base]{babel}} \fi % \end{macrocode} -% If the \textsf{babel} or \textsf{polyglossia} locale is identical -% to the thesis locale, the |\thesis@selectLocale| macro will be -% used to globally set up the \textsf{csquotes} style appropriate for -% the given locale. -% \begin{macrocode} - \ifx\languagename\empty\else - \begingroup - \edef\@doclocale{\languagename}% - \ifx\@doclocale\thesis@locale - \endgroup - \AtBeginDocument{% - \thesis@selectLocale{\thesis@locale}}% - \else - \endgroup - \fi - \fi - \fi -% \end{macrocode} % Consequently, the style files are loaded. If the user specified an % explicit empty string as the value of |\thesis@style|, do nothing. % \begin{macrocode} @@ -1319,6 +1329,23 @@ \thesis@requireStyle{\thesis@style} \fi % \end{macrocode} +% If the \textsf{babel} or \textsf{polyglossia} locale is identical +% to the thesis locale, the |\thesis@selectLocale| macro will be +% used to globally set up the \textsf{csquotes} style appropriate for +% the given locale. +% \begin{macrocode} + \ifx\languagename\empty\else + \begingroup + \edef\@doclocale{\languagename}% + \ifx\@doclocale\thesis@locale + \endgroup + \AtBeginDocument{% + \thesis@selectLocale{\thesis@locale}}% + \else + \endgroup + \fi + \fi +% \end{macrocode} % With the placeholder strings loaded from the locale files, we % can now inject metadata into the resulting PDF file. To this % end, the \textsf{hyperref} package is conditionally included with @@ -1341,11 +1368,15 @@ % \end{macrocode} % If autolayout is enabled, the |\thesis@preamble| and % |\thesis@postamble| macros are scheduled for expansion at the -% beginning and at the end of the document, respectively. +% beginning and at the end of the document, respectively. The +% definition of the |\thesis@pages| macro is also scheduled to be +% written to the auxiliary file at the end of the document. % \begin{macrocode} \ifthesis@auto \AtBeginDocument{\thesis@preamble} - \AtEndDocument{\thesis@postamble} + \AtEndDocument{% + \thesis@postamble + \write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}} \fi \makeatother \fi} @@ -1524,7 +1555,6 @@ % the total number of pages within the document. During the first % \TeX\ compilation, the macro expands to \texttt{??}. % \begin{macrocode} -\AtEndDocument{\write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}} \ifx\thesis@pages\undefined\def\thesis@pages{??}\fi % \end{macrocode} % \DescribeMacro{\thesis@selectLocale}|\thesis@selectLocale|\marg{locale} @@ -1539,14 +1569,12 @@ % locale, \textsf{csquotes}, and hyphenation settings return back to % what the user has specified after the localized blocks of % typographic material. -% -% If not loaded by the user, the \textsf{csquotes} package gets -% loaded at the end of the preamble. % \begin{macrocode} -\AtEndPreamble{\thesis@require{csquotes}} \def\thesis@selectLocale#1{% \edef\thesis@locale{#1}% - \csq@setstyle{\thesis@@{csquotesStyle}}% + \ltx@ifpackageloaded{csquotes}{% + \csq@setstyle{\thesis@@{csquotesStyle}}% + }{}% \ltx@ifpackageloaded{polyglossia}{% \selectlanguage{\thesis@locale} }{% diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx index 908d82e5656..a5526be5fe8 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx +++ b/Master/texmf-dist/source/latex/fithesis/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}[2016/04/12] +\ProvidesPackage{fithesis/style/mu/fithesis-base}[2016/04/18] \NeedsTeXFormat{LaTeX2e} % \end{macrocode} % The file recognizes the following options: \begin{itemize} @@ -329,6 +329,118 @@ \fi \fi % \end{macrocode} +% \begin{macro}{\ifthesis@bibliography@} +% A new conditional, |\ifthesis@bibliography@|, is defined. This +% conditional is true, when |\thesis@bibFiles| expands to a +% non-empty token list. +% \begin{macrocode} +\newif\ifthesis@bibliography@ +\thesis@bibliography@false +\ifx\thesis@bibFiles\undefined\else + {\edef\@bibList{\thesis@bibFiles}% + \ifx\@bibList\empty\else + \global\thesis@bibliography@true + \fi} +\fi +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@bibliography@setup} +% The file defines the |\thesis@bibliography@setup|\marg{options} +% command, where \textit{options} is a comma-delimited list of +% key-value pairs as defined by the \textsf{keyval} package. The +% command can be invoked by the subsequently loaded style +% files to define the bibliography options. +% \begin{macrocode} +\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 +% \DescribeMacro{\thesis@bibliography@style}^^A +% |\thesis@bibliography@style|, unless it has already been +% defined (presumably by the user). +% \item\marg{\texttt{sorting}=mode} -- Stores \texttt{mode} in +% \DescribeMacro{\thesis@bibliography@sorting}^^A +% |\thesis@bibliography@sorting|, unless it has already been +% defined (presumably by the user). +% \end{enumerate} +% \begin{macrocode} +\define@key{thesis@bibliography}{style}{% + \ifx\thesis@bibliography@style\undefined + \def\thesis@bibliography@style{#1}% + \fi} +\define@key{thesis@bibliography}{sorting}{% + \ifx\thesis@bibliography@sorting\undefined + \def\thesis@bibliography@sorting{#1}% + \fi} +% \end{macrocode} +% \begin{macro}{\thesis@bibliography@load} +% When |\ifthesis@bibliography@| is true and +% |\ifthesis@bibliography@loaded@| is false, the +% |\thesis@bibliography@load| macro loads the \textsf{csquotes} and +% Bib\LaTeX\ packages with the bibliography databases specified in +% |\thesis@bibFiles|. The macro also sets the +% \DescribeMacro{\thesis@bibliography@loaded}^^A +% |\ifthesis@bibliography@loaded@| conditional to true. +% \begin{macrocode} +\newif\ifthesis@bibliography@loaded@ + \thesis@bibliography@loaded@false +\newif\ifthesis@bibliography@included@ + \thesis@bibliography@included@false +\def\thesis@bibliography@load{% + \ifthesis@bibliography@ + \ifthesis@bibliography@loaded@\else + \thesis@bibliography@loaded@true + % Load csquotes and BibLaTeX. + \thesis@require{csquotes} +% \end{macrocode} +% If |\thesis@bibliography@style| is undefined, the bibliography +% and citation styles default to |iso-numeric|. If +% |\thesis@bibliography@sorting| is undefined, the sorting scheme +% defaults to |none|. +% \begin{macrocode} + \thesis@bibliography@setup{ + style = iso-numeric, + sorting = none} + \thesis@require[ + backend=biber, + style=\thesis@bibliography@style, + sorting=\thesis@bibliography@sorting, + autolang=other, + sortlocale=auto]{biblatex} + % Load the bibliography databases. + {\edef\@bibList{\thesis@bibFiles}% + \def\@inject##1,{% + \def\@args{##1}\def\@relax{\relax}% + \ifx\@args\@relax\else + % Trim leading spaces. + \edef\@trimmed{\romannumeral-`\.##1}% + \addbibresource\@trimmed + \expandafter\@inject\fi}% + \expandafter\@inject\@bibList,\relax,}% +% \end{macrocode} +% \begin{macro}{\ifthesis@bibliography@included@} +% The |\ifthesis@bibliography@included@| conditional is true, when +% the user has manually included a bibliography into their +% document. The default value of the conditional is false and +% |\printbibliography| is patched to set the conditional to true on +% expansion. This enables the user to place the bibliography +% manually without it appearing in the autolayout. The original +% macro is stored in the +% \DescribeMacro{\thesis@printbibliography@old}^^A +% |\thesis@printbibliography@old| macro. +% \begin{macrocode} + \let\thesis@printbibliography@old\printbibliography + \def\printbibliography{% + \global\thesis@bibliography@included@true + \thesis@printbibliography@old} + \fi + \fi} +% \end{macrocode} +% \end{macro} ^^A The nested \ifthesis@bibliography@included@ def +% \end{macro} ^^A The \thesis@bibliography@load macro definition % The \textsf{hyperref} package is configured to support both roman % and arabic page numbering in one document and to decorate % hyperlinks with an underline instead of a rectangular box. @@ -780,18 +892,18 @@ % \end{macro}\begin{macro}{\thesis@blocks@assignment} % The |\thesis@blocks@assignment| macro either: % \begin{itemize} -% \item Produces no output, when the first expansion of -% |\thesis@|\discretionary{}{}{}|assignmentPDF| yields an empty +% \item Produces no output, when the expansion of +% |\thesis@|\discretionary{}{}{}|assignmentFiles| yields an empty % token list or when the |\ifthesis@blocks@assignment@| % conditional is \texttt{false}. % \item Typesets a placeholder page to be replaced with the -% official thesis assignment, when |\thesis@assignmentPDF| +% official thesis assignment, when |\thesis@assignmentFiles| % is undefined and the |\ifthesis@blocks|\discretionary{}{}^^A % {}|@assignment@| conditional is \texttt{true}. % \item Injects the PDF file(s) specified within the -% |\thesis@assignmentPDF| macro, when |\thesis@assignmentPDF| -% is defined, its first expansion yields a non-empty token list -% and the |\ifthesis@blocks@assignment@| conditional is +% |\thesis@assignmentFiles| macro, when |\thesis@assignmentFiles| +% is defined, its expansion yields a non-empty token list and +% the |\ifthesis@blocks@assignment@| conditional is % \texttt{true}. % \end{itemize} % The default value of the \DescribeMacro{\ifthesis@blocks@assig^^A @@ -858,6 +970,20 @@ \thesis@@{advisorTitle}: \thesis@advisor \thesis@blocks@clearRight} % \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@bibliography} +% When |\ifthesis@bibliography@loaded@| is true and +% |\ifthesis@bibliography@included@| false, then the +% |\thesis@blocks@bibliography| macro typesets a bibliography via +% the Bib\LaTeX\ package. Otherwise, this macro produces no output. +% \begin{macrocode} +\def\thesis@blocks@bibliography{% + \ifthesis@bibliography@loaded@ + \ifthesis@bibliography@included@\else + \thesis@blocks@clear + \printbibliography[heading=bibintoc]% + \fi + \fi} +% \end{macrocode} % \end{macro} % The rest of the file comprises redefinitions of \LaTeX\ commands % and private \texttt{rapport3} class macros altering the layout of @@ -1002,7 +1128,7 @@ % \begin{macrocode} %<*opt> %<*10pt> -\ProvidesFile{fithesis/style/mu/fithesis-10.clo}[2016/01/07] +\ProvidesFile{fithesis/style/mu/fithesis-10.clo}[2016/05/15] \renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont \abovedisplayskip 10\p@ plus2\p@ minus5\p@ @@ -1045,7 +1171,7 @@ % match the type size of 11 points. % \begin{macrocode} %<*11pt> -\ProvidesFile{fithesis/style/mu/fithesis-11.clo}[2016/01/07] +\ProvidesFile{fithesis/style/mu/fithesis-11.clo}[2016/05/15] \renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont \abovedisplayskip 11\p@ plus3\p@ minus6\p@ @@ -1114,7 +1240,7 @@ % should remain constant regardless of the font size setting. % \begin{macrocode} %<*12pt> -\ProvidesFile{fithesis/style/mu/fithesis-12.clo}[2016/01/07] +\ProvidesFile{fithesis/style/mu/fithesis-12.clo}[2016/05/15] %</12pt> \def\thesis@titlePage@normalsize{\fontsize\@xiipt{14.5}% @@ -1277,12 +1403,13 @@ \def\@makechapterhead#1{{% \setlength\parindent{\z@}% \setlength\parskip {\z@}% + \Large \ChapFont \ifnum \c@secnumdepth >\m@ne \par\nobreak \vskip 10\p@ - \fi - \Large \ChapFont \thechapter{} \space #1\par + \thechapter{} \space + \fi #1\par \nobreak \vskip 20\p@}} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx index 0e0b079739d..54ed2207dca 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx @@ -7,7 +7,7 @@ % 363/Smernice2014-9.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2016/02/18] +\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -17,6 +17,14 @@ tableOdd={HTML}{F5ECEB}, tableEven={HTML}{EBD8D5}} % \end{macrocode} +% The bibliography support is enabled. The |authoryear| citations +% are used and the bibliography is sorted by name, title, and year. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-authoryear, + sorting=nty} +\thesis@bibliography@load +% \end{macrocode} % The file loads the following packages: % \begin{itemize} % \item\textsf{tikz} -- Used for dimension arithmetic. @@ -168,11 +176,11 @@ \thesis@blocks@thanks \thesis@blocks@toc} % \end{macrocode} -% The style file defines the autolayout postamble as the list of -% tables and the list of figures. All blocks are defined in the -% \texttt{style/mu/base.sty} file, although some are redefined in -% this file. +% All blocks within the autolayout postamble that are not defined +% within this file are defined in the \texttt{style/mu/base.sty} +% file. % \begin{macrocode} \def\thesis@blocks@postamble{% + \thesis@blocks@bibliography \thesis@blocks@tables} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx index 2324918d90b..d3eaf50c73d 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx @@ -6,7 +6,7 @@ % \url{http://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-fi}[2016/01/07] +\ProvidesPackage{fithesis/style/mu/fithesis-fi}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -16,6 +16,14 @@ tableOdd={HTML}{FFF9E5}, tableEven={HTML}{FFECB3}} % \end{macrocode} +% The bibliography support is enabled. The |numeric| citations are +% used and the bibliography is sorted in citation order. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-numeric, + sorting=none} +\thesis@bibliography@load +% \end{macrocode} % In case of rigorous and doctoral theses, the style file hides the % thesis assignment in accordance with the formal requirements of % the faculty. @@ -80,8 +88,8 @@ \end{alwayssingle}} % \end{macrocode} % \end{macro} -% All blocks within the autolayout preamble that are not defined -% within this file are defined in the +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@preamble{% @@ -96,4 +104,6 @@ \thesis@blocks@abstract \thesis@blocks@keywords \thesis@blocks@tables} +\def\thesis@blocks@postamble{% + \thesis@blocks@bibliography} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx index 471763b0dd7..930c56f1003 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx @@ -6,7 +6,7 @@ % muni.cz/~korvas/pokyny_k_zaverecne_praci.doc}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-fsps}[2015/12/08] +\ProvidesPackage{fithesis/style/mu/fithesis-fsps}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -16,13 +16,21 @@ tableOdd={HTML}{EBEFF5}, tableEven={HTML}{D1DAEB}} % \end{macrocode} +% The bibliography support is enabled. The |authoryear| citations +% are used and the bibliography is sorted by name, title, and year. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-authoryear, + sorting=nty} +\thesis@bibliography@load +% \end{macrocode} % The style file configures the title page header to include the % field name. % \begin{macrocode} \thesis@blocks@titlePage@field@true % \end{macrocode} -% All blocks within the autolayout preamble that are not defined -% within this file are defined in the +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@preamble{% @@ -33,4 +41,6 @@ \thesis@blocks@declaration \thesis@blocks@thanks \thesis@blocks@tables} +\def\thesis@blocks@postamble{% + \thesis@blocks@bibliography} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx index 2da22a5adb7..4bfd9115d5d 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx @@ -16,7 +16,7 @@ % department and will require modification by the user. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-fss}[2015/12/08] +\ProvidesPackage{fithesis/style/mu/fithesis-fss}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -26,6 +26,14 @@ tableOdd={HTML}{E3F1EE}, tableEven={HTML}{C5E3DF}} % \end{macrocode} +% The bibliography support is enabled. The |authoryear| citations +% are used and the bibliography is sorted by name, title, and year. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-authoryear, + sorting=nty} +\thesis@bibliography@load +% \end{macrocode} % \begin{macro}{\thesis@blocks@frontMatter} % The |\thesis@blocks@frontMatter| macro sets up the style % of the front matter of the thesis. @@ -37,8 +45,8 @@ \pagenumbering{roman}} % \end{macrocode} % \end{macro} -% All blocks within the autolayout preamble that are not defined -% within this file are defined in the +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@preamble{% @@ -55,4 +63,6 @@ \thesis@blocks@declaration \thesis@blocks@thanks \thesis@blocks@tables} +\def\thesis@blocks@postamble{% + \thesis@blocks@bibliography} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx index 88c5f9a6557..fbbdad13869 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx @@ -6,7 +6,7 @@ % o/law/ud/predp/smer/S-07-2012.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-law}[2016/03/22] +\ProvidesPackage{fithesis/style/mu/fithesis-law}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -16,6 +16,14 @@ tableOdd={HTML}{F2EBF5}, tableEven={HTML}{E5CCED}} % \end{macrocode} +% The bibliography support is enabled. The |authoryear| citations +% are used and the bibliography is sorted by name, year, and title. +% \begin{macrocode} +\thesis@bibliography@setup{% + style=iso-authoryear, + sorting=nyt} +\thesis@bibliography@load +% \end{macrocode} % The style file configures the cover and title page headers to % include only the faculty name and the department name. % Along with the macros required by the locale file interface, @@ -77,5 +85,6 @@ % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@postamble{% + \thesis@blocks@bibliography \thesis@blocks@assignment} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx index 1174710d2f0..80068611230 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx @@ -7,7 +7,7 @@ % ZITOSTI_ZAVERECNE_PRACE.doc}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-med}[2016/03/22] +\ProvidesPackage{fithesis/style/mu/fithesis-med}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -17,6 +17,14 @@ tableOdd={HTML}{FFF5F6}, tableEven={HTML}{FFDEDF}} % \end{macrocode} +% The bibliography support is enabled. The |authoryear| citations +% are used and the bibliography is sorted by year, name, and title. +% \begin{macrocode} +\thesis@bibliography@setup{% + style=iso-authoryear, + sorting=ynt} +\thesis@bibliography@load +% \end{macrocode} % The file loads the following packages: % \begin{itemize} % \item\textsf{tikz} -- Used for dimension arithmetic. @@ -125,8 +133,8 @@ \onehalfspacing} % \end{macrocode} % \end{macro} -% All blocks within the autolayout postamble that are not defined -% within this file are defined in the +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@preamble{% @@ -144,4 +152,6 @@ \thesis@blocks@declaration \thesis@blocks@thanks \thesis@blocks@tables} +\def\thesis@blocks@postamble{% + \thesis@blocks@bibliography} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx index 86204f51617..de71a5641db 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx @@ -2,11 +2,11 @@ % This is the style file for the theses written at the Faculty of % Education 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://is.muni.cz/^^A -% do/ped/VPAN/pokdek/Pokyn_dekana_c._1-2010__2_.pdf}}. +% of the faculty\footnote{See \url{https://is.muni.cz/auth/do/p^^A +% ed/VPAN/pokdek/Pokyn_dekana_zaverecne_prace_finale__1_.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-ped}[2016/03/22] +\ProvidesPackage{fithesis/style/mu/fithesis-ped}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -16,6 +16,14 @@ tableOdd={HTML}{FFF1E0}, tableEven={HTML}{FFDEB7}} % \end{macrocode} +% The bibliography support is enabled. The |numeric| citations are +% used and the bibliography is sorted by name, title, and year. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-numeric, + sorting=nty} +\thesis@bibliography@load +% \end{macrocode} % The style file configures the title page header to include the % department name and the title page content to include the % advisor's name. @@ -29,9 +37,8 @@ {\thesis@titlePage@large\\[0.3in] {\bf\thesis@@{advisorTitle}:} \thesis@advisor}} % \end{macrocode} -% \end{macro} -% All blocks within the autolayout postamble that are not defined -% within this file are defined in the +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@preamble{% @@ -47,4 +54,6 @@ \thesis@blocks@declaration \thesis@blocks@thanks \thesis@blocks@tables} +\def\thesis@blocks@postamble{% + \thesis@blocks@bibliography} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx index 07413917417..3a23d4204d9 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx @@ -6,7 +6,7 @@ % 1421/4581421/Vzor_bakalarske_prace.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-phil}[2016/03/22] +\ProvidesPackage{fithesis/style/mu/fithesis-phil}[2016/04/18] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -16,6 +16,14 @@ tableOdd={HTML}{EBF6FA}, tableEven={HTML}{D0EBF5}} % \end{macrocode} +% The bibliography support is enabled. The |numeric| citations are +% used and the bibliography is sorted by name, title, and year. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-numeric, + sorting=nty} +\thesis@bibliography@load +% \end{macrocode} % The style file configures the title page header to include the % department and the field name. % \begin{macrocode} @@ -27,7 +35,7 @@ % \begin{itemize} % \item\texttt{kisk} -- The Division of Information and Library % Studies \footnote{See \url{http://kisk.phil.muni.cz/cs/pov^^A -% vinnosti}.} (KISK) +% innosti}.} (KISK) % \begin{macrocode} \def\thesis@departments@kisk{kisk} % \end{macrocode} @@ -61,8 +69,9 @@ \fi}% \fi % \end{macrocode} -% All blocks within the autolayout postamble that are not defined -% within this file are defined in the +% \end{macro} +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the % \texttt{style/mu/fithesis-base.sty} file. % \begin{macrocode} \def\thesis@blocks@preamble{% @@ -93,14 +102,15 @@ \else \thesis@blocks@tables \fi} +\def\thesis@blocks@postamble{% + \ifx\thesis@department\thesis@departments@kisk % \end{macrocode} % In KISK theses, the lists of tables and figures will be included % behind the bibliography rather than at the beginning of the % document. % \begin{macrocode} -\ifx\thesis@department\thesis@departments@kisk - \def\thesis@blocks@postamble{% \thesis@blocks@lot - \thesis@blocks@lof} -\fi + \thesis@blocks@lof + \fi + \thesis@blocks@bibliography} % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx index 8803568843d..2cf808fd63f 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx @@ -6,7 +6,7 @@ % \url{http://www.sci.muni.cz/NW/predpisy/od/OD-2014-05.pdf}}. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2016/03/22] +\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2016/05/15] % \end{macrocode} % The file defines the color scheme of the respective faculty. % \begin{macrocode} @@ -16,6 +16,14 @@ tableOdd={HTML}{EDF7F1}, tableEven={HTML}{CCEDD8}} % \end{macrocode} +% The bibliography support is enabled. The |numeric| citations are +% used and the bibliography is sorted in citation order. +% \begin{macrocode} +\thesis@bibliography@setup{ + style=iso-numeric, + sorting=none} +\thesis@bibliography@load +% \end{macrocode} % The file uses Czech locale strings within the macros. % \begin{macrocode} \thesis@requireLocale{czech} @@ -349,11 +357,11 @@ \end{alwayssingle}} % \end{macrocode} % \end{macro} -% All blocks within the autolayout postamble that are not defined -% within this file are defined in the -% \texttt{style/mu/fithesis-base.sty} file. The -% entire front matter is typeset as though the locale were Czech in -% accordance with the formal requirements of the faculty. +% All blocks within the autolayout preamble and postamble that are +% not defined within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. The entire front matter +% is typeset as though the locale were Czech in accordance with the +% formal requirements of the faculty. % \begin{macrocode} \def\thesis@blocks@preamble{{% \thesis@selectLocale{czech}% @@ -365,9 +373,12 @@ \thesis@blocks@bibEntry \thesis@blocks@bibEntryEn \thesis@blocks@abstract - \thesis@blocks@abstractEn + \thesis@blocks@abstractEn} \thesis@blocks@assignment + {\thesis@selectLocale{czech}% \thesis@blocks@thanks \thesis@blocks@declaration \thesis@blocks@tables}} +\def\thesis@blocks@postamble{% + \thesis@blocks@bibliography} % \end{macrocode} |