summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xbmks/examples/doc2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/xbmks/examples/doc2.tex')
-rw-r--r--macros/latex/contrib/xbmks/examples/doc2.tex48
1 files changed, 48 insertions, 0 deletions
diff --git a/macros/latex/contrib/xbmks/examples/doc2.tex b/macros/latex/contrib/xbmks/examples/doc2.tex
new file mode 100644
index 0000000000..8bc8ebb833
--- /dev/null
+++ b/macros/latex/contrib/xbmks/examples/doc2.tex
@@ -0,0 +1,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}