On Fri, Apr 26 2013, Cecil Westerhof wrote:
The following script does what I want:
Or shorter: --8<---------------cut here---------------start------------->8--- #!/usr/bin/env bash context --result=cv-${1:-cecil} CV-Cecil-Westerhof --8<---------------cut here---------------end--------------->8--- In CV-Cecil-Westerhof.tex you can check the result file: --8<---------------cut here---------------start------------->8--- \starttext output file: \systemparameter{file} or \cldcontext{document.arguments.result} \stoptext --8<---------------cut here---------------end--------------->8---
There is only one problem. If I first generate the default one and after that a specific one, the default one does not exist anymore.
A known bug: http://www.ntg.nl/pipermail/ntg-context/2008/035125.html You could add it to the tracker: http://tracker.luatex.org/ -- Peter