@@ -49,6 +49,23 @@ $endif$
49$if(geometry)$
49$if(geometry)$
50\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
50\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
53+ \usepackage[setpagesize=false, % page size defined by xetex
54+ unicode=false, % unicode breaks when used with xetex
57+ \usepackage[unicode=true]{hyperref}
59+\hypersetup{breaklinks=true,
61+ pdfauthor={$author-meta$},
62+ pdftitle={$title-meta$},
64+ citecolor=$if(citecolor)$$citecolor$$else$blue$endif$,
65+ urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$,
66+ linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$,
68+\urlstyle{same} % don't use monospace font for urls
54 \usepackage{polyglossia}
71 \usepackage{polyglossia}
@@ -95,23 +112,6 @@ $if(graphics)$
95% using explicit options in \includegraphics[width, height, ...]{}
112% using explicit options in \includegraphics[width, height, ...]{}
96\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
113\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
99− \usepackage[setpagesize=false, % page size defined by xetex
100− unicode=false, % unicode breaks when used with xetex
103− \usepackage[unicode=true]{hyperref}
105−\hypersetup{breaklinks=true,
107− pdfauthor={$author-meta$},
108− pdftitle={$title-meta$},
110− citecolor=$if(citecolor)$$citecolor$$else$blue$endif$,
111− urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$,
112− linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$,
114−\urlstyle{same} % don't use monospace font for urls
115$if(links-as-notes)$
115$if(links-as-notes)$
116% Make links footnotes instead of hotlinks:
116% Make links footnotes instead of hotlinks:
117\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
117\renewcommand{\href}[2]{#2\footnote{\url{#1}}}