1
0
Fork 0

Reorganise the repo to allow extracting the hardcover page

master
LEdoian 1 year ago
parent 86e754b972
commit 9e55e6de29

@ -1,6 +1,6 @@
export TEXINPUTS=../tex//: export TEXINPUTS=../tex//:
all: always_build thesis.pdf abstract.pdf verapdf_report.xml all: always_build thesis.pdf abstract.pdf verapdf_report.xml hardcover.pdf
# LaTeX must be run multiple times to get references right # LaTeX must be run multiple times to get references right
thesis.pdf: thesis.tex $(wildcard *.tex) bibliography.bib thesis.xmpdata thesis.pdf: thesis.tex $(wildcard *.tex) bibliography.bib thesis.xmpdata
@ -14,9 +14,13 @@ abstract.pdf: abstract.tex abstract.xmpdata always_build
touch always_build touch always_build
pdflatex $< pdflatex $<
hardcover.pdf: hardcover.tex abstract.xmpdata always_build
touch always_build
pdflatex $<
verapdf_report.xml: thesis.pdf abstract.pdf verapdf_profile_UK7987v1c8.xml always_build verapdf_report.xml: thesis.pdf abstract.pdf verapdf_profile_UK7987v1c8.xml always_build
touch always_build touch always_build
verapdf --profile verapdf_profile_UK7987v1c8.xml thesis.pdf abstract.pdf > $@ verapdf --profile verapdf_profile_UK7987v1c8.xml thesis.pdf abstract.pdf > $@ || true
./verapdf_summary.py ./verapdf_summary.py
clean: clean:

@ -80,7 +80,7 @@ Also, we find the interface of Topolograph impractical to use in Firefox 116.0b2
\X{table} \X{table}
\subsection{Goals of Birdvisu} \section{Goals of Birdvisu}
\begin{itemize} \begin{itemize}
\item\X{TODO} \item\X{TODO}

@ -0,0 +1,27 @@
\input{header}
\begin{document}
\pagestyle{empty}
\hypersetup{pageanchor=false}
\begin{center}
\large
Charles University
\medskip
Faculty of Mathematics and Physics
\vfill
{\huge\bf BACHELOR THESIS}
\vfill
\hbox to \hsize{\YearSubmitted\hfil \ThesisAuthor}
\end{center}
\newpage\openright
\end{document}

@ -0,0 +1,106 @@
\documentclass[12pt,a4paper]{report}
\setlength\textwidth{145mm}
\setlength\textheight{247mm}
\setlength\oddsidemargin{15mm}
\setlength\evensidemargin{15mm}
\setlength\topmargin{0mm}
\setlength\headsep{0mm}
\setlength\headheight{0mm}
% \openright makes the following text appear on a right-hand page
\let\openright=\clearpage
%% Settings for two-sided (duplex) printing
% \documentclass[12pt,a4paper,twoside,openright]{report}
% \setlength\textwidth{145mm}
% \setlength\textheight{247mm}
% \setlength\oddsidemargin{14.2mm}
% \setlength\evensidemargin{0mm}
% \setlength\topmargin{0mm}
% \setlength\headsep{0mm}
% \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
\usepackage{amsthm} % theorems, definitions, etc.
\usepackage{bbding} % various symbols (squares, asterisks, scissors, ...)
\usepackage{bm} % boldface symbols (\bm)
\usepackage{graphicx} % embedding of pictures
\usepackage{fancyvrb} % improved verbatim environment
\usepackage{natbib} % citation style AUTHOR (YEAR), or AUTHOR [NUMBER]
\usepackage[nottoc]{tocbibind} % makes sure that bibliography and the lists
% of figures/tables are included in the table
% of contents
\usepackage{dcolumn} % improved alignment of table columns
\usepackage{booktabs} % improved horizontal lines in tables
\usepackage{paralist} % improved enumerate and itemize
\usepackage{xcolor} % typesetting in color
\usepackage{csquotes}
\usepackage{subcaption}
\def\X#1{\textcolor{red}{[#1]}}
\def\XXX#1{\par\smallskip\noindent \textcolor{red}{[#1]}}
%%% Basic information on the thesis
% Thesis title in English (exactly as in the formal assignment)
\def\ThesisTitle{Visualizing OSPF topology}
% Author of the thesis
\def\ThesisAuthor{Pavel Turinský}
% Year when the thesis is submitted
\def\YearSubmitted{2023}
% Name of the department or institute, where the work was officially assigned
% (according to the Organizational Structure of MFF UK in English,
% or a full name of a department outside MFF)
\def\Department{Department of Applied Mathematics}
% Is it a department (katedra), or an institute (ústav)?
\def\DeptType{Department}
% Thesis supervisor: name, surname and titles
\def\Supervisor{Mgr. Martin Mareš, Ph.D.}
% Supervisor's department (again according to Organizational structure of MFF)
\def\SupervisorsDepartment{Department of Applied Mathematics}
% Study programme and specialization
\def\StudyProgramme{Computer Science}
\def\StudyBranch{General Computer Science}
% An optional dedication: you can thank whomever you wish (your supervisor,
% consultant, a person who lent the software, etc.)
\def\Dedication{%
Dedication.
}
% Abstract (recommended length around 80-200 words; this is not a copy of your thesis assignment!)
\def\Abstract{%
Abstract. \X{Recommended length around 80--200 words. This is not a~copy of your thesis assignment!}
}
% 3 to 5 keywords (recommended), each enclosed in curly braces
\def\Keywords{%
{key} {words} \X{usually 3 to~5 key words or phrases}
}
%% The hyperref package for clickable links in PDF and also for storing
%% metadata to PDF (including the table of contents).
%% Most settings are pre-set by the pdfx package.
\hypersetup{unicode}
\hypersetup{breaklinks=true}
% Definitions of macros (see description inside)
\input{macros}

