Code: Select all
Introduction
+Part 1
First section in part One
Second section in part One
+Part 2
First section in part Two
Second section in part Two
Glossary
A Appendix 1
B Appendix 1
Code: Select all
Introduction
+Part 1
First section in part One
Second section in part One
+Part 2
First section in part Two
Second section in part Two
Glossary
A Appendix 1
B Appendix 1
Code: Select all
\documentclass[]{article}
\usepackage[]{hyperref}
\usepackage[]{glossaries}
\begin{document}
\section*{Introduction}
\part{One}
\section{First section in part One}
\section{Second section in part One}
\part{Two}
\section{First section in part Two}
\section{Second section in part Two}
\part*{} %phantom part to (unsuccessfully) take the following out of part two
\printglossary
\appendix
\section{Appendix 1}
\section{Appendix 2}