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