Hans Hagen <pra...@wxs.nl> writes: > in bibl-tra.lua: > > local template = [[ > \citation{*} > \bibstyle{cont-%s} > \bibdata{%s} > ]]
There was a "local template = utilities.strings.striplong([[ .." so I got rid of the call to utilities.strings.striplong(), then ran "context --make" but the bibliography still didn't come out. The pdf file just has "Hi [[error 2]]" Here's the example: ======================== test10.tex =============== \usemodule[bib] \setupbibtex[database=testrefs, sort=author] \setuppublications[alternative=num, sorttype=bbl] \starttext Hi \cite[Abelson:1996] \blank \placepublications[criterium=text] \stoptext ======================== test10.tex =============== and the bib file ============== testrefs.bib ================ @Book{Abelson:1996, author = {Harold Abelson and Gerald Jay Sussman with Julie Sussman}, title = {Structure and Interpretation of Computer Programs}, publisher = {MIT Press}, year = 1996, edition = {2nd}} ============== testrefs.bib ================ The log file has: publications > loading database from 'test10.bbl' (test10.bbl) publications > warning: unknown cite argument 'Abelson:1996' on line '4' and test10.bbl is an empty file. -Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________