Debian Codegraph @

texmf-dist/doc/latex/hyper/contrib/harvard-to.hyp

raw
1 %% harvard.hyp - Amendments to harvard bibliography style Version 2.0.5
2 %% to be used together with the hyper package
3 %% Author: Renate Schmidt ([email protected])
4 %% Copyright: Renate Schmidt, May 1995
5 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
6 \ProvidesFile{harvard-to.hyp}[95/05/15]
7
8 %% An apaptation of the original \harvarditem command that inserts a
9 % \blindhyperanchor for each item in the biliography and \hyperreference
10 % links around the citation-year.
11 \renewcommand{\harvarditem}[4][\null]{%
12 \hyper@setcurrent%
13 \item[\blindhyperanchor{\@currenthyper}]%
14 \if@filesw{ \def\protect##1{\string ##1\space}%
15 \ifthenelse{\equal{#1}{\null}}
16 {\def\next{{#4}{#2}{#2}{\hyperreference{\@currenthyper}{#3}}}}
17 {\def\next{{#4}{#2}{#1}{\hyperreference{\@currenthyper}{#3}}}}
18 \immediate\write\@auxout{\string\harvardcite\next}%
19 }\fi%
20 \protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces%
21 }