summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/msu-thesis/README2
-rw-r--r--Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdfbin205836 -> 205864 bytes
-rw-r--r--Master/texmf-dist/doc/msu-thesis/msu-thesis.tex4
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdfbin70450 -> 73149 bytes
-rw-r--r--Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex1
-rw-r--r--Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls18
6 files changed, 21 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/README b/Master/texmf-dist/doc/latex/msu-thesis/README
index cfd3bffd0fb..e50550da450 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/README
+++ b/Master/texmf-dist/doc/latex/msu-thesis/README
@@ -1,4 +1,4 @@
-MSU Thesis Class Version 2.0 2011/08/25
+MSU Thesis Class Version 2.1 2011/09/20
Copyright 2011 by Alan Munn <amunn@msu.edu>
diff --git a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
index d415b00998f..d2473591806 100644
--- a/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
+++ b/Master/texmf-dist/doc/latex/msu-thesis/msu-thesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/msu-thesis/msu-thesis.tex b/Master/texmf-dist/doc/msu-thesis/msu-thesis.tex
index 4b206732a02..52d1dbd605b 100644
--- a/Master/texmf-dist/doc/msu-thesis/msu-thesis.tex
+++ b/Master/texmf-dist/doc/msu-thesis/msu-thesis.tex
@@ -1,7 +1,7 @@
\documentclass[11pt]{article}
\title{\textbf{Using the MSU Thesis Class}}
\author{\textbf{Alan Munn}\\Department of Linguistics and Languages\\\texttt{\href{mailto:amunn@msu.edu}{amunn@msu.edu}}}
-\date{Version 2.0\\August 25, 2011}
+\date{Version 2.1\\September 20, 2011}
\usepackage[T1]{fontenc}
\usepackage[margin=1.25in]{geometry}
\usepackage{titling}
@@ -203,7 +203,7 @@ The latest copy of \pkg{msu-thesis} will always be available here \url{http://ww
\subsection{Version history}
Previous versions of \pkg{msuthesis} (versions 1.0--1.4b) were created for non-electronic submission and should not be used. Versions 1.5--1.6 (the first electronic submission versions) contained a |\makeabstract| command and a separate |msuabstract| environment. These have been removed as of version 1.7. Users who are upgrading from earlier versions to version 1.7 do not need to change these commands however but their use will trigger a warning.)
\section{Acknowledgements}
-Thanks to Lars Masden, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0-1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, and Leo Liu for the landscape page numbering code, which greatly simplified my original version. Thanks also to Matt Husband, Irina Agafonova, and Dmitriy Bryndin for reporting problems during initial testing.
+Thanks to Lars Masden, Ulrike Fischer and Peter Wilson for help with setting up parts of the memoir code for versions 1.0-1.4 (now eliminated due to changed requirements). Thanks to Wolfgang Sternefeld for supplying the \pkg{linguex} spacing fix code, Leo Liu for the landscape page numbering code, which greatly simplified my original version, and Florent Chervet for the hyperref code. Thanks also to Matt Husband, Irina Agafonova, and Dmitriy Bryndin for reporting problems during initial testing.
\appendix
\renewcommand{\thesection}{Appendix \Alph{section}}
diff --git a/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf
index 07e3edf1457..e5ec7108e23 100644
--- a/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex
index 40760c13e2a..f533a4ff59e 100644
--- a/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex
+++ b/Master/texmf-dist/doc/msu-thesis/samples/MSU-thesis-testfile.tex
@@ -20,6 +20,7 @@
\usepackage{cgloss}
\usepackage{natbib}
+
\counterwithin{exx}{chapter}
\bibliographystyle{unified}
\singlegloss
diff --git a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
index fbc484b36eb..eed974cf8bc 100644
--- a/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
+++ b/Master/texmf-dist/tex/latex/msu-thesis/msu-thesis.cls
@@ -76,11 +76,13 @@
% if they don't need it. Compatible also with pdflscape
% for those using pdflatex; fixed problem with some long
% TOC entries
+% Version 2.1 2011/09/04 Added code to make the class compatible with hyperref
+% This is experimental, and mainly useful for drafts.
% Use at your own risk!
% Report bugs/problems/questions to <amunn@msu.edu>
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{msu-thesis}[2011/08/24 Michigan State University Thesis Class version 2.0]
+\ProvidesClass{msu-thesis}[2011/08/24 Michigan State University Thesis Class version 2.1]
\newif\ifmsu@lscape\msu@lscapefalse
\DeclareOption{PhD}{\gdef\@degree{DOCTOR OF PHILOSOPHY}\gdef\@diss{DISSERTATION}}
\DeclareOption{MA}{\gdef\@degree{MASTER OF ARTS}\gdef\@diss{THESIS}}
@@ -296,4 +298,18 @@
\bfseries\MakeUppercase{\bibname}
\end{center}}
+% the following code allows hyperref to be used. It is not guaranteed to
+% work, and the thesis office presumably doesn't allow hyperlinks.
+% If the thesis office permits them, then I may try to support this more.
+% Thanks to Florent Chervet for the code.
+\AtBeginDocument{\@ifpackageloaded{hyperref}%
+{\def\MakeLinkUppercase \hyper@linkstart #1#2#3\hyper@linkend
+ {\hyper@linkstart {#1}{#2}{\MakeUppercase{#3}}\hyper@linkend }
+\pdfstringdefDisableCommands{\let\MakeUppercase \@firstofone }
+\renewcommand*{\l@chapter}[2]{%
+ \l@chapapp{\MakeLinkUppercase #1}{#2}{\cftchaptername}} % Format chapter names
+\renewcommand*{\l@appendix}[2]{%
+ \l@chapapp{\MakeLinkUppercase #1}{#2}{\cftappendixname}}} % Format appendix names
+% if no hyperref
+{\relax}}
\endinput \ No newline at end of file