ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: "closesymbol" in enumeration broken?
Date: Sun, 19 Feb 2012 23:37:57 +0100	[thread overview]
Message-ID: <BAD875A5-91AB-4054-91AD-9EEA7DDC565C@googlemail.com> (raw)
In-Reply-To: <CB13C992-63BA-469A-B762-F22B3792319C@imt.uni-luebeck.de>


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	other threads:[~2012-02-19 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-19 22:22 Andreas Mang
2012-02-19 22:37 ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAD875A5-91AB-4054-91AD-9EEA7DDC565C@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).