ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] New module to typeset Pandoc JSON files (as XML) in ConTeXt
@ 2025-01-17 18:16 mf
  2025-01-17 20:40 ` [NTG-context] " Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: mf @ 2025-01-17 18:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: New module to typeset Pandoc JSON files (as XML) in ConTeXt
  2025-01-17 18:16 [NTG-context] New module to typeset Pandoc JSON files (as XML) in ConTeXt mf
@ 2025-01-17 20:40 ` Henning Hraban Ramm
  2025-01-17 21:26   ` mf
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2025-01-17 20:40 UTC (permalink / raw)
  To: ntg-context

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: New module to typeset Pandoc JSON files (as XML) in ConTeXt
  2025-01-17 20:40 ` [NTG-context] " Henning Hraban Ramm
@ 2025-01-17 21:26   ` mf
  2025-01-17 21:36     ` Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: mf @ 2025-01-17 21:26 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: New module to typeset Pandoc JSON files (as XML) in ConTeXt
  2025-01-17 21:26   ` mf
@ 2025-01-17 21:36     ` Henning Hraban Ramm
  2025-01-17 21:44       ` mf
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2025-01-17 21:36 UTC (permalink / raw)
  To: ntg-context

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: New module to typeset Pandoc JSON files (as XML) in ConTeXt
  2025-01-17 21:36     ` Henning Hraban Ramm
@ 2025-01-17 21:44       ` mf
  2025-01-17 23:00         ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: mf @ 2025-01-17 21:44 UTC (permalink / raw)
  To: ntg-context

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [NTG-context] Re: New module to typeset Pandoc JSON files (as XML) in ConTeXt
  2025-01-17 21:44       ` mf
@ 2025-01-17 23:00         ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2025-01-17 23:00 UTC (permalink / raw)
  To: mf, mailing list for ConTeXt users; +Cc: Hans Hagen

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-17 23:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-17 18:16 [NTG-context] New module to typeset Pandoc JSON files (as XML) in ConTeXt mf
2025-01-17 20:40 ` [NTG-context] " Henning Hraban Ramm
2025-01-17 21:26   ` mf
2025-01-17 21:36     ` Henning Hraban Ramm
2025-01-17 21:44       ` mf
2025-01-17 23:00         ` Hans Hagen via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).