On Fri, 12 Mar 2010, Hans Hagen wrote:
fixed in next beta
The bug is still present in 2010.03.18. Here is a minimal example:
\definetype[typeTEX][option=tex, style=type]
\starttext
\placefigure
[top,bottom]
[fig:something]
{Do \type{\undefined} and \typeTEX{\undefined} work?}
{}
\stoptext
which gives
! Undefined control sequence.
\@@kjfiguretitle ->Do \type {\undefined
} and \typeTEX {\undefined } work?
\doif #1#2->\edef \!!stringa {#1
}\edef \!!stringb {#2}\ifx \!!stringa
\!!str...
\dostructurecountercomponent ...\c!title }\v!none
{\setfalse
\hasstructureco...
\docompletefloat ...c!title ={#4},\c!bookmark =][]
\globallet
\currentfloatnu...
<argument> ...ypeTEX {\undefined } work?}\nextbox
\else \docompletefloat
{fi...
\thirdofthreearguments #1#2#3->#3
! Undefined control sequence.
\@@kjfiguretitle ...ed } and \typeTEX {\undefined
} work?
\doif #1#2->\edef \!!stringa {#1
}\edef \!!stringb {#2}\ifx \!!stringa
\!!str...
\dostructurecountercomponent ...\c!title }\v!none
{\setfalse
\hasstructureco...
\docompletefloat ...c!title ={#4},\c!bookmark =][]
\globallet
\currentfloatnu...
<argument> ...ypeTEX {\undefined } work?}\nextbox
\else \docompletefloat
{fi...
\thirdofthreearguments #1#2#3->#3
...
l.8 {}
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________