This works fine: \starttext Here a type macro <\type{\abc}> \stoptext This also: \starttext \placetable{table \type{abc} title}{abc} \stoptext This too: \starttext \placetable{table \type{\blank} title}{abc} \stoptext But this gives an error (mind the \ before abc). \starttext \placetable{table \type{\abc} title}{abc} \stoptext Do I misinterprete something here? I just wanted to typeset "\abc" in the type-font. Why is the very first \abc treated as text to typeset but requires the placetable argument that it is an existing macro? Or isn't this the intended behaviour? Hans van der Meer Error log: system > tex > error on line 3 in file test.tex: Undefined control sequence ... 1 \starttext 2 %Here a type macro <\type{\abc}> 3 >> \placetable{table \type{\abc} title}{abc} 4 \stoptext 5 \@@kjtabletitle ->table \type {\abc } title \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 \previousfloatn... <argument> ...{table \type {\abc } title}\nextbox \else \docompletefloat {ta... \secondoftwoarguments #1#2->#2 ... l.3 \placetable{table \type{\abc} title}{abc}
Am 25.04.2011 um 22:05 schrieb Hans van der Meer:
This works fine: \starttext Here a type macro <\type{\abc}> \stoptext
This also: \starttext \placetable{table \type{abc} title}{abc} \stoptext
This too: \starttext \placetable{table \type{\blank} title}{abc} \stoptext
But this gives an error (mind the \ before abc). \starttext \placetable{table \type{\abc} title}{abc} \stoptext
Do I misinterprete something here? I just wanted to typeset "\abc" in the type-font.
Use \tex{abc}. Wolfgang
participants (2)
-
Hans van der Meer
-
Wolfgang Schuster