2

According to the ConTeXt Wiki in ConTeXt you can use the bibtex format for bibliographies but are not limited to that filetype. Since lua and XML are a little more universal but i can‘t (yet) switch to ConTeXt fully, i wondered if i could use a lua-bibliography in luatex as well? What would be the necessary steps to compile such a document in contrast to the regular LaTeX/biblatex/biber setup?

  • 1
    I don't think the BTX mechanism has been separated out to be used without ConTeXt macro support. It is also dependent on the way ConTeXt implements multi-pass data. – Henri Menke Sep 18 '18 at 22:28
  • 2
    If you input the data in a Lua format, isn't it relatively straight forward to write it out in bibtex format? So, you can have a lua function that reads the lua bibliography and writes the .bib file, and then a biblatex/biber setup that reads that .bib file and runs the usual LuaLaTeX workflow. – Aditya Sep 19 '18 at 4:28
  • That would be possible, of course, but i wonder if that's natively supported but lacking the documentation! Actually this question is more out of curiosity on how similar luatex and context are than anything else! – Tim Hilt Sep 19 '18 at 5:53
  • Well, LuaTeX is "just" the engine. ConTeXt is not only a TeX format but also a whole bunch of scripts (Lua etc.) that are bundled into one product. So LuaLaTeX does not know anything more about bibliographies than pdflatex does. – TeXnician Sep 19 '18 at 6:13
  • 4
    biber can already read xml-bibliographies, and it should be rather easy to write the necessary driver to read lua-tables - they are not so different to bibtex-entries. So the import format is not the problem. If you want to process the data with lua instead of biber like context does: that involves more work and I don't see what you would gain by it compared to biblatex/biber. – Ulrike Fischer Sep 19 '18 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.