[NTG-context] bib module - urgent!
Keith Schultz
keithjschultz at icloud.com
Tue Jan 20 14:07:23 CET 2015
Hi Irdis,
The answer to your question is quite simple,
You are missing \setuppublications
Here the MWE:
setuppublications[alternative=apa]
\starttext
\startpublication[k=haq,
t=book,
a=Haq,
y=1994,
s=Haq94]
\author[]{Syed Nomanul}[S.]{}{Haq}
\title{Names, Natures, and Things}
\pubname{Kluwer}
\city{Dordrecht}
\pubyear{1994}
\stoppublication
this is a cite from \cite[haq]
\stoptext
regards
Keith.
> Am 20.01.2015 um 00:16 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid at colostate.edu>:
>
> Dear gang,
>
> I am currently writing an article (mkiv) with lots of bibliographical references. But t-bib.tex seems to have disappeared, and the following simple file fails:
>
> ============
> \starttext
> \usemodule[bib]
>
> \startpublication[k=haq,
> t=book,
> a=Haq,
> y=1994,
> s=Haq94]
> \author[]{Syed Nomanul}[S.]{}{Haq}
> \title{Names, Natures, and Things}
> \pubname{Kluwer}
> \city{Dordrecht}
> \pubyear{1994}
> \stoppublication
>
> \cite[haq]
>
> \stoptext
> ============
> C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: attempt to call field 'markasupdated' (a nil value)
> stack traceback:
> C:/ConTeXt/tex/texmf-context/tex/context/base/publ-usr.lua:95: in function 'addbtxentry'
> [\directlua]:1: in main chunk
>
> 4 \startpublication[k=haq,
> 5 t=book,
> 6 a=Haq,
> 7 y=1994,
> 8 s=Haq94]
> 9 \author[]{Syed Nomanul}[S.]{}{Haq}
> 10 \title{Names, Natures, and Things}
> 11 \pubname{Kluwer}
> 12 \city{Dordrecht}
> 13 \pubyear{1994}
> 14 >> \stoppublication
> 15
> 16 \cite[haq]
> 17
> 18 \stoptext
> ?
> ============
>
> Now my understanding is that the new biblio system does not use bbl files yet. But I stopped using .bib files the moment Taco released the original bibliography module. Biblio databases are all in .bbl format.
>
> I also set up an extensive bib environment (attached) to take care of all sorts of things.
>
> If this is broken, can it be fixed asap? Please don't make me have to convert bbl to bib; that will be beyond depressing. Also don't want to lose my environment commands.
>
> This is urgent because there is only a short time to finish this article, and I really want to spend more time writing the content than debugging Context! :-) :-) :-)
>
> Best wishes
> Idris
> --
> Idris Samawi Hamid
> Professor of Philosophy
> Colorado State University
> Fort Collins, CO 80523<bib-env.tex>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
More information about the ntg-context
mailing list