Eventhough I am using mostly Linux, on some occasions I am on Windows and even on Linux it might be more convenient (from purely user perspective) to have LPeg included in pandoc because of different Lua versions, so I am 100 % for such addition. Regards Tomas Dne úterý 2. listopadu 2021 v 14:37:55 UTC+1 uživatel BP napsal: > I believe the Lua version bundled with Pandoc is still 5.3 so that will be > the one filters will use, and that may be a problem if some module uses 5.4 > only features. IIIRC it is possible to have luarocks install different > versions of packages in different locations. Google is your friend. Also > for Linux look for luaver on GitHub. > > In a hurry, > > /bpj > > Den tis 2 nov. 2021 14:29 skrev: > >> The installed lua version is already 5.4.x Ist that a problem? >> ________________________________________ >> Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im >> Auftrag von Albert Krewinkel >> Gesendet: Dienstag, 2. November 2021 12:52:55 >> An: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> Betreff: Re: AW: compiling lpeg into pandoc >> >> denis...-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-discus...-/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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/a4454aeb346b404ba248ee962bacd7cd%40unibe.ch >> . >> > -- 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/fb0b07de-cd47-4178-ae19-0585a030cdcfn%40googlegroups.com.