summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fithesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-06 23:02:55 +0000
committerKarl Berry <karl@freefriends.org>2016-06-06 23:02:55 +0000
commit6257b52105585a7cdd3a20b33339c06c9ac4cb86 (patch)
tree52ab292ff62b1c51b9b60112fdd16b5ea67d8aa5 /Master/texmf-dist/source/latex/fithesis
parent014c6b54a7b6e4171f80da6ce77c6f11ae8a1a75 (diff)
fithesis (6jun16)
git-svn-id: svn://tug.org/texlive/trunk@41303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis')
-rw-r--r--Master/texmf-dist/source/latex/fithesis/fithesis.dtx42
-rw-r--r--Master/texmf-dist/source/latex/fithesis/locale/czech.dtx40
-rw-r--r--Master/texmf-dist/source/latex/fithesis/locale/english.dtx41
-rw-r--r--Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx41
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx122
-rw-r--r--Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx7
6 files changed, 210 insertions, 83 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx
index da915e5f875..7a82aced31f 100644
--- a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx
@@ -56,48 +56,63 @@
\gdef\thesis@version@number{#1}
\gdef\thesis@version@date{#2}
\gdef\thesis@version{#2 #1 fithesis3 MU thesis class}}
-\thesis@versiondef{v0.3.38}{2016/05/15}}
+\thesis@versiondef{v0.3.40}{2016/06/06}}
% {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
+% \changes{v0.3.40} {2016/06/06}{Fixed \cs{thesis@pages} not
+% working properly when the \texttt{autoLayout} key is set to
+% \texttt{false}. Added a section on the \textsf{markdown}
+% package to the example documents of the Masaryk University in
+% Brno. Added the \cs{ifthesis@blocks@assignment@hideIfDigital@}
+% conditional to the \texttt{style/mu/fithesis-base.sty} style
+% file. [VN]}
+% \changes{v0.3.39:2}{2016/05/26}{The \texttt{assignment} key no
+% longer affects the page numbers and takes into account the
+% \texttt{digital} and \texttt{printed} class options in the
+% style files of the Masaryk University in Brno. [VN]}
+% \changes{v0.3.39:1}{2016/05/26}{The
+% \cs{thesis@blocks@bibliography} now uses an emergency stretch
+% of 3\,em in the style files of the Masaryk University in Brno.
+% [VN]}
% \changes{v0.3.38:2}{2016/05/15}{Fixed \cs{thesis@pages} not
-% taking \cs{thesis@preamble} into account. Fixed the chapter
+% taking \cs{thesis@postamble} 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.}
+% University in Brno. [VN]}
% \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.}
+% style files of the Masaryk University in Brno. [VN]}
% \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
% longer results in a \textsf{hyperref}-related error in the
-% style files of the Masaryk University in Brno.}
+% style files of the Masaryk University in Brno. [VN]}
% \changes{v0.3.36} {2016/03/26}{The \cs{thesis@load} macro has
-% been lifted to the public API as \cs{thesisload}.}
+% been lifted to the public API as \cs{thesisload}. [VN]}
% \changes{v0.3.35:3}{2016/03/23}{Fixed \cs{l@}\textit{locale}
-% being possibly undefined in a LuaLaTeX run.}
+% being possibly undefined in a LuaLaTeX run. [VN]}
% \changes{v0.3.35:2}{2016/03/22}{Added support for seminar papers
% on the \textsf{fithesis3} class level. The style files for the
% faculties of the Masaryk University in Brno do not provide any
-% special handling of this thesis type yet.}
+% special handling of this thesis type yet. [VN]}
% \changes{v0.3.35:1}{2016/03/22}{Added support for the Division of
% Information and Library Studies of the Faculty of Arts at the
% Masaryk University in Brno. This support is enabled by
-% specifying \cs{thesis@department} to be \texttt{kisk}.}
+% specifying \cs{thesis@department} to be \texttt{kisk}. [VN]}
% \changes{v0.3.34} {2016/02/24}{Added visual tests of output
% PDFs. The \texttt{test/} directory is now also uses the
% \textit{university}\texttt{/}\textit{faculty} path scheme
-% employed by the rest of the package.}
-% \changes{v0.3.33} {2016/02/19}{Added \cs{thesis@patch}.}
+% employed by the rest of the package. [VN]}
+% \changes{v0.3.33} {2016/02/19}{Added \cs{thesis@patch}. [VN]}
% \changes{v0.3.32} {2016/02/18}{Fixed a regression from
% v0.3.27:2 -- The margins in \cs{thesis@blocks@mainMatter} were
% corrected in the style files of the Faculty of Economics and
% Administration and the Faculty of Medicine at the Masaryk
-% University in Brno.}
+% University in Brno. [VN]}
% \changes{v0.3.31:3}{2016/01/13}{The
% \texttt{style/mu/fithesis-sci.sty} style file redefines
% \cs{thesis@blocks}\texttt{\discretionary{@}{@}{@}declaration}
@@ -1377,6 +1392,9 @@
\AtEndDocument{%
\thesis@postamble
\write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}}
+ \else
+ \AtEndDocument{%
+ \write\@auxout{\noexpand\gdef\noexpand\thesis@pages{\thepage}}}
\fi
\makeatother
\fi}
diff --git a/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx b/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx
index ff39c373c4c..bd67af3ecd7 100644
--- a/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx
@@ -2,7 +2,7 @@
% This is the base file of the Czech locale.\iffalse
%<*base>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/fithesis-czech.def}[2016/03/22]
+\ProvidesFile{fithesis/locale/fithesis-czech.def}[2016/05/25]
% \end{macrocode}
% The locale file defines all the private macros mandated by the
% locale file interface.
@@ -25,8 +25,14 @@
% Zástupné texty
\gdef\thesis@czech@universityName{Název univerzity}
\gdef\thesis@czech@facultyName{Název fakulty}
-\gdef\thesis@czech@assignment{Místo tohoto listu vložte kopii
- oficiálního podepsaného zadání práce.}
+\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.
+ \else
+ Místo tohoto listu vložte kopii oficiálního podepsaného zadání
+ práce.
+ \fi}
\gdef\thesis@czech@declaration{Text prohlášení ...}
% Časové údaje
@@ -148,14 +154,19 @@
% \iffalse
%<*mu/fss>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/mu/fss/fithesis-czech.def}[2015/06/26]
+\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{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.}
+\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
%</mu/fss>
@@ -205,13 +216,18 @@
% \iffalse
%<*mu/fi>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2015/06/26]
+\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2016/05/25]
% Zástupné texty
\gdef\thesis@czech@facultyName{Fakulta informatiky}
-\gdef\thesis@czech@assignment{Místo tohoto listu
- vložte kopie oficiálního podepsaného zadání práce a
- prohlášení autora školního díla.}
+\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%
diff --git a/Master/texmf-dist/source/latex/fithesis/locale/english.dtx b/Master/texmf-dist/source/latex/fithesis/locale/english.dtx
index 96ce9bdd6c6..703b34db837 100644
--- a/Master/texmf-dist/source/latex/fithesis/locale/english.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/locale/english.dtx
@@ -2,7 +2,7 @@
% This is the base file of the English locale.\iffalse
%<*base>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/fithesis-english.def}[2016/03/22]
+\ProvidesFile{fithesis/locale/fithesis-english.def}[2016/05/25]
% \end{macrocode}
% The locale file defines all the private macros mandated by the
% locale file interface.
@@ -11,8 +11,14 @@
% Placeholders
\gdef\thesis@english@universityName{University name}
\gdef\thesis@english@facultyName{Faculty name}
-\gdef\thesis@english@assignment{Replace this page with a copy
- of the official signed thesis assignment.}
+\gdef\thesis@english@assignment{%
+ \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}
\gdef\thesis@english@declaration{Declaration text ...}
% Csquotes style
@@ -114,14 +120,20 @@
% \iffalse
%<*mu/fss>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/mu/fss/fithesis-english.def}[2015/06/26]
+\ProvidesFile{fithesis/locale/mu/fss/fithesis-english.def}[2016/05/25]
% Placeholders
\gdef\thesis@english@facultyName{Faculty of Social Studies}
-\gdef\thesis@english@assignment{Replace this page with a copy
- of the official signed thesis assignment or the copy of the
- Statement of an Author or both, depending on the requirements of
- the respective department.}
+\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
%</mu/fss>
% \fi\file{locale/mu/econ/fithesis-english.def}
@@ -172,13 +184,22 @@
% \iffalse
%<*mu/fi>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2015/06/26]
+\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 the copy of the
+ 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
diff --git a/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx b/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx
index 8fc9056f053..32c5f67f6e1 100644
--- a/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx
@@ -2,7 +2,7 @@
% This is the base file of the Slovak locale.\iffalse
%<*base>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/fithesis-slovak.def}[2016/03/22]
+\ProvidesFile{fithesis/locale/fithesis-slovak.def}[2016/05/25]
% \end{macrocode}
% The locale file defines all the private macros mandated by the
% locale file interface.
@@ -25,8 +25,14 @@
% Zástupné texty
\gdef\thesis@slovak@universityName{Názov univerzity}
\gdef\thesis@slovak@facultyName{Názov fakulty}
-\gdef\thesis@slovak@assignment{Namiesto tejto stránky vložte kópiu
- oficiálneho podpísaného zadania práce.}
+\gdef\thesis@slovak@assignment{%
+ \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}
\gdef\thesis@slovak@declaration{Text prehlásenie ...}
% Časové údaje
@@ -148,14 +154,20 @@
% \iffalse
%<*mu/fss>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/mu/fss/fithesis-slovak.def}[2015/06/26]
+\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{Namiesto tejto stránky vložte kópiu
- oficiálneho podpísaného zadania práce alebo prehlásenie autora
- školského diela alebo obidve~v závislosti na požiadavkách
- príslušnej katedry.}
+\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 prehlá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 prehlásenie autora školského diela alebo
+ obidve~v závislosti na požiadavkách príslušnej katedry.
+ \fi}
% \end{macrocode}\iffalse
%</mu/fss>
% \fi\file{locale/mu/econ/fithesis-slovak.def}
@@ -206,13 +218,18 @@
% \iffalse
%<*mu/fi>
% \fi\begin{macrocode}
-\ProvidesFile{fithesis/locale/mu/fi/fithesis-slovak.def}[2015/06/26]
+\ProvidesFile{fithesis/locale/mu/fi/fithesis-slovak.def}[2016/05/25]
% Zástupné texty
\gdef\thesis@slovak@facultyName{Fakulta informatiky}
-\gdef\thesis@slovak@assignment{Namiesto tejto stránky vložte kópiu
- oficiálneho podpísaného zadania práce a prehlásenie autora
- školského diela.}
+\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 prehlásenie autora školského diela.
+ \else
+ Namiesto tejto stránky vložte kópiu oficiálneho podpísaného
+ zadania práce a prehlásenie autora školského diela.
+ \fi}
\gdef\thesis@slovak@declaration{%
Prehlasujem, že táto \thesis@lower{slovak@typeName} je mojím
pôvodným autorským dielom, ktoré som vypracoval%
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 a5526be5fe8..08b7f3352f2 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/18]
+\ProvidesPackage{fithesis/style/mu/fithesis-base}[2016/06/06]
\NeedsTeXFormat{LaTeX2e}
% \end{macrocode}
% The file recognizes the following options: \begin{itemize}
@@ -150,10 +150,18 @@
% \end{macrocode}
% \item\texttt{digital}, \texttt{printed} -- These macrooptions
% set the options that are appropriate for either the printed or
-% for the digital version of the document, respectively.
+% for the digital version of the document, respectively. The
+% \DescribeMacro{\ifthesis@digital@}|\ifthesis@digital@|
+% conditional is set to \texttt{true} or \texttt{false},
+% respectively.
% \begin{macrocode}
-\DeclareOption{digital}{\ExecuteOptions{color,cover}}
-\DeclareOption{printed}{\ExecuteOptions{monochrome,nocover}}
+\newif\ifthesis@digital@
+\DeclareOption{digital}{%
+ \ExecuteOptions{color,cover}%
+ \thesis@digital@true}
+\DeclareOption{printed}{%
+ \ExecuteOptions{monochrome,nocover}%
+ \thesis@digital@false}
% \end{macrocode}
% \end{itemize}
% These are the default options:
@@ -889,52 +897,93 @@
\end{alwayssingle}}%
\fi}
% \end{macrocode}
+% \end{macro}\begin{macro}{\thesis@rewind}
+% The |\thesis@rewind| macro rewinds the page numbers by either one
+% or two pages, depending on whether one-side or two-side
+% typesetting is enabled, respectively.
+% \begin{macrocode}
+\def\thesis@rewind{%
+ \addtocounter{page}{-\ifthesis@twoside@2\else1\fi}}
+% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@assignment}
-% The |\thesis@blocks@assignment| macro either:
-% \begin{itemize}
-% \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@assignmentFiles|
-% is undefined and the |\ifthesis@blocks|\discretionary{}{}^^A
-% {}|@assignment@| conditional is \texttt{true}.
-% \item Injects the PDF file(s) specified within the
-% |\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
-% nment@}|\ifthesis@blocks@assignment@| conditional is
+% The |\thesis@blocks@assignment| macro produces a different output
+% depending on the values of the |\thesis@assignmentFiles|.
+% |\ifthesis@blocks@assignment@|,
+% |\ifthesis@blocks@assignment@hideIfDigital@|, and
+% |\ifthesis@digital| macros.
+%
+% The default value of the
+% \DescribeMacro{\ifthesis@blocks@assignment@}^^A
+% |\ifthesis@blocks@assignment@| and
+% \DescribeMacro{\ifthesis@blocks@assignment@hideIfDigital}^^A
+% |\ifthesis@blocks@assignment@hideIfDigital@| conditionals is
% \texttt{true}.
% \begin{macrocode}
\newif\ifthesis@blocks@assignment@
\thesis@blocks@assignment@true
+\newif\ifthesis@blocks@assignment@hideIfDigital@
+\thesis@blocks@assignment@hideIfDigital@true
\def\thesis@blocks@assignment{%
+% \end{macrocode}
+% If the |\ifthesis@blocks@assignment@| conditional is
+% \textsf{true} and the |\thesis@assignmentFiles| macro is
+% undefined, then typeset a placeholder page.
+% \begin{macrocode}
\ifthesis@blocks@assignment@
\ifx\thesis@assignmentFiles\undefined
- % Typeset a placeholder page.
+ % Rewind the pages and typeset a placeholder page.
\thesis@blocks@clear
\begin{alwayssingle}%
- \thispagestyle{empty}%
- \addtocounter{page}{-\ifthesis@twoside@2\else1\fi}%
+ \thispagestyle{empty}\thesis@rewind
\noindent\textit{\thesis@@{assignment}}%
\end{alwayssingle}%
\else
+% \end{macrocode}
+% Locally define \DescribeMacro{\@inject}|\@inject| as our routine
+% for injecting lists of PDF documents.
+% \begin{macrocode}
{\edef\@pdfList{\thesis@assignmentFiles}%
+ \let\ea\expandafter
+ % Injects the specified PDF documents.
+ \def\@inject##1,{\thesis@blocks@clear
+ \def\@args{##1}\def\@relax{\relax}%
+ \ifx\@args\@relax\else
+ % Trim leading spaces.
+ \edef\@trimmed{\romannumeral-`\.##1}%
+ % Rewind the pages and include the PDF.
+ \thesis@rewind\includepdf[pages=-]\@trimmed
+ \ea\@inject\fi}%
+% \end{macrocode}
+% If the |\ifthesis@blocks@assignment@| conditional is
+% \textsf{true} and the |\thesis@assignmentFiles| macro is neither
+% undefined nor empty, then typeset a placeholder page, if the
+% |\ifthesis@digital@| conditional is \textsf{true} and the
+% |\ifthesis@blocks@assignmane@hideIfDigital@| conditional is
+% \textsf{true}
+% \begin{macrocode}
\ifx\@pdfList\empty\else
- \let\ea\expandafter
- % Inject the specified PDF documents.
- \def\@inject##1,{\thesis@blocks@clear
- \def\@args{##1}\def\@relax{\relax}%
- \ifx\@args\@relax\else
- % Trim leading spaces.
- \edef\@trimmed{\romannumeral-`\.##1}%
- \includepdf[pages=-]\@trimmed
- \ea\@inject\fi}%
- \ea\@inject\@pdfList,\relax,%
+ \ifthesis@digital@
+ \ifthesis@blocks@assignment@hideIfDigital@
+ \thesis@blocks@clear
+ \begin{alwayssingle}%
+ \thispagestyle{empty}\thesis@rewind
+ \noindent\textit{\thesis@@{assignment}}%
+ \end{alwayssingle}%
+% \end{macrocode}
+% If the |\ifthesis@blocks@assignment@| conditional is
+% \textsf{true} and the |\thesis@assignmentFiles| macro is neither
+% undefined nor empty, then inject the PDF documents specified in
+% the |\thesis@assignmentFiles|, if the |\ifthesis@digital@|
+% conditional is \textsf{false} or the
+% |\ifthesis@blocks@assignment@hideIfDigital@| conditional is
+% \textsf{false}.
+% \begin{macrocode}
+ \else
+ \ea\@inject\@pdfList,\relax,%
+ \fi
+ \else
+ \ea\@inject\@pdfList,\relax,%
+ \fi
\fi}%
\fi
\fi}
@@ -980,7 +1029,8 @@
\ifthesis@bibliography@loaded@
\ifthesis@bibliography@included@\else
\thesis@blocks@clear
- \printbibliography[heading=bibintoc]%
+ {\emergencystretch=3em%
+ \printbibliography[heading=bibintoc]}%
\fi
\fi}
% \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 2cf808fd63f..e0bbdbe4b88 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/05/15]
+\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2016/06/06]
% \end{macrocode}
% The file defines the color scheme of the respective faculty.
% \begin{macrocode}
@@ -46,6 +46,11 @@
\thesis@blocks@assignment@false
\fi\fi
% \end{macrocode}
+% Enable the inclusion of the scanned assignment inside the digital
+% version of the document.
+% \begin{macrocode}
+\thesis@blocks@assignment@hideIfDigital@false
+% \end{macrocode}
% \begin{macro}{\thesis@blocks@bibEntry}
% The |\thesis@blocks@bibEntry| macro typesets a
% bibliographical entry. Along with the macros required by the