| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% harvard.4ht 2009-05-21-09:32 % |
| 3 |
% Copyright (C) 2003--2009 Eitan M. Gurari % |
| 4 |
% % |
| 5 |
% This work may be distributed and/or modified under the % |
| 6 |
% conditions of the LaTeX Project Public License, either % |
| 7 |
% version 1.3c of this license or (at your option) any % |
| 8 |
% later version. The latest version of this license is % |
| 9 |
% in % |
| 10 |
% http://www.latex-project.org/lppl.txt % |
| 11 |
% and version 1.3c or later is part of all distributions % |
| 12 |
% of LaTeX version 2005/12/01 or later. % |
| 13 |
% % |
| 14 |
% This work has the LPPL maintenance status "maintained".% |
| 15 |
% % |
| 16 |
% This Current Maintainer of this work % |
| 17 |
% is Eitan M. Gurari. % |
| 18 |
% % |
| 19 |
% If you modify this program your changing its signature % |
| 20 |
% with a directive of the following form will be % |
| 21 |
% appreciated. % |
| 22 |
% \message{signature} % |
| 23 |
% % |
| 24 |
% [email protected] % |
| 25 |
% http://www.cse.ohio-state.edu/~gurari % |
| 26 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 27 |
\immediate\write-1{version 2009-05-21-09:32} |
| 28 |
|
| 29 |
\long\def\harvardcite#1#2#3#4{% |
| 30 |
\global\@namedef{HAR@fn@#1}{\cIteLink{X#1}{}#2\EndcIteLink}% |
| 31 |
\global\@namedef{HAR@an@#1}{\cIteLink{X#1}{}#3\EndcIteLink} |
| 32 |
\global\@namedef{HAR@yr@#1}{\cIteLink{X#1}{}#4\EndcIteLink} |
| 33 |
\global\@namedef{HAR@df@#1}{\csname HAR@fn@#1\endcsname} |
| 34 |
} |
| 35 |
\expandafter\let\expandafter\:harvarditem |
| 36 |
\csname \string\harvarditem\endcsname |
| 37 |
\expandafter\long\expandafter |
| 38 |
\def\csname \string\harvarditem\endcsname[#1]#2#3#4{% |
| 39 |
\let\hv:item=\item |
| 40 |
\def\item[##1]{\nobreak |
| 41 |
\let\item=\hv:item |
| 42 |
\item[##1]\Link{}{X#4}\EndLink}% |
| 43 |
\:harvarditem[#1]{#2}{#3}{#4}} |
| 44 |
\def\harvardurl#1{\Link[#1]{}{}\textit{#1}\EndLink} |
| 45 |
\renewcommand{\harvardyearparenthesis}[1]{ |
| 46 |
\renewcommand{\harvardyearleft}{\csname HAR@bl@#1\endcsname |
| 47 |
\a:harvardyear} |
| 48 |
\renewcommand{\harvardyearright}{\b:harvardyear |
| 49 |
\csname HAR@br@#1\endcsname} |
| 50 |
} |
| 51 |
\append:def\harvardyearleft{\a:harvardyear} |
| 52 |
\pend:def\harvardyearright{\b:harvardyear} |
| 53 |
\NewConfigure{harvardyear}{2} |
| 54 |
|
| 55 |
\Hinput{harvard} |
| 56 |
\endinput |
| 57 |
|