| 1 |
% This file is embedded in glossaries-extra-manual.pdf |
| 2 |
% Example 95 Chapter Title or PDF Bookmarks or Heading |
| 3 |
% Label: "ex:titleorpdforheading" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: pdflatex |
| 6 |
\documentclass[12pt]{report} |
| 7 |
\pagestyle{empty} |
| 8 |
\usepackage[T1]{fontenc} |
| 9 |
\usepackage{lipsum} |
| 10 |
\usepackage{hyperref} |
| 11 |
\usepackage{glossaries-extra} |
| 12 |
\pagestyle{headings} |
| 13 |
\begin{document} |
| 14 |
\tableofcontents |
| 15 |
\chapter{\glsxtrtitleorpdforheading{Title1}{PDF1}{Heading1} \glsxtrifinmark{in mark}{not in mark}} |
| 16 |
\lipsum[1-5] |
| 17 |
\chapter{\protect\glsxtrtitleorpdforheading{Title2}{PDF2}{Heading2} |
| 18 |
\protect\glsxtrifinmark{in mark}{not in mark}} |
| 19 |
\lipsum |
| 20 |
\end{document} |