diff --git a/sample-book.pdf b/sample-book.pdf index 49f682e..35229c9 100644 Binary files a/sample-book.pdf and b/sample-book.pdf differ diff --git a/sample-handout.pdf b/sample-handout.pdf index b6cbef0..c68e37a 100644 Binary files a/sample-handout.pdf and b/sample-handout.pdf differ diff --git a/tufte-common.def b/tufte-common.def index f71cc52..16e8db9 100644 --- a/tufte-common.def +++ b/tufte-common.def @@ -556,7 +556,9 @@ \ifthenelse{\isempty{#1}}% {\renewcommand{\plaintitle}{\thanklesstitle}}% use thankless title {\renewcommand{\plaintitle}{#1}}% use provided plain-text title - \@ifpackageloaded{hyperref}{\hypersetup{pdftitle={\plaintitle}}}{}% set the PDF metadata title + \ifthenelse{\isundefined{\hypersetup}} + {}% hyperref isn't loaded; do nothing + {\hypersetup{pdftitle={\plaintitle}}}% set the PDF metadata title } \def\@author{}% default author is empty (suppresses LaTeX's ``no author'' warning) @@ -570,7 +572,9 @@ \ifthenelse{\isempty{#1}} {\renewcommand{\plainauthor}{\thanklessauthor}}% use thankless author {\renewcommand{\plainauthor}{#1}}% use provided plain-text author - \@ifpackageloaded{hyperref}{\hypersetup{pdfauthor={\plainauthor}}}{}% set the PDF metadata author + \ifthenelse{\isundefined{\hypersetup}} + {}% hyperref isn't loaded; do nothing + {\hypersetup{pdfauthor={\plainauthor}}}% set the PDF metadata author } \renewcommand*{\date}[1]{%