summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xbmks/examples/stand-alone.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/xbmks/examples/stand-alone.tex')
-rw-r--r--macros/latex/contrib/xbmks/examples/stand-alone.tex55
1 files changed, 55 insertions, 0 deletions
diff --git a/macros/latex/contrib/xbmks/examples/stand-alone.tex b/macros/latex/contrib/xbmks/examples/stand-alone.tex
new file mode 100644
index 0000000000..9751e99c22
--- /dev/null
+++ b/macros/latex/contrib/xbmks/examples/stand-alone.tex
@@ -0,0 +1,55 @@
+\documentclass[12pt]{article}
+\usepackage{xcolor}
+\usepackage[bookmarksopen]{hyperref}
+\usepackage{xbmks}
+
+\title{Stand alone document}
+\author{D. P. Story}
+
+\xbmksetup{%
+% docbundle={\jobname},
+ colors={int=red,ext},
+ styles={intbf}
+}
+
+\begin{document}
+
+\maketitle
+
+\pdfbookmarkx[1]{http://blog.acrotex.net}[action={/S/URI/URI(http://blog.acrotex.net)},%
+ color=magenta,style={bf}]{blog}
+
+
+\section{Section One}
+
+When the \texttt{docbundle} key is either empty or is not present, \textsf{xbmks} sets its value
+to \verb~\jobname~. No cross-document bookmarks are generated because there is no ``bundle'' specified
+(multiple values for \texttt{docbundle} are needed); instead, we obtain a standard document
+with bookmarks, but the color and style of of the bookmarks are controlled by the \texttt{colors}
+and \texttt{styles} keys, as seen in the preamble.
+
+\subsection{Section One: subSec 1}
+
+Some content goes here.
+
+\newpage
+
+
+\section{Section Two}
+
+Some content goes here.
+
+
+\subsection{Section Two: subSec 1}
+
+Some content goes here.
+
+\newpage
+
+\subsection{Section Two: subSec 2}
+
+Some content goes here.
+
+
+\end{document}
+