diff options
Diffstat (limited to 'default.latex')
-rw-r--r-- | default.latex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/default.latex b/default.latex index bd9af92e0..989455320 100644 --- a/default.latex +++ b/default.latex @@ -58,7 +58,14 @@ $if(graphics)$ \let\Oldincludegraphics\includegraphics \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} $endif$ -\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} +\ifXeTeX + \usepackage[setpagesize=false, % page size defined by xetex + unicode=false, % unicode breaks when used with xetex + xetex]{hyperref} +\else + \usepackage[unicode=true]{hyperref} +\fi +\hypersetup{breaklinks=true, pdfborder={0 0 0}} $if(strikeout)$ \usepackage[normalem]{ulem} % avoid problems with \sout in headers with hyperref: |