Add hyperref and gloassaries
This commit is contained in:
parent
a0ea1a3997
commit
3b1807aeed
|
@ -1,7 +1,18 @@
|
|||
\documentclass{class/documentation}
|
||||
\usepackage{blindtext}
|
||||
\def\title{Nheko}
|
||||
\def\author{Marcel Radzio}
|
||||
\def\company{Nheko Team}
|
||||
\def\logoImage{assets/nheko.png}
|
||||
\title{Nheko}
|
||||
\author{Marcel Radzio}
|
||||
\company{Nheko Team}
|
||||
\logoImage{assets/nheko.png}
|
||||
|
||||
\newglossaryentry{community}
|
||||
{
|
||||
name=Community,
|
||||
description={A way to group multiple Matrix Rooms together},
|
||||
first={\glsentrytext{community}},
|
||||
plural={communities},
|
||||
descriptionplural={A way to group multiple Matrix Rooms together},
|
||||
firstplural={\glsentryplural{community}}
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
|
|
@ -29,3 +29,9 @@
|
|||
}
|
||||
|
||||
|
||||
\hypersetup{
|
||||
pdfauthor={\author{}},
|
||||
pdftitle={\title{}},
|
||||
colorlinks=false,
|
||||
hidelinks
|
||||
}
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
\usepackage{graphicx}
|
||||
\usepackage{changepage}
|
||||
\usepackage{nameref}
|
||||
\usepackage{hyperref}
|
||||
|
||||
\usepackage[toc]{glossaries}
|
||||
\makenoidxglossaries
|
||||
|
||||
\newcounter{secautolabel}
|
||||
\AddtoDoHook{heading/endgroup}{\setautolabel}
|
||||
|
|
|
@ -10,20 +10,22 @@
|
|||
|
||||
|
||||
\pagestyle{scrheadings}
|
||||
|
||||
\ohead{\title}
|
||||
%\chead{\chaptertitle}
|
||||
\ihead{\chaptertitle}
|
||||
\AtBeginDocument{
|
||||
\maketitle
|
||||
\clearpage
|
||||
\tableofcontents
|
||||
|
||||
\ohead{\title}
|
||||
%\chead{\chaptertitle}
|
||||
\ihead{\chaptertitle}
|
||||
\clearpage
|
||||
}
|
||||
|
||||
\AtEndDocument{
|
||||
\cleardoublepage
|
||||
\printbibliography
|
||||
\printbibliography[heading=bibintoc]
|
||||
\printnoidxglossaries
|
||||
}
|
||||
|
||||
% biblatex is special as it does some weird things
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
\section{Oh}
|
||||
\Blindtext
|
||||
\section{No}
|
||||
OH NO\cite{foo1999}
|
||||
OH NO \cite{foo1999} so many \glspl{community}!
|
||||
|
|
Loading…
Reference in New Issue