I was testing citation capability with a BibTeX db based on the
Context Garden bibliography page:
http://wiki.contextgarden.net/Bibliography
The example code using the xampl.bib from my distribution didn't work
at all. So I've tried to make a very small example, which results in
an in-text citation that says [[error 2]] and no citations listed in
the References section:
CONTEXT --VERSION
mtx-context | main context file:
/Users/chrislott/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2011.12.18 15:57
CTXBIBTEST.TEX (I've tried with and without the bibltx module, which
isn't found on my system)
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=bibtest]
\starttext
"Oh No," he said \cite[lott].
\completepublications
\stoptext
BIBTEST.BIB
@book{lott,
author = "Chris Lott",
title = "FUBARed",
publisher = "NonExistent Press",
year = "2011",
address = "Timbuktu"
}
CTXBIBTEST.BBL (generated by ConTeXt):
\setuppublicationlist[samplesize={Lot11},totalnumber=1]
\startpublication[k=lott,t=book,
a={{Lott}},y=2011,
n=1,s=Lot11]
\author[]{Chris}[C.]{}{Lott}
\pubyear{2011}
\title{FUBARed}
\city{Timbuktu}
\pubname{NonExistent Press}
\stoppublication
CTXBIBTEST.AUX (generated by ConTeXt)
c
--
Chris Lott