@ -1,119 +1,4 @@
%%% The main file. It contains definitions of basic parameters and includes all other parts. \input{header}
%% Settings for single-side (simplex) printing
% Margins: left 40mm, right 25mm, top and bottom 25mm
% (but beware, LaTeX adds 1in implicitly)
\documentclass[12pt,a4paper]{report}
\setlength\textwidth{145mm}
\setlength\textheight{247mm}
\setlength\oddsidemargin{15mm}
\setlength\evensidemargin{15mm}
\setlength\topmargin{0mm}
\setlength\headsep{0mm}
\setlength\headheight{0mm}
% \openright makes the following text appear on a right-hand page
\let\openright=\clearpage
%% Settings for two-sided (duplex) printing
% \documentclass[12pt,a4paper,twoside,openright]{report}
% \setlength\textwidth{145mm}
% \setlength\textheight{247mm}
% \setlength\oddsidemargin{14.2mm}
% \setlength\evensidemargin{0mm}
% \setlength\topmargin{0mm}
% \setlength\headsep{0mm}
% \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
\usepackage{amsthm} % theorems, definitions, etc.
\usepackage{bbding} % various symbols (squares, asterisks, scissors, ...)
\usepackage{bm} % boldface symbols (\bm)
\usepackage{graphicx} % embedding of pictures
\usepackage{fancyvrb} % improved verbatim environment
\usepackage{natbib} % citation style AUTHOR (YEAR), or AUTHOR [NUMBER]
\usepackage[nottoc]{tocbibind} % makes sure that bibliography and the lists
% of figures/tables are included in the table
% of contents
\usepackage{dcolumn} % improved alignment of table columns
\usepackage{booktabs} % improved horizontal lines in tables
\usepackage{paralist} % improved enumerate and itemize
\usepackage{xcolor} % typesetting in color
\usepackage{csquotes}
\usepackage{subcaption}
%% SPECIMEN
% Parts marked as SPECIMEN are used for building the example PDF.
% When the official template is generated by ./mkdist, all such parts
% are deleted, as well as all calls of \X and \XXX macros.
\def\X#1{\textcolor{red}{[#1]}}
\def\XXX#1{\par\smallskip\noindent \textcolor{red}{[#1]}}
%% NEMICEPS
%%% Basic information on the thesis
% Thesis title in English (exactly as in the formal assignment)
\def\ThesisTitle{Visualizing OSPF topology}
% Author of the thesis
\def\ThesisAuthor{Pavel Turinský}
% Year when the thesis is submitted
\def\YearSubmitted{2023}
% Name of the department or institute, where the work was officially assigned
% (according to the Organizational Structure of MFF UK in English,
% or a full name of a department outside MFF)
\def\Department{Department of Applied Mathematics}
% Is it a department (katedra), or an institute (ústav)?
\def\DeptType{Department}
% Thesis supervisor: name, surname and titles
\def\Supervisor{Mgr. Martin Mareš, Ph.D.}
% Supervisor's department (again according to Organizational structure of MFF)
\def\SupervisorsDepartment{Department of Applied Mathematics}
% Study programme and specialization
\def\StudyProgramme{Computer Science}
\def\StudyBranch{General Computer Science}
% An optional dedication: you can thank whomever you wish (your supervisor,
% consultant, a person who lent the software, etc.)
\def\Dedication{%
Dedication.
}
% Abstract (recommended length around 80-200 words; this is not a copy of your thesis assignment!)
\def\Abstract{%
Abstract. \X{Recommended length around 80--200 words. This is not a~copy of your thesis assignment!}
}
% 3 to 5 keywords (recommended), each enclosed in curly braces
\def\Keywords{%
{key} {words} \X{usually 3 to~5 key words or phrases}
}
%% The hyperref package for clickable links in PDF and also for storing
%% metadata to PDF (including the table of contents).
%% Most settings are pre-set by the pdfx package.
\hypersetup{unicode}
\hypersetup{breaklinks=true}
% Definitions of macros (see description inside)
\include{macros}
% Title page and various mandatory informational pages % Title page and various mandatory informational pages
\begin{document} \begin{document}
@ -135,31 +20,10 @@ Abstract. \X{Recommended length around 80--200 words. This is not a~copy of your
\include{glossary} \include{glossary}
%% %%% Figures used in the thesis (consider if this is needed)
%% \listoffigures
%%
%% %%% Tables used in the thesis (consider if this is needed)
%% %%% In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.
%% \listoftables
%% \XXX{In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.}
%%% Abbreviations used in the thesis, if any, including their explanation
%%% In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.
\chapwithtoc{List of Abbreviations} \chapwithtoc{List of Abbreviations}
\XXX{In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.} \XXX{In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.}
\XXX{TODO} \XXX{TODO}
%%% 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.
%%%
%%% 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. 72/2017.
\appendix \appendix
\chapter{Attachments} \chapter{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{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.}

@ -1,34 +1,4 @@
%%% Title page of the thesis and other mandatory pages \openright %?
%%% SPECIMEN
%%% Inscriptions at the opening page of the hard cover
\pagestyle{empty}
\hypersetup{pageanchor=false}
\XXX{Opening page of the hard cover. Not a part of the electronic version.}
\begin{center}
\large
Charles University
\medskip
Faculty of Mathematics and Physics
\vfill
{\huge\bf BACHELOR THESIS}
\vfill
\hbox to \hsize{\YearSubmitted\hfil \ThesisAuthor}
\end{center}
\newpage\openright
%%% NEMICEPS
%%% Title page of the thesis %%% Title page of the thesis
\pagestyle{empty} \pagestyle{empty}
@ -67,19 +37,13 @@ Study branch:&\StudyBranch \cr
\vfill \vfill
% Zde doplňte rok
Prague \YearSubmitted Prague \YearSubmitted
\end{center} \end{center}
\newpage \newpage
%%% NOPHD
%%% Here should be a bound sheet included -- a signed copy of the "bachelor
%%% thesis assignment". This assignment is NOT a part of the electronic
%%% version of the thesis. DO NOT SCAN.
\XXX{Bound into the introductory part must be the form with signed approval of the thesis topic (a photocopy suffices). This is not a~part of the electronic version of the thesis, do not scan!} \XXX{Bound into the introductory part must be the form with signed approval of the thesis topic (a photocopy suffices). This is not a~part of the electronic version of the thesis, do not scan!}
%%% PHDNO
%%% A page with a solemn declaration to the bachelor thesis %%% A page with a solemn declaration to the bachelor thesis

Loading…
Cancel
Save