summaryrefslogtreecommitdiff
path: root/support/hypertex/tanmoy/prabib.old.hty
blob: 60e0c7088f906d1c47dde05a350ed797609e2b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\let\hypernoname=\relax
\def\@bibitem#1{\@noitemargtrue\@item
                [\hyperdef\hypernoname{reference}{\the\value{\@listctr}}%
                {\the\value{\@listctr}}]\if@filesw \immediate\write\@auxout
{\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}

\def\bibcite#1#2{\expandafter\xdef\csname b@#1\endcsname{\hyper@\hyperpr@ref
                 {}{reference}{#2}{#2}}%
                 \expandafter\gdef\csname hyperb@#1\endcsname{#2}%
                 \@SetMaxRefLabel{#1}}

\def\@lbibitem[#1]#2{\item[\hyperdef\hypernoname{reference}{#1}%
                           {\@BIBLABEL{#1}}]\if@filesw
{\def\protect##1{\string ##1\space}\immediate
\write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}