summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hyper/scontrib
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-07 17:03:54 +0000
committerKarl Berry <karl@freefriends.org>2010-03-07 17:03:54 +0000
commit499ad42b864ca45a40902239d8373c545598ee59 (patch)
treeba5cfb3b5e304f6a9fb3d88a2d2e4f15a119ebb6 /Master/texmf-dist/doc/latex/hyper/scontrib
parentc3fa84757f6c17ec077afc3577a9e7efd332390f (diff)
hyper doc update (6mar10)
git-svn-id: svn://tug.org/texlive/trunk@17357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hyper/scontrib')
-rw-r--r--Master/texmf-dist/doc/latex/hyper/scontrib/README6
-rw-r--r--Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp21
2 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hyper/scontrib/README b/Master/texmf-dist/doc/latex/hyper/scontrib/README
new file mode 100644
index 00000000000..68eb8e64eb6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hyper/scontrib/README
@@ -0,0 +1,6 @@
+This area contains some stuff that authors have written for
+adding hypertex capability to other packages that are not
+supported by the hyper package.
+Some files from the contrib directory may be moved into this
+directory when the hyper package has been prepared for
+automatically loading them.
diff --git a/Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp b/Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp
new file mode 100644
index 00000000000..53fd4fc98c3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hyper/scontrib/harvard.hyp
@@ -0,0 +1,21 @@
+%% harvardfull.hyp - Amendments to harvard bibliography style Version 2.0.5
+%% to be used together with the hyper package
+%% Author: Renate Schmidt (schmidt@mpi-sb.mpg.de)
+%% Copyright: Renate Schmidt, May 1995
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\ProvidesFile{harvard.hyp}[95/05/15]
+
+%% The following defines anchors not just for the year but also for the
+%% abbr-citation, the full-citation and the name.
+\renewcommand{\harvarditem}[4][\null]{%
+ \hyper@setcurrent%
+ \item[\blindhyperanchor{\@currenthyper}]%
+ \if@filesw{ \def\protect##1{\string ##1\space}%
+ \ifthenelse{\equal{#1}{\null}}
+ {\def\next{{#4}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#3}}}}
+ {\def\next{{#4}{\hyperreference{\@currenthyper}{#2}}{\hyperreference{\@currenthyper}{#1}}{\hyperreference{\@currenthyper}{#3}}}}
+ \immediate\write\@auxout{\string\harvardcite\next}%
+ }\fi%
+ \protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces%
+ }
+