Hi,

this is the first time I am writing here so let me just say a big THANK YOU for all the awesome work everyone is doing.

Now, to the point. I have been trying to customize table of contents with my own commands, yet I get an error that might be from within ConTeXt. The cutomary minimal example follows:


\define[3]\M{#3 some  #2 magic #1}
\setuplist[section][alternative=command,command=\M]

\starttext
\section{A}
\completecontent
\stoptext


and the error from the log:

ConTeXt ver: 2012.03.30 16:16 MKIV fmt: 2012.4.2 int: english/english

............

! Argument of \M has an extra }.

Best regards
Michał Goliński
___________________________________________________________________________________
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