Debian Codegraph @

texmf-dist/doc/latex/xbmks/examples/stand-alone.tex

raw
1 \documentclass[12pt]{article}
2 \usepackage{xcolor}
3 \usepackage[bookmarksopen]{hyperref}
4 \usepackage{xbmks}
5
6 \title{Stand alone document}
7 \author{D. P. Story}
8
9 \xbmksetup{%
10 % docbundle={\jobname},
11 colors={int=red,ext},
12 styles={intbf}
13 }
14
15 \begin{document}
16
17 \maketitle
18
19 \pdfbookmarkx[1]{http://blog.acrotex.net}[action={/S/URI/URI(http://blog.acrotex.net)},%
20 color=magenta,style={bf}]{blog}
21
22
23 \section{Section One}
24
25 When the \texttt{docbundle} key is either empty or is not present, \textsf{xbmks} sets its value
26 to \verb~\jobname~. No cross-document bookmarks are generated because there is no ``bundle'' specified
27 (multiple values for \texttt{docbundle} are needed); instead, we obtain a standard document
28 with bookmarks, but the color and style of of the bookmarks are controlled by the \texttt{colors}
29 and \texttt{styles} keys, as seen in the preamble.
30
31 \subsection{Section One: subSec 1}
32
33 Some content goes here.
34
35 \newpage
36
37
38 \section{Section Two}
39
40 Some content goes here.
41
42
43 \subsection{Section Two: subSec 1}
44
45 Some content goes here.
46
47 \newpage
48
49 \subsection{Section Two: subSec 2}
50
51 Some content goes here.
52
53
54 \end{document}
55