diff --git a/lectures/lecturecommon.sty b/lectures/lecturecommon.sty index cf8cb8f..8655ca1 100644 --- a/lectures/lecturecommon.sty +++ b/lectures/lecturecommon.sty @@ -1,4 +1,4 @@ -\def\filedate{4 October 2018} +\def\filedate{31 May 2019} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Common definitions shared across the various lecture document classes. @@ -17,11 +17,12 @@ % v1.2.3 Switched XeLaTeX fonts to new University standard (Minion Pro + Open Sans). % v1.2.4 Fixed "class number plus one" so that it can be passed as a number to other macros. % v1.2.5 Disabled Mapping=tex-text for mono font to eliminate automatic curly quotes. +% v1.2.6 Enabled unicode option for hyperref when using Xe(La)TeX. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] -\ProvidesPackage{lecturecommon}[2018/10/04 INFO standard lecture setup v1.2.5] +\ProvidesPackage{lecturecommon}[2019/05/31 INFO standard lecture setup v1.2.6] % Standard packages common to ALL lecture documents. @@ -79,7 +80,12 @@ \RequirePackage{boxedminipage} \RequirePackage{graphicx} + +\ifxetex +\RequirePackage[unicode]{hyperref} +\else \RequirePackage{hyperref} +\fi \hypersetup{pdfpagemode=UseNone}