![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 01/26/2018 07:41 PM, kaddour kardio wrote:
[...] i tried this without success :( the only workaround u've found for now is to render a tex file and copile it manually.
I don’t know how to invoke ConTeXt using Django, but to create booklets with my favourite text editor (Geany, https://geany.org/). While --result could handle path in it, my command to create booklets was: contextjit --purgeall --path="%d" --arguments=filename=%e.pdf --result=/home/ousia/"%e-2UP.pdf" /home/ousia/A5-to-A4_landscape-booklet.tex "%d" and %e" stand for directory and file name without extension. After --path was introduced (or it was mandatory to use it, since --result cannot handle path in it), my command reads: cd && contextjit --purgeall --path="%d" --arguments=filename=%d/%e.pdf --result="%e-2UP.pdf" /home/ousia/A5-to-A4_landscape-booklet.tex I wonder whether my previous comment might help you to improve your ConTeXt in Django. Best wishes, Pablo -- http://www.ousia.tk