Il 17/01/25 21:40, Henning Hraban Ramm ha scritto:
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#Publication_and_maintenance

It’s installable via "mtxrun --script install-modules" after I added it manually to the list of modules for the distribution.

Hraban


So is there no way to install it locally from a zip file, at least for testing purposes, before making it installable from the garden?

Massi


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to