summaryrefslogtreecommitdiff
path: root/support/hypertex/tanmoy/prabib.old.hty
diff options
context:
space:
mode:
Diffstat (limited to 'support/hypertex/tanmoy/prabib.old.hty')
-rw-r--r--support/hypertex/tanmoy/prabib.old.hty16
1 files changed, 16 insertions, 0 deletions
diff --git a/support/hypertex/tanmoy/prabib.old.hty b/support/hypertex/tanmoy/prabib.old.hty
new file mode 100644
index 0000000000..60e0c7088f
--- /dev/null
+++ b/support/hypertex/tanmoy/prabib.old.hty
@@ -0,0 +1,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}
+