summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xbmks/examples/master.tex
blob: 21bd1f479275876d96939a401ae483340e0ed1e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
\documentclass{article}
\usepackage{xcolor}
\usepackage[bookmarksopen]{hyperref}
\usepackage{xbmks}

% the xr-hyper package may also be used if you have
% cross document links within the body of the doc
%\usepackage{xr-hyper}
%\externaldocument[d1-]{doc1}
%\externaldocument[d2-]{doc2}

\title{On merging bookmarks for several documents}
\author{D. P. Story}

% The \xbmksetup command is placed in only 
% one of the collection. It is written to xbmks.cfg
% in input by the other files to obtain uniformity
% of option choices.
\xbmksetup{%
  docbundle={master,doc1,doc2},
%  colors={intdoc=red,extdoc},
  style={intbf}
}

\begin{document}

\maketitle

\section{Master One}

Some content goes here.

\subsection{Master One: subSec 1}

Some content goes here.

\newpage


\section{Master Two}

Some content goes here.


\subsection{Master Two: subSec 1}

Some content goes here.

\newpage

\subsection{Master Two: subSec 2}

Some content goes here.


\end{document}