From: bbvogel@home.nl
To: ntg-context@ntg.nl
Subject: Problem with MyItemCommand
Date: Wed, 15 Apr 2009 16:06:36 +0200 [thread overview]
Message-ID: <200904151606.36136.bbvogel@home.nl> (raw)
In-Reply-To: <alpine.LNX.2.00.0904130924510.28550@ybpnyubfg.ybpnyqbznva>
Dear all,
Is the following example still valid for MKIV or is it a bug?
%from:
%tex/context/base/strc-itm.tex
%
\def\MyItemCommand#1{{\bf#1}\quad}
\setupitemgroup[itemize][command=\MyItemCommand]
\starttext
\startitemize
\item {test} is this okay?
\item {test} is this okay?
\item {test} is this okay?
\stopitemize
\stoptext
This is the error I see:
This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7)
(myitemcommand.tex
ConTeXt ver: 2009.04.15 12:15 MKIV fmt: 2009.4.15 int: english/english
.............
..........
! Argument of \MyItemCommand has an extra }.
<inserted text>
\par
<to be read again>
}
\doifsomething #1->\edef \!!stringa {#1}
\ifx \!!stringa \empty
\expandafter ...
<argument> ...fsomething {command=\MyItemCommand }
{\ifcase
\currentitemleve...
\firstoftwoarguments #1#2->#1
\dodosetupitemgroup ...dodosetupitemgroup [#2][#3]
\doifsomething {#4}
{\dodod...
...
l.7
Regards,
B. Vogel
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-04-15 14:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 9:01 Umlaute in Formula Florian M. Baudach
2009-04-13 9:16 ` Mojca Miklavec
2009-04-13 13:27 ` Aditya Mahajan
2009-04-13 18:14 ` Florian M. Baudach
2009-04-13 18:40 ` Mojca Miklavec
2009-04-15 14:06 ` bbvogel [this message]
2009-04-16 13:14 ` Problem with MyItemCommand Hans Hagen
2009-04-20 7:38 ` E. Witbreuk
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=200904151606.36136.bbvogel@home.nl \
--to=bbvogel@home.nl \
--cc=ntg-context@ntg.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).