summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/bibl-bib.mkiv
blob: 51db67ed7da8eb0845207ee0490adc26fa6c474c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%D \module
%D   [       file=bibl-bib,
%D        version=2007.08.17,
%D          title=\CONTEXT\ Bibliography Support,
%D       subtitle=Initialization,
%D         author=Hans Hagen \& Taco Hoekwater,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{ConTeXt Bibliography Support / BibTeX}

\registerctxluafile{bibl-bib}{1.001}

\unprotect

\def\definebibtexsession       [#1]{\ctxlua{commands.definebibtexsession("#1")}}
\def\preparebibtexsession      [#1]{\ctxlua{commands.preparebibtexsession("#1")}}
\def\registerbibtexfile            {\dodoubleargument\doregisterbibtexfile}
\def\doregisterbibtexfile  [#1][#2]{\ctxlua{commands.registerbibtexfile("#1","#2")}}  % also the fast one
\def\registerbibtexentry           {\dodoubleargument\doregisterbibtexentry}
\def\doregisterbibtexentry [#1][#2]{\ctxlua{commands.registerbibtexentry("#1","#2")}} % also the fast one
\def\applytobibtexsession          {\dodoubleargument\doapplytobibtexsession}
\def\doapplytobibtexsession[#1][#2]{\xmlprocessregistered{bibtex:#1}{#2}{#2}}

\protect \endinput