XSF Discussion - 2024-02-01

  1. intosi

    Field trip.

  2. emus


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

  4. singpolyma

    lua working? what is it doing?

  5. moparisthebest

    I generally run old Lua things in an old Debian podman container, sometimes works

  6. Zash

    Kev, `tools/xep2md.sh ./xep-0313.xml` worksforme without fuss 🤷️

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

  8. Kev

    I couldn't find docs anywhere saying what it depended on or how to get those dependencies.

  9. Kev

    And I ain't a Lua dev :)

  10. singpolyma

    oh, did it need luarocks for something?

  11. Zash

    LuaExpat should be the only dependency

  12. Kev

    So it shouldn't depend on luarocks?

  13. Zash


  14. Zash

    Sure you could use luarocks to install luaexpat

  15. singpolyma

    well, is luaexpat in homebrew? I don't know

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

  17. Zash

    I guess try droping the `-lluarocks.loader` part then. It's likely there to make it pick up things installed with luarocks

  18. Kev

    But I still need luaexpat anyway, which I don't seem to have available in brew.

  19. Zash


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

  21. Kev

    I might just write in XML and leave this for another day.

  22. Zash

    Why do you need the XML to MD converter if you're going to write MD?

  23. singpolyma

    to get example md

  24. Zash


  25. Kev