![](https://secure.gravatar.com/avatar/b5d2903e067e6b61ca41c97939b81961.jpg?s=120&d=mm&r=g)
28 Jan
2018
28 Jan
'18
4:33 p.m.
i think i am one step closer to my goal. alla i have is to combine: 1- What Hans taught me about working on file (and not simply stdout) python has already a module *tempfile.NamedTemporaryFile()* , 2- Your snippet to run ConTeXT inside the temporary folder *cd && contextjit --purgeall --path="%d" --arguments=filename=%d/%e.pdf* *--result="%e-2UP.pdf" /home/ousia/A5-to-A4_landscape-booklet.tex* **To be adapted for a working example ( tomorrow i have a night shift so probably tuesday i will work on again). Thank you everybody!