blob: 1b0806a3ad6705af8b729de1532cf2b3437a62f3 (
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[12pt]{article}
\usepackage{xcolor}
%\usepackage{xr-hyper}
\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
%\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}
|