summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-18 00:06:30 +0000
committerKarl Berry <karl@freefriends.org>2010-06-18 00:06:30 +0000
commit1cd867ef11ec5a4a1a5e94fefa0d17de9b630e65 (patch)
tree4e172150908a03d500ff09770a022cbd142a10df /Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls
parent1ce3ee2ff28a4ec21ca5ac6e1bafaa73930f5265 (diff)
ryethesis 1.1 (17jun10)
git-svn-id: svn://tug.org/texlive/trunk@19022 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls22
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls b/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls
index 728851e0033..008fe0f6912 100644
--- a/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls
+++ b/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls
@@ -22,8 +22,9 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ryethesis}
- [2009/09/30 v1.0 Ryerson University thesis class definition]
+ [2010/06/18 v1.1 Ryerson University thesis class definition]
+\RequirePackage{xcolor}
\RequirePackage{ifthen}
\RequirePackage{fancyhdr}
\RequirePackage{setspace}
@@ -271,9 +272,9 @@
\vfill%\vspace{\baselineskip}
{\@author}\\
{\ifx\empty\ryethesis@prevDegreeA\else{\ryethesis@prevDegreeA, \ryethesis@prevLocationA, \ryethesis@prevYearA}\\\fi}
- {\ifx\empty\ryethesis@prevDegreeB\else{\ryethesis@prevDegreeB, \ryethesis@prevLocationA, \ryethesis@prevYearB}\\\fi}
- {\ifx\empty\ryethesis@prevDegreeC\else{\ryethesis@prevDegreeC, \ryethesis@prevLocationA, \ryethesis@prevYearC}\\\fi}
- {\ifx\empty\ryethesis@prevDegreeD\else{\ryethesis@prevDegreeD, \ryethesis@prevLocationA, \ryethesis@prevYearD}\\\fi}
+ {\ifx\empty\ryethesis@prevDegreeB\else{\ryethesis@prevDegreeB, \ryethesis@prevLocationB, \ryethesis@prevYearB}\\\fi}
+ {\ifx\empty\ryethesis@prevDegreeC\else{\ryethesis@prevDegreeC, \ryethesis@prevLocationC, \ryethesis@prevYearC}\\\fi}
+ {\ifx\empty\ryethesis@prevDegreeD\else{\ryethesis@prevDegreeD, \ryethesis@prevLocationD, \ryethesis@prevYearD}\\\fi}
\vfill%\vspace{3\baselineskip}
{A \ryethesis@documentType}\\
{presented to Ryerson University}\\
@@ -401,12 +402,12 @@ Ryerson University{\ifx\empty\ryethesis@partnerUniv\else{ and \ryethesis@partner
\ifthenelse{\boolean{@ryelistofappendices}}
{
\newcommand{\nohyphens}{\hyphenpenalty=10000\exhyphenpenalty=10000\relax}
-\newcommand{\listofappendices}{\chapter*{List of Appendices}\ryethesis@starttoc{toa}}
+\newcommand{\listofappendices}{\chapter*{List of Appendices}\@starttoc{toa}}
}
{}
\newcommand{\ryethesis@insertloa}{%
-\ifthenelse{\boolean{@ryelistofappendices}}{\ifx\empty\ryethesis@theappendices\else\listofappendices\clearemptydoublepage\fi}{}
+\ifthenelse{\boolean{@ryelistofappendices}}{\listofappendices\clearemptydoublepage}{}
}
\renewcommand{\appendix}[1]{\ifx\empty#1\else\gdef\ryethesis@theappendices{#1}\fi}
@@ -430,7 +431,10 @@ Ryerson University{\ifx\empty\ryethesis@partnerUniv\else{ and \ryethesis@partner
\clearemptydoublepage
}\fi
}
-\ifthenelse{\boolean{@ryeglossary}}{\RequirePackage{glossaries}\makeglossaries}{}
+\ifthenelse{\boolean{@ryeglossary}}{\RequirePackage{glossaries}\makeglossaries%
+ %Glossaries prints a confusing warning
+ \global\let\warn@noprintglossary\relax
+}{}
\ifthenelse{\boolean{@ryeindex}}{\RequirePackage{makeidx}\makeindex}{}
@@ -450,7 +454,9 @@ Ryerson University{\ifx\empty\ryethesis@partnerUniv\else{ and \ryethesis@partner
\newcommand{\ryethesis@insertglossary}{%
\ifthenelse{\boolean{@ryeglossary}}
-{\printglossaries\addcontentsline{toc}{chapter}{Glossary}\clearemptydoublepage}
+{\printglossaries%glossaries.sty prints a false warning.
+\global\let\warn@noprintglossary\relax%
+\addcontentsline{toc}{chapter}{Glossary}\clearemptydoublepage}
{}
}