summaryrefslogtreecommitdiff
path: root/tex/context/base/bibl-tra.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/bibl-tra.mkiv')
-rw-r--r--tex/context/base/bibl-tra.mkiv22
1 files changed, 12 insertions, 10 deletions
diff --git a/tex/context/base/bibl-tra.mkiv b/tex/context/base/bibl-tra.mkiv
index 2be7f47bf..485d93fb7 100644
--- a/tex/context/base/bibl-tra.mkiv
+++ b/tex/context/base/bibl-tra.mkiv
@@ -163,7 +163,6 @@
%D \item All constants, variables, message etc.\ are now in the core.
%D \item Added: method=local|global (when global, previous shown entries are
%D not shown again.
-%D \item Added: state=start for initial loading.
%D \stopitemize
%D
%D \subject{WISHLIST}
@@ -724,6 +723,8 @@
% storing the keys in lua (and then do more in lua) and use calls to
% fetch the variables
+% hm, we can store at the lua end ...
+
\long\def\dostartpublication[#1]#2\stoppublication
{\doifassignmentelse{#1}%
{\getparameters[\??pb][k=\s!unknown,t=article,n=,s=,a=,y=,o=,u=,#1]}%
@@ -751,8 +752,11 @@
\def\bibgetvaru#1{\csname pbd:#1\endcsname\pluseight}
\def\bibgetvard#1{\csname pbd:#1\endcsname\plusnine }
-\def\doifbibreferencefoundelse#1#2#3%
- {\doifdefinedelse{pbd:#1}{#2}{\showmessage\m!publications{5}{#1 is unknown}#3}}
+\def\doifbibreferencefoundelse#1%
+ {\preloadbiblist
+ \doifdefinedelse{pbd:#1}
+ \firstoftwoarguments
+ {\showmessage\m!publications{5}{#1 is unknown}\secondoftwoarguments}}
%D \macros{bib@crossref}
%D
@@ -1490,19 +1494,17 @@
\def\c!monthconversion{monthconversion} % todo
\setuppublications
- [\c!state=\v!stop,
- \c!monthconversion=,
+ [\c!monthconversion=,
\c!alternative=apa,
\c!method=\v!global,
\c!refcommand=num,
\c!numbercommand=\bibleftnumber]
\def\preloadbiblist
- {\doif\@@pbstate\v!start
- {\globallet\preloadbiblist\relax
- \dousepublications\jobname}}
+ {\globallet\preloadbiblist\relax
+ \dousepublications\jobname}
-\appendtoks \preloadbiblist \to \everysetuppublications
-\appendtoks \preloadbiblist \to \everystarttext
+% \appendtoks \preloadbiblist \to \everysetuppublications
+% \appendtoks \preloadbiblist \to \everystarttext
\protect \endinput