ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Custom TOC problem
@ 2012-04-02  9:57 Michał Goliński
  2012-04-03  8:35 ` Steffen Wolfrum
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Goliński @ 2012-04-02  9:57 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-03  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-02  9:57 [***SPAM***] Custom TOC problem Michał Goliński
2012-04-03  8:35 ` Steffen Wolfrum

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).