-
intosi
Field trip.
-
emus
🌠
-
Kev
Does anyone know what's needed to get xep2md to work? (Or an example of a XEP written in MD that I can work from). I'm approaching an hour into trying to get Lua working on my system and starting to get fed up of it.
-
singpolyma
lua working? what is it doing?
-
moparisthebest
I generally run old Lua things in an old Debian podman container, sometimes works
-
Zash
Kev, `tools/xep2md.sh ./xep-0313.xml` worksforme without fuss 🤷️
-
Kev
> lua working? what is it doing? First I brew installed it, then I realised it needed luarocks, so I brew installed that. Then I hacked around putting symlinks in so it found luarocks. Then it started complaining about other lua dependencies it needed.
-
Kev
I couldn't find docs anywhere saying what it depended on or how to get those dependencies.
-
Kev
And I ain't a Lua dev :)
-
singpolyma
oh, did it need luarocks for something?
-
Zash
LuaExpat should be the only dependency
-
Kev
So it shouldn't depend on luarocks?
-
Zash
No
-
Zash
Sure you could use luarocks to install luaexpat
-
singpolyma
well, is luaexpat in homebrew? I don't know
-
Kev
`xmllint --nonet --noent --loaddtd "$@" | lua5.3 -lluarocks.loader xep2md.lua` doesn't need luarocks? Because it certainly failed for me until I had it.
-
Zash
I guess try droping the `-lluarocks.loader` part then. It's likely there to make it pick up things installed with luarocks
-
Kev
But I still need luaexpat anyway, which I don't seem to have available in brew.
-
Zash
Ok.
-
Kev
An hour in and I'm starting to doubt the advice of the anonymous person who suggested I use the MD stuff to make it easier for me to get Spaces written tonight :)
-
Kev
I might just write in XML and leave this for another day.
-
Zash
Why do you need the XML to MD converter if you're going to write MD?
-
singpolyma
to get example md
-
Zash
https://cerdale.zash.se/s/gmyECZ7dAxi7M_hwcc1Ft-vQ/xep-template.md
-
Kev
Ta.