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} % \setlength\headheight{0mm}
% \let\openright=\cleardoublepage % \let\openright=\cleardoublepage
%% Vytváříme PDF/A-2u
\usepackage[a-2u]{pdfx} \usepackage[a-2u]{pdfx}
% Přepneme na českou sazbu %% Přepneme na českou sazbu a fonty Latin Modern
\usepackage[czech]{babel} \usepackage[czech]{babel}
\usepackage{lmodern} \usepackage{lmodern}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}

@ -1,12 +1,14 @@
export TEXINPUTS=../tex//:
all: thesis.pdf all: thesis.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.pdf: thesis.tex $(wildcard *.tex) bibliography.bib thesis.xmpdata
pdflatex $< pdflatex $<
bibtex thesis bibtex thesis
pdflatex $< pdflatex $<
pdflatex $< pdflatex $<
clean: 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 rm -f thesis.pdf

@ -25,9 +25,15 @@
% \setlength\headheight{0mm} % \setlength\headheight{0mm}
% \let\openright=\cleardoublepage % \let\openright=\cleardoublepage
%% Generate PDF/A-2u
\usepackage[a-2u]{pdfx}
%% Character encoding: usually latin2, cp1250 or utf8: %% Character encoding: usually latin2, cp1250 or utf8:
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
%% Prefer Latin Modern fonts
\usepackage{lmodern}
%% Further useful packages (included in most LaTeX distributions) %% Further useful packages (included in most LaTeX distributions)
\usepackage{amsmath} % extensions for typesetting of math \usepackage{amsmath} % extensions for typesetting of math
\usepackage{amsfonts} % math fonts \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 %% The hyperref package for clickable links in PDF and also for storing
%% metadata to PDF (including the table of contents). %% 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{breaklinks=true}
\hypersetup{pdftitle={\ThesisTitle}}
\hypersetup{pdfauthor={\ThesisAuthor}}
\hypersetup{pdfkeywords=\Keywords}
\hypersetup{urlcolor=blue}
% Definitions of macros (see description inside) % Definitions of macros (see description inside)
\include{macros} \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. 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