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