summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex')
-rw-r--r--Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex
new file mode 100644
index 00000000000..f2328b2a0bc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex
@@ -0,0 +1,28 @@
+% This file is public domain.
+%
+% This example document demonstrates the testidx package
+% with hyperref.sty makeindex. You can build this document using:
+%
+% pdflatex sample-idx-hyp
+% makeindex sample-idx-hyp.idx
+% pdflatex sample-idx-hyp
+%
+% If you are using arara, the directives are:
+%
+% arara: pdflatex
+% arara: makeindex
+% arara: pdflatex
+\documentclass{article}
+
+\usepackage{makeidx}
+\usepackage{testidx}
+\usepackage[hidelinks]{hyperref}
+
+\makeindex
+
+\begin{document}
+\testidx
+
+\printindex
+\end{document}
+