1
0
Fork 0

PDF/A: English version

master
Martin Mares 8 years ago
parent 2f3c6dad6f
commit 264c122533

@ -25,9 +25,10 @@
% \setlength\headheight{0mm}
% \let\openright=\cleardoublepage
%% Vytváříme PDF/A-2u
\usepackage[a-2u]{pdfx}
% Přepneme na českou sazbu
%% Přepneme na českou sazbu a fonty Latin Modern
\usepackage[czech]{babel}
\usepackage{lmodern}
\usepackage[T1]{fontenc}

@ -1,12 +1,14 @@
export TEXINPUTS=../tex//:
all: thesis.pdf
# LaTeX must be run multiple times to get references right
thesis.pdf: thesis.tex $(wildcard *.tex) bibliography.bib
thesis.pdf: thesis.tex $(wildcard *.tex) bibliography.bib thesis.xmpdata
pdflatex $<
bibtex thesis
pdflatex $<
pdflatex $<
clean:
rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg
rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi
rm -f thesis.pdf

@ -25,9 +25,15 @@
% \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
@ -100,12 +106,9 @@ Abstract. \X{Recommended length around 80--200 words. This is not a~copy of your
%% 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}

@ -0,0 +1,7 @@
% Metadata to be stored in PDF, see documentation of the pdfx package for more details.
\Author{Name Surname}
\Title{Thesis title}
\Keywords{keywords\sep more such\sep yet another}
\Subject{Abstract of thesis}
\Publisher{Charles University}

@ -1 +1,3 @@
Do tohoto adresáře můžete uložit další soubory s TeXovými makry.
This directory can be used for further TeX macro files.

Loading…
Cancel
Save