summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xbmks/examples/doc2.tex
blob: 8bc8ebb83370c98ac484b87eb3db86ab0138d361 (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
\documentclass[12pt]{article}
\usepackage{xcolor}
%\usepackage{xr-hyper}
\usepackage[bookmarksopen,bookmarksnumbered]{hyperref}
\usepackage{xbmks}

% just for laughs, we transfer the last section number from doc2
\setcounter{section}{4}


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

\begin{document}

\section{Doc 2: Sec 1}

\belowpdfbookmarkx{Home page}[action={/S/URI/URI(http://www.acrotex.net)},%
  color=magenta,style={bf}]{home}

Some content goes here.

\newpage

\subsection{Doc 2: subSec 1}

Some content goes here.

\section{Doc 2: Sec 2}

\subsection{Doc 2: subSec 1}

Some content goes here.

\newpage

\subsection{Doc 2: subSec 2}

Some content goes here.

\subsection{Doc 2: subSec 3}

Some content goes here.


\end{document}