zepinglee / citeproc-lua

A Lua implementation of the Citation Style Language (CSL) for use with LaTeX
MIT License
66 stars 8 forks source link

djot/djot-lua head's up #35

Closed bdarcus closed 3 months ago

bdarcus commented 1 year ago

Nothing specific, but thought you should know about this @zepinglee (will have an iteration of the pandoc citation support "soon").

https://github.com/jgm/djot.lua

Would suggest making sure, if feasible and practical, that you don't always assume a TeX backend.

For example, this module for the lua-based Sile typesetting system already supports it.

https://github.com/Omikhleia/markdown.sile https://github.com/Omikhleia/markdown.sile#native-djot-package

And they have an issue for bib support:

https://github.com/Omikhleia/markdown.sile/issues/10

zepinglee commented 1 year ago

Would suggest making sure, if feasible and practical, that you don't always assume a TeX backend.

Theciteproc-lua doesn't assume a TeX backend but it depends on some Lua libraries that are distributed (probably) only in CTAN and TeX distributions (luaxml, lua-uca, lua-uni-algos, etc.).

bdarcus commented 1 year ago

I had also pointed neorg (a neovim project that is inspired by emacs org-mode) to this project, since neovim has lua support, and they are planning on citation support.

Perhaps it's feasible in time to get those libraries distributed as luarocks, or to use alternate libraries that are more widely distributed, in those places?

zepinglee commented 1 year ago

I had also pointed neorg (a neovim project that is inspired by emacs org-mode) to this project, since neovim has lua support, and they are planning on citation support.

That's great!

Perhaps it's feasible in time to get those libraries distributed as luarocks, or to use alternate libraries that are more widely distributed, in those places?

I'm sure if there are problems. LuaTeX uses kpse to find Lua packages in the TeX Directory Structure (TDS), which is different from standard Lua. I'll give it a try.