[NTG-context] Context math bug ??

2006-03-30 Thread WN
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context math bug ??

2006-03-30 Thread Aditya Mahajan
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context math bug ??

2006-03-30 Thread Taco Hoekwater

Hi Wim,

Why ??

Because of the optional argument of \startformula. Try this:

   \startformula \relax
   [ ..

Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context math bug ??

2006-03-30 Thread WN
[EMAIL PROTECTED] 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
   

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context