Debian Codegraph @

texmf-dist/doc/latex/xbmks/examples/doc2.tex

raw
1 \documentclass[12pt]{article}
2 \usepackage{xcolor}
3 %\usepackage{xr-hyper}
4 \usepackage[bookmarksopen,bookmarksnumbered]{hyperref}
5 \usepackage{xbmks}
6
7 % just for laughs, we transfer the last section number from doc2
8 \setcounter{section}{4}
9
10
11 % the xr-hyper package may also be used if you have
12 % cross document links within the body of the doc
13 %\externaldocument[m-]{master}
14 %\externaldocument[d1-]{doc1}
15
16 \begin{document}
17
18 \section{Doc 2: Sec 1}
19
20 \belowpdfbookmarkx{Home page}[action={/S/URI/URI(http://www.acrotex.net)},%
21 color=magenta,style={bf}]{home}
22
23 Some content goes here.
24
25 \newpage
26
27 \subsection{Doc 2: subSec 1}
28
29 Some content goes here.
30
31 \section{Doc 2: Sec 2}
32
33 \subsection{Doc 2: subSec 1}
34
35 Some content goes here.
36
37 \newpage
38
39 \subsection{Doc 2: subSec 2}
40
41 Some content goes here.
42
43 \subsection{Doc 2: subSec 3}
44
45 Some content goes here.
46
47
48 \end{document}