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.tex10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex b/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
index 7269b8c25d9..a2f542d97a0 100644
--- a/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
+++ b/Master/texmf-dist/tex/csplain/opmac/opmac-bib.tex
@@ -1,6 +1,6 @@
% opmac-bib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Petr Olsak, version Apr. 2014h (beta)
+% Petr Olsak, version Apr. 2015 (beta)
% This is module for OPmac macros, see http://petr.olsak.net/opmac.html
% The command:
@@ -120,6 +120,10 @@
\def\MakeReference{\par \ifnum\bibnum>0 \bibskip \fi
\advance\bibnum by1
+ \isdefined{bim:\the\bibnum}\iftrue
+ \edef\tmpb{\csname bim:\the\bibnum\endcsname}%
+ \bibmark=\expandafter{\tmpb}%
+ \else \bibmark={}\fi
\noindent \edef\tmpb{\EntryKey}%
\printbib \dest[cite:\the\bibnum]%
\bgroup
@@ -257,6 +261,10 @@ end of each <entrytype>. The formatting does not solve the numbering and
paragraph indentation of the entry. This is processed by \printbib macro
used in OPmac (and may be redefined by the author or document designer).
+You can declare \bimark={something} in the print:END macro. This bibmark is
+saved to the .ref file (created by OPmac) and used in the next TeX run as \cite
+marks when \nonumcitations is set.
+
The whole style file is read in the group during \usebib command is executed
before typesetting the reference list. Each definition or setting is local
here.