[NTG-context] "[" at beginning of formula ?

2004-11-16 Thread Matthias Weber
Hello,
I'd like to typeset
[\partial,B]=0
but
\starttext
\placeformula
\startformula
0=  [ A ,B ] = 0
\stopformula
gives just "=0"
(see below)
while
\stoptext
\starttext
\placeformula
\startformula
0=  [ A ,B ]
\stopformula
\stoptext
works. What is  the meaning of [ at the beginning of a formula,
and how do I get rid of it?
Matthias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] "[" at beginning of formula ?

2004-11-16 Thread h h extern
Matthias Weber wrote:
Hello,
I'd like to typeset
[\partial,B]=0
but
\starttext
\placeformula
\startformula
0=  [ A ,B ] = 0
\stopformula
gives just "=0"
(see below)
while
\stoptext
\starttext
\placeformula
\startformula
0=  [ A ,B ]
\stopformula
\stoptext
works. What is  the meaning of [ at the beginning of a formula,
and how do I get rid of it?
there is a forward scan for [ ] i.e. a reference
just put a \relax in front of your intentional [
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] "[" at beginning of formula ?

2004-11-16 Thread Matthias Weber
Thanks!
Matthias
On Nov 16, 2004, at 4:26 PM, h h extern wrote:
Matthias Weber wrote:
Hello,
I'd like to typeset
[\partial,B]=0
but
\starttext
\placeformula
\startformula
0=  [ A ,B ] = 0
\stopformula
gives just "=0"
(see below)
while
\stoptext
\starttext
\placeformula
\startformula
0=  [ A ,B ]
\stopformula
\stoptext
works. What is  the meaning of [ at the beginning of a formula,
and how do I get rid of it?
there is a forward scan for [ ] i.e. a reference
just put a \relax in front of your intentional [
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] "[" at beginning of formula ?

2004-11-17 Thread Otared Kavian
Title: Re: [NTG-context] "[" at beginning of
formula ?


At 15:29 -0500 16/11/04, Matthias Weber wrote:
Hello,

I'd like to typeset
[\partial,B]=0

Hi Matthias,

Despite Hans' suggestion of putting \relax in front of [, in my
installation of ConTeXt this works well:
\starttext
\startformula
0 =[\partial,B] =0.
\stopformula


Make sure there is no funny invisible characters in front of the
square brackets.

Best regards: OK



commutator.pdf
Description: Adobe PDF document
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] "[" at beginning of formula ?

2004-11-17 Thread Matthias Weber
Hi Otared,
the actual problem arises with
\starttext
 \startformula
[A,B] =0.
 \stopformula
\stoptext
or, even worse, with
\starttext
 \startformula
[\partial,B] =0.
 \stopformula
\stoptext
Hans' solution is to use \relax whenever one has a [ at the beginning 
of a formula:

\starttext
 \startformula
\relax
[\partial,B] =0.
 \stopformula
\stoptext
Matthias
On Nov 17, 2004, at 5:35 AM, Otared Kavian wrote:
At 15:29 -0500 16/11/04, Matthias Weber wrote:
Hello,
 I'd like to typeset
[\partial,B]=0
Hi Matthias,
Despite Hans' suggestion of putting \relax in front of [, in my 
installation of ConTeXt this works well:
\starttext
 \startformula
 0 =[\partial,B] =0.
 \stopformula

Make sure there is no funny invisible characters in front 
of the square brackets.

Best regards: OK
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] "[" at beginning of formula ?

2004-11-17 Thread Otared Kavian
At 7:57 -0500 17/11/04, Matthias Weber wrote:
Hi Otared,
the actual problem arises with
\starttext
 \startformula
[A,B] =0.
 \stopformula
\stoptext
or, even worse, with
\starttext
 \startformula
[\partial,B] =0.
 \stopformula
\stoptext
Hi Matthias,
Yes are right, indeed...
However I tried the following which works as well (replacing \relax 
with empty braces {}):

\starttext
\startformula
{}[\partial,B] =0.
\stopformula
and
\startformula
{}[A,B] =0.
\stopformula
\stoptext
Best regards: OK
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context