ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* "Too many }'s" in latest beta
@ 2011-11-13 23:02 Peter Münster
  2011-11-13 23:10 ` Peter Münster
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Münster @ 2011-11-13 23:02 UTC (permalink / raw)
  To: ConTeXt users

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"}
context"Amount: 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Too many }'s" in latest beta
  2011-11-13 23:02 "Too many }'s" in latest beta Peter Münster
@ 2011-11-13 23:10 ` Peter Münster
  2011-11-13 23:25   ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Münster @ 2011-11-13 23:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

> context"Amount: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Too many }'s" in latest beta
  2011-11-13 23:10 ` Peter Münster
@ 2011-11-13 23:25   ` Hans Hagen
  2011-11-13 23:31     ` Wolfgang Schuster
  2011-11-14  6:24     ` Peter Münster
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2011-11-13 23:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

On 14-11-2011 00:10, Peter Münster wrote:
> On Mon, Nov 14 2011, Peter Münster wrote:
>
>> context"Amount: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Too many }'s" in latest beta
  2011-11-13 23:25   ` Hans Hagen
@ 2011-11-13 23:31     ` Wolfgang Schuster
  2011-11-13 23:39       ` Hans Hagen
  2011-11-14  6:24     ` Peter Münster
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-11-13 23:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster


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:
>> 
>>> context"Amount: 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Too many }'s" in latest beta
  2011-11-13 23:31     ` Wolfgang Schuster
@ 2011-11-13 23:39       ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2011-11-13 23:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

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:
>>>
>>>> context"Amount: 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Too many }'s" in latest beta
  2011-11-13 23:25   ` Hans Hagen
  2011-11-13 23:31     ` Wolfgang Schuster
@ 2011-11-14  6:24     ` Peter Münster
  2011-11-14  8:21       ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Münster @ 2011-11-14  6:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Too many }'s" in latest beta
  2011-11-14  6:24     ` Peter Münster
@ 2011-11-14  8:21       ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2011-11-14  8:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-14  8:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-13 23:02 "Too many }'s" in latest beta Peter Münster
2011-11-13 23:10 ` Peter Münster
2011-11-13 23:25   ` Hans Hagen
2011-11-13 23:31     ` Wolfgang Schuster
2011-11-13 23:39       ` Hans Hagen
2011-11-14  6:24     ` Peter Münster
2011-11-14  8:21       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).