summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex b/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
index d5c90b9733d..ead50e6b3d0 100644
--- a/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
+++ b/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
@@ -14,7 +14,7 @@
% before using the command \usebib.
% For more information see the end of this file.
-\ifx\usebib\udefined \else \endinput \fi
+\ifx\MakeReference\udefined \else \endinput \fi
\ifx\OPmacversion\undefined \input opmac \fi
\ifx\printbib\undefined
\errmessage{Please, upgrade OPmac to version Apr. 2014 or newer}
@@ -52,7 +52,7 @@
\global\let\addcitelist=\writeXcite
\def\tmp##1[*]##2\relax{\def\tmp{##2}}\expandafter\tmp\citelist[*]\relax
\ifx\tmp\empty\else % there was \nocite[*] used.
- \setbox0=\vbox{\def\citelist{}\adef@{\readentry}%
+ \setbox0=\vbox{\def\citelist{}\adef@{\readbibentry}%
\input #3.bib
\expandafter}\expandafter\def\expandafter\citelist\expandafter{\citelist}%
\fi
@@ -64,9 +64,9 @@
\egroup
\fi
}
-\def\readentry#1#{\readentryA}
-\def\readentryA#1{\readentryB#1,,\relax!.}
-\def\readentryB#1#2,#3\relax!.{\addto\citelist{\citeI[#1#2]}}
+\def\readbibentry#1#{\readbibentryA}
+\def\readbibentryA#1{\readbibentryB#1,,\relax!.}
+\def\readbibentryB#1#2,#3\relax!.{\addto\citelist{\citeI[#1#2]}}
% Corrections in librarian macros:
@@ -324,6 +324,6 @@ History:
Apr. 2014: released
Jan. 2016: "first entry wins" implemented
-
+Apr. 2016: \readentry -> \readbibentry, \usebib->\MakeReference
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% end of the opmac-bib.tex