Am 19.02.2012 um 23:22 schrieb Andreas Mang:

> Hi everybody,
> 
> I might have spotted a problem related to enumerations. The minimal example 
> below results in the given error message. It works without the "closesymbol" 
> option.
> 
> Thanks for your help.
> 
> Cheers,
> Andreas 
> 
> % ### MINIMAL EXAMPLE ###  (ConTeXt  ver: 2012.02.18 10:50 MKIV  fmt: 
> 2012.2.19)
> 
> \defineenumeration[myproof][text=Proof,closesymbol={\mathematics{\square}}]
> 
> \starttext
> 
> \startmyproof
> This is a proof
> \stopmyproof
> 
> \stoptext

strc-con.mkvi:

\def\strc_constructions_close_symbol_place
  {\ifconditional\csname\??constructionclosesymbol\currentconstruction\endcsname
     
\global\expandafter\setfalse\csname\??constructionclosesymbol\currentconstruction\endcsname
     \edef\p_closesymbol{\constructionparameter\c!closesymbol}%
     \ifx\p_closesymbol\empty \else
-      \constructionparameter\c!closecommand\p_closesymbol
+      \constructionparameter\c!closecommand{\p_closesymbol}%
     \fi
   \fi}

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
___________________________________________________________________________________

Reply via email to