Re: [NTG-context] Too many }'s in latest beta

2011-11-14 Thread Hans Hagen

On 14-11-2011 07:24, Peter Münster wrote:

On Mon, Nov 14 2011, Hans Hagen wrote:


context.environment(false, my-env )


Thanks, this solves all problems!



msybe \environment should accept [name] as well


You've already added support for this in January:
http://archive.contextgarden.net/message/20110114.182134.7ec49be5.en.html


yes, but i was more wondering about the lua end (some commands need a 
special treatment) ... however, it was something else .. fixed in next beta


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] Too many }'s in latest beta

2011-11-13 Thread Peter Münster
Hello,

When running `context test.cld' on this file:

--8---cut here---start-8---
context.environment{my-env} -- it does not matter, if this file exists or not
context.starttext()
context.startalignment{middle}
contextAmount: 123
context.stopalignment()
context.stoptext()
--8---cut here---end---8---

I get the following error:

system  tex  error on line 11 in file test.run: Too many }'s ... [1]

How could I solve this problem please?

core-env.mkiv is patched on line 226 as suggested by Wolfgang.

TIA for any help,
-- 
   Peter

[1]: test.run has only one line... ;-)
___
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
___


Re: [NTG-context] Too many }'s in latest beta

2011-11-13 Thread Peter Münster
On Mon, Nov 14 2011, Peter Münster wrote:

 contextAmount: 123

Or just a space:context 

-- 
   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
___

Re: [NTG-context] Too many }'s in latest beta

2011-11-13 Thread Hans Hagen

On 14-11-2011 00:10, Peter Münster wrote:

On Mon, Nov 14 2011, Peter Münster wrote:


contextAmount: 123


Or just a space:context 



context.environment(false, my-env )

msybe \environment should accept [name] as well

--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] Too many }'s in latest beta

2011-11-13 Thread Wolfgang Schuster

Am 14.11.2011 um 00:25 schrieb Hans Hagen:

 On 14-11-2011 00:10, Peter Münster wrote:
 On Mon, Nov 14 2011, Peter Münster wrote:
 
 contextAmount: 123
 
 Or just a space:context 
 
 
 context.environment(false, my-env )
 
 msybe \environment should accept [name] as well

\environment does accept “[…]”.

Wolfgang
___
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
___


Re: [NTG-context] Too many }'s in latest beta

2011-11-13 Thread Hans Hagen

On 14-11-2011 00:31, Wolfgang Schuster wrote:


Am 14.11.2011 um 00:25 schrieb Hans Hagen:


On 14-11-2011 00:10, Peter Münster wrote:

On Mon, Nov 14 2011, Peter Münster wrote:


contextAmount: 123


Or just a space:context 



context.environment(false, my-env )

msybe \environment should accept [name] as well


\environment does accept “[…]”.


sure but i meant a variant at the lua end (sort of special case as 
[{..}] gets passed now, normally ok




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Too many }'s in latest beta

2011-11-13 Thread Peter Münster
On Mon, Nov 14 2011, Hans Hagen wrote:

 context.environment(false, my-env )

Thanks, this solves all problems!


 msybe \environment should accept [name] as well

You've already added support for this in January:
http://archive.contextgarden.net/message/20110114.182134.7ec49be5.en.html

-- 
   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
___