summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xbmks/examples/doc1.tex
blob: 1c5da0183c2538cfeec795b7a19c4724f289fe89 (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
\documentclass[12pt]{article}
\usepackage{xcolor}
%\usepackage{xr-hyper}
\usepackage[bookmarksopen,bookmarksnumbered]{hyperref}
\usepackage{xbmks}


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

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

\begin{document}

\section{Doc 1: Sec 1}\label{sec1}

Some content goes here.

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


\newpage

\subsection{Doc 1: subSec 1}

Some content goes here.

\newpage

\subsection{Doc 1: subSec 2}

Some content goes here.

\newpage

\section{Doc 1: Sec 2}

Some content goes here.: go to Section~\ref{sec1}

\newpage

\subsection{Doc 1: subSec 1}


\end{document}