summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xbmks/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-06-11 22:22:36 +0000
committerKarl Berry <karl@freefriends.org>2018-06-11 22:22:36 +0000
commitf986f34bcdb3eadcd5c99c415ec92109e2fb423e (patch)
tree75ae09e6b95d3c0c533c374ee9070c7f9a55c890 /Master/texmf-dist/doc/latex/xbmks/examples
parentd250c96cb182d3df2332b196e3a5b040e9fd50ad (diff)
xbmks (11jun18)
git-svn-id: svn://tug.org/texlive/trunk@47991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/xbmks/examples')
-rw-r--r--Master/texmf-dist/doc/latex/xbmks/examples/doc1.pdfbin0 -> 31874 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xbmks/examples/doc1.tex43
-rw-r--r--Master/texmf-dist/doc/latex/xbmks/examples/doc2.pdfbin0 -> 30227 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xbmks/examples/doc2.tex41
-rw-r--r--Master/texmf-dist/doc/latex/xbmks/examples/master.pdfbin0 -> 53092 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xbmks/examples/master.tex57
6 files changed, 141 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xbmks/examples/doc1.pdf b/Master/texmf-dist/doc/latex/xbmks/examples/doc1.pdf
new file mode 100644
index 00000000000..351354a5363
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xbmks/examples/doc1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xbmks/examples/doc1.tex b/Master/texmf-dist/doc/latex/xbmks/examples/doc1.tex
new file mode 100644
index 00000000000..10dda228034
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xbmks/examples/doc1.tex
@@ -0,0 +1,43 @@
+\documentclass{article}
+\usepackage{xcolor}
+\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
+%\usepackage{xr-hyper}
+%\externaldocument[m-]{master}
+%\externaldocument[d2-]{doc2}
+
+
+
+\begin{document}
+
+\section{Doc 1: Sec 1}\label{sec1}
+
+Some content goes here.
+
+\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}
diff --git a/Master/texmf-dist/doc/latex/xbmks/examples/doc2.pdf b/Master/texmf-dist/doc/latex/xbmks/examples/doc2.pdf
new file mode 100644
index 00000000000..494fa06b274
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xbmks/examples/doc2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xbmks/examples/doc2.tex b/Master/texmf-dist/doc/latex/xbmks/examples/doc2.tex
new file mode 100644
index 00000000000..9229cb1473e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xbmks/examples/doc2.tex
@@ -0,0 +1,41 @@
+\documentclass{article}
+\usepackage{xcolor}
+\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
+%\usepackage{xr-hyper}
+%\externaldocument[m-]{master}
+%\externaldocument[d1-]{doc1}
+
+\begin{document}
+
+\section{Doc 2: Sec 1}
+
+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}
diff --git a/Master/texmf-dist/doc/latex/xbmks/examples/master.pdf b/Master/texmf-dist/doc/latex/xbmks/examples/master.pdf
new file mode 100644
index 00000000000..f82fe27dc2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xbmks/examples/master.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xbmks/examples/master.tex b/Master/texmf-dist/doc/latex/xbmks/examples/master.tex
new file mode 100644
index 00000000000..21bd1f47927
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xbmks/examples/master.tex
@@ -0,0 +1,57 @@
+\documentclass{article}
+\usepackage{xcolor}
+\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
+%\usepackage{xr-hyper}
+%\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}
+