From 18ebe7a37623361e7cd7544dd591dc246aeab29a Mon Sep 17 00:00:00 2001 From: "Kevin M. Godby" Date: Sun, 20 Dec 2009 01:03:52 +0000 Subject: [PATCH] =?UTF-8?q?*=20Fixed=20a=20bug=20which=20prevented=20the?= =?UTF-8?q?=20use=20of=20\title=20and=20\author=20in=20the=20document=20pr?= =?UTF-8?q?oper.=20=20=20(Thanks=20to=20Uwe=20St=C3=B6hr=20and=20Joachim?= =?UTF-8?q?=20Osnabryg=20for=20reporting=20this=20bug!)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@139 516e2f36-ce3a-0410-bea4-1d4a03f5df72 --- sample-book.pdf | Bin 357607 -> 357607 bytes sample-handout.pdf | Bin 120888 -> 120888 bytes tufte-common.def | 8 ++++++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sample-book.pdf b/sample-book.pdf index 49f682e0d02060aecf3c9144aa4853ae3ec41e70..35229c9daac7d5f8526e00433929bbe2a880199e 100644 GIT binary patch delta 132 zcmaFF7M3ln|1G#I4J{3fjEr>+%qCBa7v-}wG%`dI+OQ&Z`$S9D yZ&uExrj8~?mQH4l25xRfu5NDT&IYE2F6Kt&P8Lq4E|!LN3O0n4Og~k^DhmLG1tm}b delta 132 zcmaFF7M3ln|1G!-4U7y;O-ywS%qCBa7v-}wG%`dI+OQ&Z`$S9D yZ&uDOj!xz-PDW0SrjF*8PDZY#mQJqDCT^}St|rco297Rv3O0n4Og~k^DhmLg=_Vim diff --git a/sample-handout.pdf b/sample-handout.pdf index b6cbef076ff41454401e5ea12cc29336f003e970..c68e37a220ca4e6204544748d28d8d0b7478a128 100644 GIT binary patch delta 111 zcmdn7fqlmY_J%EtUrw=G8d@3{8JbQ1eTq>A#@Q}+nsFD8v$Ly#fs3V~lbN}ZiKDrN glaZUHqpP8*qnoRti<_H~i=BcEAtlqLZ!pRN0C`m(7XSbN delta 111 zcmdn7fqlmY_J%EtUrwA#@Q}+nsFD8v!$_%rK^dPqobRXv6H2l gqm#L*levqtg^{J1nTv~~o1KCUAtlqLZ!pRN0DYGqKL7v# 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]{%