% \setlength\headheight{0mm}
% \let\openright=\cleardoublepage
+%% Generate PDF/A-2u
+\usepackage[a-2u]{pdfx}
+
%% Character encoding: usually latin2, cp1250 or utf8:
\usepackage[utf8]{inputenc}
+%% Prefer Latin Modern fonts
+\usepackage{lmodern}
+
%% Further useful packages (included in most LaTeX distributions)
\usepackage{amsmath} % extensions for typesetting of math
\usepackage{amsfonts} % math fonts
%% The hyperref package for clickable links in PDF and also for storing
%% metadata to PDF (including the table of contents).
-\usepackage[pdftex,unicode]{hyperref} % Must follow all other packages
+%% Most settings are pre-set by the pdfx package.
+\hypersetup{unicode}
\hypersetup{breaklinks=true}
-\hypersetup{pdftitle={\ThesisTitle}}
-\hypersetup{pdfauthor={\ThesisAuthor}}
-\hypersetup{pdfkeywords=\Keywords}
-\hypersetup{urlcolor=blue}
% Definitions of macros (see description inside)
\include{macros}
%%% which will likely be used in an electronic form rather than read (program
%%% source code, data files, interactive charts, etc.). Electronic attachments
%%% should be uploaded to SIS and optionally also included in the thesis on a~CD/DVD.
+%%% Allowed file formats are specified in provision of the rector no. 23/2016.
\chapwithtoc{Attachments}
\XXX{Attachments to the bachelor thesis, if any. Each attachment must be referred to at least once from the text of the thesis. Attachments are numbered.}
-\XXX{The printed version should preferably contain attachments, which can be read (additional tables and charts, supplementary text, examples of program output, etc.). The electronic version is more suited for attachments which will likely be used in an electronic form rather than read (program source code, data files, interactive charts, etc.). Electronic attachments should be uploaded to SIS and optionally also included in the thesis on a~CD/DVD.}
+\XXX{The printed version should preferably contain attachments, which can be read (additional tables and charts, supplementary text, examples of program output, etc.). The electronic version is more suited for attachments which will likely be used in an electronic form rather than read (program source code, data files, interactive charts, etc.). Electronic attachments should be uploaded to SIS and optionally also included in the thesis on a~CD/DVD. Allowed file formats are specified in provision of the rector no. 23/2016.}
\openright
\end{document}