zepinglee / citeproc-lua

A Lua implementation of the Citation Style Language (CSL)
MIT License
62 stars 7 forks source link

context integration #13

Open denismaier opened 2 years ago

denismaier commented 2 years ago

Wow, that's an interesting project. Do you think a context integration would be feasible?

bdarcus commented 2 years ago

From a quick look, seems like yes, given that it hooks up at the (LuaTeX) engine level.

There'd just need to be some sort of ConTeXt layer on top of that.

@zepinglee - there's been talk about something like this for ConTeXt for years.

zepinglee commented 2 years ago

I have little experience with ConTeXt. I guess the the luaxml library that citeproc-lua depends on may need to be switched to the XML component of ConTeXt.

bdarcus commented 2 years ago

IUC, at this point, a lot of context is implemented in lua, and relies on luatex (which is mostly the work of context developers).

https://wiki.contextgarden.net/Lua

Denis started a thread on their list, and here's one response from a core ConTeXt and LuaTeX developer:

https://www.mail-archive.com/ntg-context@ntg.nl/msg101886.html