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
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 ادريس سماوي حامد
: 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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@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 ___________________________________________________________________________________
Hi Keith,
On Tue, 20 Jan 2015 06:07:23 -0700, Keith Schultz
setuppublications[alternative=apa]
Thank you very much. The strange thing is that that exact line is in the previously attached bib-env.tex (forgot to put it in the minimal file I sent to the list) but I was still getting an error. Yet now it seems to work. There must have been something else I was doing wrong in the original file. The \usemodule[bib] is just ignored -- ' > modules > 'bib' is not found' --, so that was not causing it (per Robert's suggestion). Anyway, it seems I'm back in business. Here is a complete working file (output attached): =============== \starttext % \usemodule[bib] \input bib-env \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] \citepage[haq][p.~20] \citeypage[haq][p.~20] \citeapypage[haq][p.~20] \citeyear[haq] \citeauthor[haq] \citeauthorp[haq] \stoptext =============== Note the extra cite definitions. Perhaps Alan and Hans could add similar functionality (with better names of course) to the upcoming new bib mechanism. Thanks again, Keith and Robert, and Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523
participants (2)
-
Idris Samawi Hamid ادريس سماوي ح امد
-
Keith Schultz