summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/crossreference
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
commit007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch)
tree90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/crossreference
parent950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff)
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/crossreference')
-rw-r--r--Master/texmf-dist/doc/latex/crossreference/README38
-rw-r--r--Master/texmf-dist/doc/latex/crossreference/xrefexample.tex54
2 files changed, 92 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/crossreference/README b/Master/texmf-dist/doc/latex/crossreference/README
new file mode 100644
index 00000000000..8686863cc88
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/crossreference/README
@@ -0,0 +1,38 @@
+Crossreferencing for technical documents.
+
+Copyright 2001 Vincent Filby (vfilby@acm.org), all rights reserved.
+
+This program may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.2
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
+
+UNPACKING
+ To unpack the dtx archive use the installation batch file.
+
+ latex crossreference.ins
+
+ This will generate crossreference.sty, crossreference.drv and
+ xrefexample.tex.
+
+FILES
+ crossreference.sty - The packge to use
+ crossreference.drv - The documentation driver
+ xrefexample.tex - Example of how to use the package.
+
+PACKAGE DOCUMENTATION
+ To generate the package documentation run latex on the
+ crossreference.dtx file:
+
+ latex crossreference.dtx
+
+ or run latex on the generated driver file:
+
+ latex crossreference.drv
+
+ This will generate the file crossreference.dvi which contains
+ the documentation.
diff --git a/Master/texmf-dist/doc/latex/crossreference/xrefexample.tex b/Master/texmf-dist/doc/latex/crossreference/xrefexample.tex
new file mode 100644
index 00000000000..54ea437bec1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/crossreference/xrefexample.tex
@@ -0,0 +1,54 @@
+%%
+%% This is file `xrefexample.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% crossreference.dtx (with options: `example')
+%%
+%% Crossreferencing for technical documents.
+%%
+%% Copyright 2001 Vincent Filby (vfilby@acm.org), all rights reserved.
+%%
+%% This program may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.2
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% This program consists of the files; crossreference.dtx, crossreference.ins
+%% and README.
+%%
+\def\fileversion{1.0}
+\def\filedate{2001/05/19}
+\def\docdate{2001/05/19}
+\documentclass{article}
+
+\usepackage{crossreference}
+
+\begin{document}
+
+\section{Animals}
+\addxref{Animals}
+Animals can eat other animals\xref{Animals} or plants\xref{Plants}.
+
+\section{Plants}
+\addxref{Plants}
+Plants are mostly green and are eaten by Animals\xref{Animals}.
+
+\section{Books and Writings}
+\addxref{Books and Writings}
+Books and writings are general not read by animals\xref{Animals} or plants\xref{Plants}.
+
+\section{Humans}
+Humans can read books and writings\xref{Books and Writings}.
+\newpage
+\section{Cross-References}
+\crossreferences
+
+\end{document}
+\endinput
+%%
+%% End of file `xrefexample.tex'.