Am 17.01.25 um 19:16 schrieb mf:
Hello,
I just uploaded a module for ConTeXt to typeset Pandoc JSON files (as XML) with ConTeXt.
You can find it here:
https://github.com/massifrg/t-pandocxml
I made a script to create a t-pandocxml-YYYY-MM-DD.zip file (see the devhelpers directory).
But I don't know how to install it, starting from the zip file.
This is what I did:
- cd [context_installation_dir]/tex/texmf-context
- unzip .../t-pandocxml-YYYY-MM-DD.zip
- rm LICENSE README.md VERSION
- mtxrun --generate
It works, but I'm sure there's a better way to install it.
Hi Massi, the scripts of https://modules.contextgarden.net/ accept a git repository like yours and create the zip themselves. See https://wiki.contextgarden.net/ConTeXt_and_Lua_programming/Module_writing#Pu... It’s installable via "mtxrun --script install-modules" after I added it manually to the list of modules for the distribution. Hraban