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 % ####################### % ### ERROR MESSAGE #### <to be read again> \normalstartimath \mathematics ...ifmmode #1\else \normalstartimath #1\normalstopimath \fi \strc_constructions_close_symbol_place ...esymbol \fi \fi \140>construction ...tructions_close_symbol_place \doifnot {\constructionpar... \140>enumeration ...er \v!construction \endcsname \endgroup l.5 \stopmyproof % #######################
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
participants (2)
-
Andreas Mang
-
Wolfgang Schuster