From bf1c25cb8edb5259d411a571ae1983e91da4dbe0 Mon Sep 17 00:00:00 2001 From: zool Date: Sun, 15 Nov 2015 23:19:24 +0100 Subject: [PATCH 1/2] Set PDF metadata properly. Also, colors. --- template.tex | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/template.tex b/template.tex index ad7fbd1..b0d9154 100644 --- a/template.tex +++ b/template.tex @@ -57,7 +57,18 @@ $endif$ % PDF SETUP %-------------------------------- \usepackage[xetex, bookmarks, colorlinks, breaklinks, pdftitle={$name$'s Vita},pdfauthor={$name$}]{hyperref} -\hypersetup{linkcolor=blue,citecolor=blue,filecolor=black,urlcolor=blue} +\hypersetup +{ + pdfauthor={$author$}, + pdfsubject={$author$'s CV}, + pdftitle={$author$'s CV}, + colorlinks,breaklinks, + filecolor=black, + urlcolor=[rgb]{0.117,0.682,0.858}, + linkcolor=[rgb]{0.117,0.682,0.858}, + linkcolor=[rgb]{0.117,0.682,0.858}, + citecolor=[rgb]{0.117,0.682,0.858} +} % DOCUMENT %-------------------------------- From 7e81691c1b548738f28405bb1cbf747d863a8171 Mon Sep 17 00:00:00 2001 From: zool Date: Sun, 15 Nov 2015 23:23:29 +0100 Subject: [PATCH 2/2] Fix author variable and delete redundant options --- template.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/template.tex b/template.tex index b0d9154..1d9536e 100644 --- a/template.tex +++ b/template.tex @@ -56,13 +56,13 @@ $endif$ % PDF SETUP %-------------------------------- -\usepackage[xetex, bookmarks, colorlinks, breaklinks, pdftitle={$name$'s Vita},pdfauthor={$name$}]{hyperref} +\usepackage{hyperref} \hypersetup { - pdfauthor={$author$}, - pdfsubject={$author$'s CV}, - pdftitle={$author$'s CV}, - colorlinks,breaklinks, + pdfauthor={$name$}, + pdfsubject={$name$'s CV}, + pdftitle={$name$'s CV}, + colorlinks, breaklinks, xetex, bookmarks, filecolor=black, urlcolor=[rgb]{0.117,0.682,0.858}, linkcolor=[rgb]{0.117,0.682,0.858},