Fix Index

This commit is contained in:
Kim Wittenburg
2017-04-23 23:14:13 +02:00
parent baac9f4d03
commit 4b81252cd6

View File

@@ -26,13 +26,14 @@
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[english]{babel} \usepackage[english]{babel}
\usepackage{hyperref} \usepackage{idxlayout}
\usepackage{hypdoc}
\usepackage{enumitem} \usepackage{enumitem}
\usepackage{lmodern} \usepackage{lmodern}
\EnableCrossrefs
\CodelineIndex \CodelineIndex
\EnableCrossrefs
\RecordChanges \RecordChanges
\begin{document} \begin{document}
\DocInput{uhhassignment.dtx} \DocInput{uhhassignment.dtx}
@@ -41,7 +42,7 @@
% \fi % \fi
% \CheckSum{0} % \CheckSum{409}
% %
% \CharacterTable % \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -62,10 +63,24 @@
% \changes{v1.0}{2017/04/12}{Initial version} % \changes{v1.0}{2017/04/12}{Initial version}
% %
% \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ } % \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ ,\relax}
% \DoNotIndex{\@ne} % \DoNotIndex{\@ne,\newif,\fi,\gdef,\let,\newcommand,\renewcommand,\ifdefempty,
% \DoNotIndex{\advance,\begingroup,\catcode,\closein} % \ifstrempty,\RequirePackage}
% \DoNotIndex{\closeout,\day,\def,\edef,\else,\empty,\endgroup} % \DoNotIndex{\LoadClassWithOptions,\ClassWarning,\DeclareOption,
% \ExecuteOptions,\ProcessOptions}
% \DoNotIndex{\advance,\begingroup,\catcode,\closein,\begin}
% \DoNotIndex{\end,\closeout,\day,\def,\edef,\else,\empty,\endgroup}
% \DoNotIndex{\newcounter,\arabic,\setcounter,\stepcounter}
% \DoNotIndex{\baselineskip,\headheight,\hfill,\par,\parskip,\setlength,\vspace,
% \widthof}
% \DoNotIndex{\bfseries,\Huge,\footnotesize,\LARGE,\Large,\large,\normalfont,
% \raggedright,\raggedleft,\RedeclareSectionCommands,\scriptsize,
% \setkomafont,\sffamily,\textbf,\textnormal,\textsc,\ttfamily,
% \usekomafont}
% \DoNotIndex{\ifoot,\ihead,\cfoot,\clearpairofpagestyles,\newpagestyle,\color,
% \colorbox,\marginpar,\ofoot,\ohead,\pagestyle,\thispagestyle}
% \DoNotIndex{\pagemark,\pageref}
% \DoNotIndex{\protect,\space}
% \title{The \textsf{uhhassignment} document class} % \title{The \textsf{uhhassignment} document class}
% \author{Kim Wittenburg \\ \texttt{5wittenb@informatik.uni-hamburg.de}} % \author{Kim Wittenburg \\ \texttt{5wittenb@informatik.uni-hamburg.de}}
@@ -80,6 +95,9 @@
% Hamburg. % Hamburg.
% \end{abstract} % \end{abstract}
% %
% \addcontentsline{toc}{section}{Change History}
% \PrintChanges
%
% \tableofcontents % \tableofcontents
% %
% \section{Usage} % \section{Usage}
@@ -89,16 +107,17 @@
% Currently the \textsf{uhhassignment} class supports three (or rather six) % Currently the \textsf{uhhassignment} class supports three (or rather six)
% options: % options:
% %
% \DescribeMacro{unnumberedsheets} % \index{unnumberedsheets}
% By default the \textsf{uhhassignment} class expects the assignment sheets to % By default the \textsf{uhhassignment} class expects the assignment sheets to
% be numbered and issues a warning if the |\sheetno| is missing. However if you % be numbered and issues a warning if the |\sheetno| is missing. However if you
% do not want to specify a sheet number you can use the % do not want to specify a sheet number you can use the
% \texttt{unnumberedsheets} class option to suppress the warning. The package % \texttt{unnumberedsheets} class option to suppress the warning. The package
% option also removes any text indicating the sheet number from the output. % option also removes any text indicating the sheet number from the output.
% %
% \index{numberedsheets}
% The opposite option \texttt{numberedsheets} is used by default. % The opposite option \texttt{numberedsheets} is used by default.
% %
% \DescribeMacro{repeatauthor} % \index{repeatauthor}
% You can specify the \texttt{repeatauthor} class option to display a short % You can specify the \texttt{repeatauthor} class option to display a short
% version of the |\author| on each page in the footer (including the first % version of the |\author| on each page in the footer (including the first
% page). The short version of the author is specified with the |\author| command % page). The short version of the author is specified with the |\author| command
@@ -106,12 +125,12 @@
% short author as well. By default the short author will not be displayed at % short author as well. By default the short author will not be displayed at
% all. % all.
% %
% \DescribeMacro{shorttitle} % \index{shorttitle}\index{longtitle}
% You can pass \texttt{shorttitle} class option to display the short university % You can pass \texttt{shorttitle} class option to display the short university
% name and short course name in the title. You could also explicitly pass % name and short course name in the title. You could also explicitly pass
% \texttt{longtitle} which is the default. % \texttt{longtitle} which is the default.
% %
% \DescribeMacro{shortheader} % \index{shortheader}\index{longheader}
% Similarly you cann pass \texttt{shortheader} or \texttt{longheader} to display % Similarly you cann pass \texttt{shortheader} or \texttt{longheader} to display
% the short or regular university and course name in the header on each % the short or regular university and course name in the header on each
% subsequent page. % subsequent page.
@@ -204,17 +223,16 @@
% The |\todo| command does two things: % The |\todo| command does two things:
% \begin{enumerate} % \begin{enumerate}
% \item It puts a todo marker in the text where the |\todo| command is % \item It puts a todo marker in the text where the |\todo| command is
% specified. The todo marker is defined by the |\todomarker| command. % specified. The todo marker is defined by the |\todomark| command.
% \DescribeMacro{\todomarker} % \DescribeMacro{\todomark}
% \item It puts a todo note at the page margin so that you can easily spot % \item It puts a todo note at the page margin so that you can easily spot
% open todos in the PDF. The text of the todo note can be customized using % open todos in the PDF. The text of the todo note can be customized using
% the \meta{todo text} optional argument. % the \meta{todo text} optional argument.
% \end{enumerate} % \end{enumerate}
% %
% \StopEventually{ % \StopEventually{
% \addcontentsline{toc}{section}{Change History} % \addcontentsline{toc}{section}{Index}
% \PrintIndex % \PrintIndex
% \PrintChanges
% } % }
% %
% \section{Implementation} % \section{Implementation}
@@ -295,7 +313,7 @@
\RequirePackage{xcolor} % Colors \RequirePackage{xcolor} % Colors
\RequirePackage{framed} % Colored Boxes \RequirePackage{framed} % Colored Boxes
\RequirePackage[colorlinks,linkcolor=black]{hyperref} % Links and References \RequirePackage[colorlinks,linkcolor=black]{hyperref} % References
\RequirePackage{lmodern} % Better Font \RequirePackage{lmodern} % Better Font
% \end{macrocode} % \end{macrocode}