Go to file
2020-07-29 21:51:14 +02:00
build new build again 2020-06-04 13:26:25 +02:00
docker dockerfile 2020-06-22 12:51:31 +02:00
img add the all-uk variant, use TeX conditionals correctly 2020-05-11 18:43:16 +02:00
.gitignore v1 2020-05-10 19:57:36 +02:00
abstract-cz.tex improve generated abstracts, add a few biblatex hints 2020-07-29 21:51:14 +02:00
abstract-cz.xmpdata v1 2020-05-10 19:57:36 +02:00
abstract-en.tex improve generated abstracts, add a few biblatex hints 2020-07-29 21:51:14 +02:00
abstract-en.xmpdata v1 2020-05-10 19:57:36 +02:00
bibliography.tex v1 2020-05-10 19:57:36 +02:00
ch1.tex wording fix 2020-06-04 11:32:21 +02:00
ch2.tex omg typo 2020-05-28 23:24:46 +02:00
ch3.tex use \sloppy to prevent the overflow 2020-06-04 13:25:07 +02:00
conclusion.tex improve generated abstracts, add a few biblatex hints 2020-07-29 21:51:14 +02:00
howto.tex more c++ 2020-05-10 20:10:26 +02:00
intro.tex v1 2020-05-10 19:57:36 +02:00
macros.tex improve fonts 2020-05-11 21:43:55 +02:00
Makefile update makefile, add some comments on biblatex 2020-06-22 12:33:06 +02:00
metadata.tex improve generated abstracts, add a few biblatex hints 2020-07-29 21:51:14 +02:00
pdfa.sh PDF/A additions 2020-05-10 22:54:11 +02:00
README.md describe the docker installation 2020-06-22 13:07:06 +02:00
refs.bib extra hints 2020-05-12 20:54:17 +02:00
thesis.tex improve generated abstracts, add a few biblatex hints 2020-07-29 21:51:14 +02:00
thesis.xmpdata v1 2020-05-10 19:57:36 +02:00
title.tex improve generated abstracts, add a few biblatex hints 2020-07-29 21:51:14 +02:00
todos.tex forgotten file 2020-05-10 20:03:23 +02:00

A slightly improved thesis template

What's new:

  • modern packages (biblatex, cleveref, better fonts)
  • less confusing directory structure
  • slightly more useful examples (figures, diagrams, tables, code listings), structure hints, some goodies
  • autobuilding of abstract PDF/A from metadata
  • university-wide variants of the front page (nature faculty&bioinformatics!)
  • Czech localization with nicely named references

See the pre-built version for details

How-to

  1. Type make, check that everything compiles. You should get a thesis.pdf that passes the PDF/A validation. If not, complain.
  2. Fill in metadata.tex and all xmpdata files.
  3. Look at the example code (there are several hints), remember it, erase it.
  4. Write the thesis.
  5. Submit and defend the thesis.

Installing LaTeX

LaTeX installation may be hard (especially on various substandard operating systems). On most BSD and GNU-style Linux distributions, it should be sufficient to install some random texlive-* packages (and add more if non-standard TeX functionality is required); see e.g. a complete list for Debian.

Optionally, you can use a Docker container with TeX. You can either build the image yourself from the supplied Dockerfile:

cd docker
docker build -t exaexa/latex .

...or get a pre-built copy (which is usually much faster: image size )

docker pull exaexa/latex

After that, you should be able to compile the thesis using (roughly) this command:

docker run -u $UID -ti --rm -v $PWD:/th -w /th exaexa/latex make

PDF/A

With a bit of luck, you should get a valid PDF/A right out of LaTeX.

A PDF/A validator that can point out exact problems is available here: https://github.com/mff-cuni-cz/cuni-thesis-validator

Common PDF/A problems include:

Solutions:

  • use pdfa.sh to convert PDFs to PDF/A-compatible form the "hard way" (although this does not retain the PDF/A metadata mark, see comments in the script).
  • read the commentary by Martin Mareš (that describes most of the common problems) here: https://mj.ucw.cz/vyuka/bc/pdfaq.html
  • use pdfa.sh as a last resort for thesis.pdf if everything other fails

Ideas/improvements/more examples?

Pull requests welcome.

License?

Parts of the code (esp. the title page) are based on the original template (available from the faculty website) by Martin Mareš, Arnošt Komárek, and Michal Kulich. (Thanks!)

University and faculty logos are a property of the respective universities and faculties.

Everything else in this repository is released into the public domain, not encumbered by any kind of copyright at all.