* Context math bug ??
@ 2006-03-30 16:12 WN
2006-03-30 16:21 ` Aditya Mahajan
0 siblings, 1 reply; 4+ messages in thread
From: WN @ 2006-03-30 16:12 UTC (permalink / raw)
Hi
The following does not compile
\starttext
\startformula
[ {\bf{Q}},{\bf {R}} ] = {\bf{Q} } {\bf {R}} - \textbf{R} \textbf{Q}
\stopformula
\stopttext
Error ! Missing \endcsname inserted
.......
where as this compiles
\starttext
$$
[ {\bf{Q}},{\bf {R}} ] = {\bf{Q} } {\bf {R}} - \textbf{R} \textbf{Q}
$$
\stoptext
Why ??
Kind regards
Wim
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Context math bug ??
2006-03-30 16:12 Context math bug ?? WN
@ 2006-03-30 16:21 ` Aditya Mahajan
2006-03-30 17:37 ` Taco Hoekwater
2006-03-30 19:19 ` WN
0 siblings, 2 replies; 4+ messages in thread
From: Aditya Mahajan @ 2006-03-30 16:21 UTC (permalink / raw)
On Thu, 30 Mar 2006, WN wrote:
> Hi
>
> The following does not compile
> \starttext
> \startformula
> [ {\bf{Q}},{\bf {R}} ] = {\bf{Q} } {\bf {R}} - \textbf{R} \textbf{Q}
> \stopformula
> \stopttext
> Error ! Missing \endcsname inserted
> .......
>
> where as this compiles
>
> \starttext
> $$
> [ {\bf{Q}},{\bf {R}} ] = {\bf{Q} } {\bf {R}} - \textbf{R} \textbf{Q}
> $$
> \stoptext
>
> Why ??
How do you define \textbf?
Aditya
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Context math bug ??
2006-03-30 16:21 ` Aditya Mahajan
@ 2006-03-30 17:37 ` Taco Hoekwater
2006-03-30 19:19 ` WN
1 sibling, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2006-03-30 17:37 UTC (permalink / raw)
Hi Wim,
>>
>>Why ??
Because of the optional argument of \startformula. Try this:
\startformula \relax
[ ..
Greetings, Taco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Context math bug ??
2006-03-30 16:21 ` Aditya Mahajan
2006-03-30 17:37 ` Taco Hoekwater
@ 2006-03-30 19:19 ` WN
1 sibling, 0 replies; 4+ messages in thread
From: WN @ 2006-03-30 19:19 UTC (permalink / raw)
adityam@umich.edu wrote:
> On Thu, 30 Mar 2006, WN wrote:
>
>
>> Hi
>>
>> The following does not compile
>> \starttext
>> \startformula
>> [ {\bf{Q}},{\bf {R}} ] = {\bf{Q} } {\bf {R}} - \textbf{R} \textbf{Q}
>> \stopformula
>> \stopttext
>> Error ! Missing \endcsname inserted
>> .......
>>
>> where as this compiles
>>
>> \starttext
>> $$
>> [ {\bf{Q}},{\bf {R}} ] = {\bf{Q} } {\bf {R}} - \textbf{R} \textbf{Q}
>> $$
>> \stoptext
>>
>> Why ??
>>
Sorry about that, I was and am busy converting
my Latex code into Context
and forgot about this definition.
I defined \textbf as follows
\def\textbf#1{{\bf #1}}
BTW Taco already gave the answer. Thanks Taco
Thanks
Wim
> How do you define \textbf?
>
> Aditya
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-30 19:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30 16:12 Context math bug ?? WN
2006-03-30 16:21 ` Aditya Mahajan
2006-03-30 17:37 ` Taco Hoekwater
2006-03-30 19:19 ` WN
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).