Re: [NTG-context] Error when calling \placecontent from product

2008-08-01 Thread Hans Hagen
Elliot Clifton wrote: Thanks Wolfgang, On 2008-07-31 11:38 +100 Wolfgang Schuster \def\dostartArticle[#1]% {\getparameters[my][title=,#1]% \expanded{\chapter{\mytitle}}} I have tried wrapping the call to \chapter in \expanded. Hans, also suggested that here: www.ntg.nl/maps/20/12.pdf

Re: [NTG-context] Error when calling \placecontent from product

2008-08-01 Thread Elliot Clifton
Thanks, Hans and Wolfgang. On 2008-08-01 15:12 +100, Wolfgang Schuster wrote: Delete the temporyry files and remove ../ from \environment ../env- test in prd-test.tex. Spotted that on closer inspection. Pesky typos! Also realised I was using square brackets with \startenvironment which is

[NTG-context] Error when calling \placecontent from product

2008-07-31 Thread Elliot Clifton
Hi, I'd appreciated some help with the following problem. How can I stop the following code generating an error on calling \placecontent from a product? In the test case I have files: env-test, prd-test, cmp-test. \startenvironment [env-test] \def\dostartArticle[#1]% generate article

Re: [NTG-context] Error when calling \placecontent from product

2008-07-31 Thread Wolfgang Schuster
On Thu, Jul 31, 2008 at 12:32 PM, Elliot Clifton [EMAIL PROTECTED] wrote: Hi, I'd appreciated some help with the following problem. How can I stop the following code generating an error on calling \placecontent from a product? In the test case I have files: env-test, prd-test, cmp-test.

Re: [NTG-context] Error when calling \placecontent from product

2008-07-31 Thread Elliot Clifton
Thanks Wolfgang, On 2008-07-31 11:38 +100 Wolfgang Schuster \def\dostartArticle[#1]% {\getparameters[my][title=,#1]% \expanded{\chapter{\mytitle}}} I have tried wrapping the call to \chapter in \expanded. Hans, also suggested that here: www.ntg.nl/maps/20/12.pdf Unfortunately doesn't seem to