2012-09-18 Philipp Gesang
[0] http://www.mail-archive.com/ntg-context@ntg.nl/msg62855.html
Thanks for the link. Since I usually don't deal much with different bibliography styles I tend to skip those threads.
And BibTeX is used since it understands the semantics of bib files, although a pure ConTeXt/Lua solution would be possible. Without BibTeX this functionality would be missing since no one is willing to implement a parser for .bib databases.
Context happens to have such a parser, written in Lua. Probably the best one around:
······································································· \starttext \startluacode local db = bibtex.new() bibtex.load(db, "filename.bib") table.print(db) \stopluacode \stoptext
Interesting, I didn't know that. But the values are only parsed, not interpreted. That means the only thing left for BibTeX is to do is to interpret the ugly “author” field? Marco