* "closesymbol" in enumeration broken?
@ 2012-02-19 22:22 Andreas Mang
2012-02-19 22:37 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mang @ 2012-02-19 22:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
% #######################
___________________________________________________________________________________
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] 2+ messages in thread
* Re: "closesymbol" in enumeration broken?
2012-02-19 22:22 "closesymbol" in enumeration broken? Andreas Mang
@ 2012-02-19 22:37 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-02-19 22:37 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-19 22:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-19 22:22 "closesymbol" in enumeration broken? Andreas Mang
2012-02-19 22:37 ` Wolfgang Schuster
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).