From: W. Trevor King Date: Thu, 11 Mar 2010 12:29:57 +0000 (-0500) Subject: Fixed \if@final handling and bumped to v0.6 X-Git-Tag: 0.6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c314baa65ea84a7976e1c7f7a4ec4c3fc226b4ef;p=drexel-thesis.git Fixed \if@final handling and bumped to v0.6 --- diff --git a/drexel-thesis.dtx b/drexel-thesis.dtx index 622105c..26679d4 100644 --- a/drexel-thesis.dtx +++ b/drexel-thesis.dtx @@ -1,8 +1,8 @@ -% \def\fileversion{0.5} -% \def\filedate{2010/03/03} +% \def\fileversion{0.6} +% \def\filedate{2010/03/11} % \iffalse meta-comment -%\def\fileversion{0.5} -%\def\filedate{2010/03/03} +%\def\fileversion{0.6} +%\def\filedate{2010/03/11} % % Copyright (C) 2010 C.Y. Ip % Christopher D. Cera @@ -137,6 +137,9 @@ % label's parent chapter.} % \changes{0.5}{2010/03/03}{W.~Trevor King use hypcap for better % caption hyperlink anchor placement.} +% \changes{0.6}{2010/03/11}{W.~Trevor King fixed +% $\backslash$if\@ final handling. Previous versions used +% it more like a hypothetical $\backslash$if\@ finalspace.} % % \MakeShortVerb{\|} % \newcommand{\pkg}[1]{\textsf{#1}} @@ -650,7 +653,7 @@ \newif\if@draftwatermark \newif\if@mydraftwatermark \newif\if@indentfirst -\newif\if@final \@finalfalse +\newif\if@final % \end{macrocode} % % \begin{option}{subfig} @@ -668,7 +671,6 @@ \def\@ssp{1} % single space \def\@dsp{2} % double space \def\@tsp{3} % triple space - \@finaltrue } % \end{macrocode} % \end{option} @@ -684,7 +686,6 @@ % Don't force chapters onto right-hand pages. % \begin{macrocode} \PassOptionsToClass{openany}{book} - \@finalfalse } % \end{macrocode} % \end{option} @@ -775,6 +776,7 @@ % \begin{option}{final} % \begin{macrocode} \DeclareOptionX{final}{ + \@finaltrue \setkeys{drexel-thesis.cls}{oneside} \setkeys{drexel-thesis.cls}{finalspace} \setkeys{drexel-thesis.cls}{dottedtoc} @@ -785,6 +787,7 @@ % \begin{option}{draft} % \begin{macrocode} \DeclareOptionX{draft}{ + \@finalfalse \setkeys{drexel-thesis.cls}{twoside} \setkeys{drexel-thesis.cls}{draftspace} \setkeys{drexel-thesis.cls}{dottedtoc}