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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to