Merge pull request #115 from xoolive/pr-tufte

Deal with conflicts with tufte-handout.cls
This commit is contained in:
John MacFarlane 2015-10-04 21:42:43 -07:00
commit cddd99ccb2

View file

@ -53,6 +53,8 @@ $endif$
$if(geometry)$ $if(geometry)$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$ $endif$
\makeatletter
\@ifpackageloaded{hyperref}{}{%
\ifxetex \ifxetex
\usepackage[setpagesize=false, % page size defined by xetex \usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex unicode=false, % unicode breaks when used with xetex
@ -60,7 +62,13 @@ $endif$
\else \else
\usepackage[unicode=true]{hyperref} \usepackage[unicode=true]{hyperref}
\fi \fi
}
\@ifpackageloaded{color}{
\PassOptionsToPackage{usenames,dvipsnames}{color}
}{%
\usepackage[usenames,dvipsnames]{color} \usepackage[usenames,dvipsnames]{color}
}
\makeatother
\hypersetup{breaklinks=true, \hypersetup{breaklinks=true,
bookmarks=true, bookmarks=true,
pdfauthor={$author-meta$}, pdfauthor={$author-meta$},