On 9/30/2026 4:30 PM, Henning Hraban Ramm wrote:
Am 28.09.26 um 22:40 schrieb Hans Hagen via ntg-context:
context --forcecld my.cld --Input=123/data.json --result=data_123
Then
context --batchmode --nodummy --parallellist list.txt

Can this work at all?

if the same input file is used, you can best run on subdirectories (the path options)

if we have clear usage scenarios we can add additional options
Using --result has the same problems all the time:

The original file is processed and only renamed at the end.

That means, if I need several versions (i.e. print and online, or using different input files like above), the original .tuc, .pdf etc is overwritten. That is a problem with PDF viewers that watch the file not by name but by file handle (node number), because that changes.
It’s also a problem for parallel processing.

IMO a solution would be to make a (sym)link to the original input file (tex, cld…) under the result name at the beginning and remove it later (or keep it). At least that should work with most Linux/Unix file systems, don’t know about Windows.

most robust is to run on a subpath so that is an option i can add but first i need to finish some other things:

- a bit faster installer / update (including https)
- mtxrun.lua and mtxrun.lmt

The first one is a bit nasty as we have to deal with two platforms but it works here.

The second one (split) permits going forward without harming mkiv (in the last update we actually have the lmt variant so processing luatex doesn't work, not that anyone noticed).

After this is done I can look into parallel stuff, maybe with some module (splitting the context command is an option). Not that hard.

So, all in due time.

Hans


-----------------------------------------------------------------
                                          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 : [email protected] / 
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