citeproc-lua icon indicating copy to clipboard operation
citeproc-lua copied to clipboard

djot/djot-lua head's up

Open bdarcus opened this issue 2 years ago • 3 comments

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

bdarcus avatar Mar 05 '23 15:03 bdarcus

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.).

zepinglee avatar Mar 07 '23 03:03 zepinglee

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?

bdarcus avatar Mar 07 '23 11:03 bdarcus

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.

zepinglee avatar Mar 08 '23 15:03 zepinglee