New module to typeset Pandoc JSON files (as XML) in ConTeXt
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. Massi
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
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
Am 17.01.25 um 22:26 schrieb mf:
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?
Of course there is! Just unzip it in one of your texmf trees. ~/texmf is good for testing, it shouldn’t even be necessary to regenerate the database. E.g. I have symlinks to my module repositories in ~/texmf/tex/context/third/ Hraban
Il 17/01/25 22:36, Henning Hraban Ramm ha scritto:
Am 17.01.25 um 22:26 schrieb mf:
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?
Of course there is! Just unzip it in one of your texmf trees. ~/texmf is good for testing, it shouldn’t even be necessary to regenerate the database.
E.g. I have symlinks to my module repositories in ~/texmf/tex/context/ third/
Thank you, I did not know ConTeXt looked into ~/texmf. Massi
On 1/17/2025 10:44 PM, mf wrote:
Il 17/01/25 22:36, Henning Hraban Ramm ha scritto:
Am 17.01.25 um 22:26 schrieb mf:
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?
Of course there is! Just unzip it in one of your texmf trees. ~/texmf is good for testing, it shouldn’t even be necessary to regenerate the database.
E.g. I have symlinks to my module repositories in ~/texmf/tex/context/ third/
Thank you, I did not know ConTeXt looked into ~/texmf.
that's what home: in dta-* and configurations do but keep in mind that it's not in the file database so scanned every time you run Hans (who never use(d) home himself) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Henning Hraban Ramm
-
mf