dear lazyweb, pandoc 🐼⚕️
To save me having to write/adapt one, anyone know if there's a #Pandoc filter to turn *raw* utf8 #emoji into appropriately fonted {Xe, #Lua} #LaTeX for PDF generation? I know about https://gist.github.com/zr-tex8r/a5410ad20ab291c390884b960c900537/ and it does a good job for +emoji and :sequences_like_this: that pandoc knows about
@g1comics I've been reeeally close to trying to learn Lua... not for anything emulation-related like I thought I would, but for design work that Pandoc would be perfect to help with.
@g1comics I keep seeing that Lua's Unicode support is kinda terrible, but the pandoc documentation also seems to consider the Python and Haskell filters to be the worse options for many other reasons, so... *shrug* I think they've undervalued UTF-8 support. :)
@ElectricKeet heh. It's a simple enough language, but it turns out that emoji matching needs a fairly complex regex, and Lua utf8 processing is a massive pain generally.
Also the :walk() method I need to support mixed topdown and typewise traversal needs near-bleeding-edge pandoc (by Debian standards), and I don't want to develop for things in unstable really :ponenerd: So I guess I'll be using a Python module instead and going the JSON pipeline route for the filter. Oh well