Hello,

I have a bibliography database in Lua.
I suppose to use this DB to create a list of publications with Lua and 
\startpublication ... \stoppublication.
So I will get something like:

----
% Will be generated by Lua, but for now >>
\startpublication
  [k=me,
   t=article,
   a=LPr,
   y=2000,
   s=Shr,
   n=1,
  ]
  \city{Prg}
\stoppublication
% Will be generated by Lua, but for now <<

\setuppublications[alternative=apa]

\starttext
  Hello \cite[me] -- \cite[Shr] -- \cite[1].

  \placepublications[criterium=all]
\stoptext
----

The problem is that \cite produces "(Xxxxxxxxxx, 0000)" and no list of 
publications is generated.

What am I doing wrong?

NB: I learned from
        http://wiki.contextgarden.net/Bibliography_mkiv
        and
        http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf

My one-off is that I have not a .bib file and I would like to avoid .bib 
generation and use of BibTeX if possible.
I guess that having a biblio DB in Lua is handy enough as Lua can convert the 
DB in whatever format - eg. via

context.startpublication(...)
 ...
context.stoppublication()

So, how to "handle" the bibliography in a best manner?

Than you in advance,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.      | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

Attachment: Bib.test.mkiv
Description: Binary data

Attachment: Bib.test.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to