Skip to content
Snippets Groups Projects
Commit 756050d1 authored by Tomáš Nováček's avatar Tomáš Nováček
Browse files

Merge branch 'novacto3/pdf-a' into 'master'

[v1.3.7] Added support for PDF/A compliance

See merge request !32
parents 6ef617f5 810f7009
No related branches found
No related tags found
1 merge request!32[v1.3.7] Added support for PDF/A compliance
Pipeline #454555 passed
...@@ -12,7 +12,7 @@ Recommended template for theses submitted at [Faculty of Information Technology] ...@@ -12,7 +12,7 @@ Recommended template for theses submitted at [Faculty of Information Technology]
   
Version Version
-------- --------
1.3.6, built 5. 7. 2024. The whole changelog can be found in the [Changelog file](changelog.md). 1.3.7, built 5. 7. 2024. The whole changelog can be found in the [Changelog file](changelog.md).
   
   
Bugs and support Bugs and support
......
...@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. ...@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
   
## [1.3.7] - 5. 7. 2024
The generated PDF now complies to the PDF/A-1B standard.
### Added
- Added support code for PDF/A generation.
# [1.3.6] - 5. 7. 2024 # [1.3.6] - 5. 7. 2024
   
Improved the example text. Improved the example text.
......
...@@ -66,6 +66,8 @@ ...@@ -66,6 +66,8 @@
   
% main declarations, loading files % main declarations, loading files
\LoadClass[a4paper,11pt]{book}[2020/04/10] \LoadClass[a4paper,11pt]{book}[2020/04/10]
\RequirePackage{xcolor}[2023/11/15]
\RequirePackage[a-1b]{pdfx} % PDF/A-1b compliance
\RequirePackage{babel}[2021/03/03] \RequirePackage{babel}[2021/03/03]
\if@twoside \if@twoside
\RequirePackage[top=4.6cm,bottom=4cm,footskip=4em,inner=4.7cm,outer=3.25cm]{geometry}[2020/01/02] %page layout \RequirePackage[top=4.6cm,bottom=4cm,footskip=4em,inner=4.7cm,outer=3.25cm]{geometry}[2020/01/02] %page layout
...@@ -73,7 +75,6 @@ ...@@ -73,7 +75,6 @@
\RequirePackage[left=3.95cm,right=4.0cm,top=4.6cm,bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout \RequirePackage[left=3.95cm,right=4.0cm,top=4.6cm,bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout
\fi \fi
\RequirePackage{setspace}[2011/12/19] %line spacing in title page \RequirePackage{setspace}[2011/12/19] %line spacing in title page
\RequirePackage{xcolor}[2016/05/11]
\RequirePackage[labelsep=space,singlelinecheck=false,font={up,small},labelfont={sf,bf}]{caption}[2020/05/30] \RequirePackage[labelsep=space,singlelinecheck=false,font={up,small},labelfont={sf,bf}]{caption}[2020/05/30]
\RequirePackage{fancyhdr}[2019/01/31] \RequirePackage{fancyhdr}[2019/01/31]
\RequirePackage{multicol}[2019/12/09] % summary page \RequirePackage{multicol}[2019/12/09] % summary page
...@@ -96,6 +97,8 @@ ...@@ -96,6 +97,8 @@
\fi \fi
% colours end % colours end
   
\RequirePackage{hyperref}[2020/05/15]
\DeclareRobustCommand{\ctufittitle}[1]{ \DeclareRobustCommand{\ctufittitle}[1]{
\def\thectufittitle{#1} \def\thectufittitle{#1}
\title{#1} \title{#1}
...@@ -210,9 +213,6 @@ ...@@ -210,9 +213,6 @@
% IMPRINT END % IMPRINT END
   
% captions settings % captions settings
\@ifpackagelater{hyperref}{2009/12/09}
{\captionsetup{compatibility=false}}%cf. http://groups.google.de/group/comp.text.tex/browse_thread/thread/db9310eb540fbbd8/42e30f3b7b3aa17a?lnk=raot
{}
\DeclareCaptionLabelFormat{boxed}{%0.61,0.61,0.61 \DeclareCaptionLabelFormat{boxed}{%0.61,0.61,0.61
\kern0.05em{\color{decoration}\rule{0.73em}{0.73em}}% \kern0.05em{\color{decoration}\rule{0.73em}{0.73em}}%
\hspace*{0.67em}\bothIfFirst{#1}{~}#2} \hspace*{0.67em}\bothIfFirst{#1}{~}#2}
......
%% This is the ctufit-thesis example file. It is used to produce theses %% This is the ctufit-thesis example file. It is used to produce theses
%% for submission to Czech Technical University, Faculty of Information Technology. %% for submission to Czech Technical University, Faculty of Information Technology.
%% %%
%% This is version 1.3.6, built 5. 7. 2024. %% This is version 1.3.7, built 5. 7. 2024.
%% %%
%% Get the newest version from %% Get the newest version from
%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX %% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
...@@ -75,7 +75,12 @@ ...@@ -75,7 +75,12 @@
\fi \fi
   
% hyperlinks % hyperlinks
\RequirePackage[pdfpagelayout=TwoPageRight,colorlinks=false,allcolors=decoration,pdfborder={0 0 0.1}]{hyperref}[2020-05-15] \hypersetup{
pdfpagelayout=TwoPageRight,
colorlinks=false,
allcolors=decoration,
pdfborder={0 0 0.1}
}
   
% uncomment the following to hide all hyperlinks % uncomment the following to hide all hyperlinks
%\hypersetup{hidelinks} %\hypersetup{hidelinks}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment