Merge pull request #115 from xoolive/pr-tufte
Deal with conflicts with tufte-handout.cls
This commit is contained in:
commit
cddd99ccb2
1 changed files with 9 additions and 1 deletions
|
@ -53,6 +53,8 @@ $endif$
|
|||
$if(geometry)$
|
||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||
$endif$
|
||||
\makeatletter
|
||||
\@ifpackageloaded{hyperref}{}{%
|
||||
\ifxetex
|
||||
\usepackage[setpagesize=false, % page size defined by xetex
|
||||
unicode=false, % unicode breaks when used with xetex
|
||||
|
@ -60,7 +62,13 @@ $endif$
|
|||
\else
|
||||
\usepackage[unicode=true]{hyperref}
|
||||
\fi
|
||||
\usepackage[usenames,dvipsnames]{color}
|
||||
}
|
||||
\@ifpackageloaded{color}{
|
||||
\PassOptionsToPackage{usenames,dvipsnames}{color}
|
||||
}{%
|
||||
\usepackage[usenames,dvipsnames]{color}
|
||||
}
|
||||
\makeatother
|
||||
\hypersetup{breaklinks=true,
|
||||
bookmarks=true,
|
||||
pdfauthor={$author-meta$},
|
||||
|
|
Loading…
Reference in a new issue