* Lists and alternative=command
@ 2012-05-17 18:29 Rogers, Michael K
2012-05-17 18:34 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Rogers, Michael K @ 2012-05-17 18:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the problem to this example:
\definelist [MyList]
\define[3]\MyListEntry{:#1:#2:#3:}
\setuplist [MyList] [alternative=command,command=\MyListEntry]
\starttext
\writetolist[MyList]{First}{Second}
\placelist[MyList]
\stoptext
It generates the following error three times, once per argument in \MyListEntry, I suppose.
ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.16 int: english/english
...
! Argument of \MyListEntry has an extra }.
system > tex > error on line 11 in file foo1789.tex: Argument of ...
1 \definelist [MyList]
2 \define[3]\MyListEntry{:#1:#2:#3:}
3 \setuplist [MyList] [alternative=command,command=\MyListEntry]
4 \starttext
5 \writetolist[MyList]{First}{Second}
6 \placelist[MyList]
7 \stoptext
<inserted text>
\par
<to be read again>
}
\12>:79>:command ...ernativeparameter \c!command }
\ifx \p_command \empty [\c...
\strc_lists_apply_renderingsetup ...nderingsetup }
\relax \the \t_lists_every...
\strclistsentryprocess ... \fi \fi \fi \endcsname
\dostoptagged \listextrapa...
l.11 {}
...
l.7 \stoptext
Thanks,
Michael
________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Lists and alternative=command
2012-05-17 18:29 Lists and alternative=command Rogers, Michael K
@ 2012-05-17 18:34 ` Wolfgang Schuster
2012-05-17 19:18 ` Rogers, Michael K
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-05-17 18:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.05.2012 um 20:29 schrieb Rogers, Michael K:
> I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the problem to this example:
>
> \definelist [MyList]
> \define[3]\MyListEntry{:#1:#2:#3:}
\unexpanded\def\MyListEntry#1#2#3{:#1:#2:#3:}
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] 3+ messages in thread
* Re: Lists and alternative=command
2012-05-17 18:34 ` Wolfgang Schuster
@ 2012-05-17 19:18 ` Rogers, Michael K
0 siblings, 0 replies; 3+ messages in thread
From: Rogers, Michael K @ 2012-05-17 19:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On May 17, 2012, at 2:34 PM, Wolfgang Schuster wrote:
>
> Am 17.05.2012 um 20:29 schrieb Rogers, Michael K:
>
>> I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the problem to this example:
>>
>> \definelist [MyList]
>> \define[3]\MyListEntry{:#1:#2:#3:}
>
> \unexpanded\def\MyListEntry#1#2#3{:#1:#2:#3:}
>
> Wolfgang
Thank you very much.
Michael
________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2012-05-17 19:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-17 18:29 Lists and alternative=command Rogers, Michael K
2012-05-17 18:34 ` Wolfgang Schuster
2012-05-17 19:18 ` Rogers, Michael K
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).