Note that if you use the static binaries from the release page you can not use modules which use external (non-Lua) libraries. I have heard that if you download the first nightly from after each release that can use external libraries, but I'd rather not rely on that. Note also that the environment variables LUA_PATH_5_3 and LUA_CPATH_5_3 will override those without the version suffix. See https://web.archive.org/web/20210127030419/http://www.thijsschreijer.nl/blog/?p=1025 Den tis 2 nov. 2021 12:53Albert Krewinkel skrev: > > denis.maier-NSENcxR/0n0@public.gmane.org writes: > > > Anyway, so if I install modules via luarocks they become usable in > > filters? (That is, pandoc's lua will find those modules?) > > The locations in which Lua searches for libraries are controlled via the > LUA_PATH and LUA_CPATH environment variables. There is a convenient > `luarocks path` command which shows the necessary settings and can be > used to set them: > > eval "$(luarocks path)" > > After that, the Lua interpreter in pandoc should be able to find all > modules installed via luarocks. Just make sure that luarocks uses > Lua 5.3, which is the version included in pandoc. > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/878ry67p0o.fsf%40zeitkraut.de > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhC0WWR%2BwYpw%2BhFXTCS0BWeyeRLZ285HrQUtqARXq4auLw%40mail.gmail.com.