diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/hyperref/test/test8.tex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hyperref/test/test8.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/hyperref/test/test8.tex | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hyperref/test/test8.tex b/Master/texmf-dist/doc/latex/hyperref/test/test8.tex new file mode 100644 index 00000000000..25a2d3dbfb8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/hyperref/test/test8.tex @@ -0,0 +1,41 @@ +% Test file from Stephan Haller <stk@snafu.de> that shows how +% bookmark open levels can vary during the document. + +\documentclass{article} + +\usepackage{times} + +\def\OpMode{1} % fake vtex + +\usepackage{hyperref} + +\begin{document} + +\section{I'm closed (default)} +\subsection{x} + +\hypersetup{bookmarksopen=true} + +\section{I'm open,} +\subsection{and so} +\subsection{are my} +\subsubsection{children} + +\hypersetup{bookmarksopen=false} + +\section{I'm closed,} + +\hypersetup{bookmarksopen=true} + +\subsection{but my} +\subsubsection{children} +\subsection{are} +\subsubsection{open} + +\hypersetup{bookmarksopenlevel=2} + +\section{level is two now} +\subsection{so this is closed} +\subsubsection{y} + +\end{document} |