Re: scalable braces in math mode

2005-12-12 Thread Jean-Marc Lasgouttes
 Nusret == Nusret BALCI [EMAIL PROTECTED] writes:

Nusret \bind M-m ~C-~M-~S-braceleft math-delim { }

Nusret That's a problem at least if your keyboard is a cheap standard
Nusret one like mine (In fact, I don't even have an AltGr key,
Nusret instead I use Ctrl+Alt when needed). It is like turning on
Nusret caps lock, and then pressing Shift+A to obtain 'A' :). After I
Nusret change it to the following:

Nusret \bind M-m ~C-~M-~S-bracketleft math-delim { }

Nusret everything works alright.

Nusret Do you have any idea what those ~'s stand for though?

They mean do not look at those modifiers. So basically, anything
that leads to a braceleft { character should be OK. I am surprised that
you would have to use a bracketleft [.

JMarc


Re: scalable braces in math mode

2005-12-12 Thread Jean-Marc Lasgouttes
 Nusret == Nusret BALCI [EMAIL PROTECTED] writes:

Nusret I use sciword binding file. It supposedly includes the
Nusret math.bind file which contains the binding you mentioned (but
Nusret without AltGr). However it didn't work. I tried to find the
Nusret reason and noticed that there is a typo in sciword.bind file:
Nusret it inclued maths.bind file (which doesn't exist) instead of
Nusret math.bind.

It is a typo indeed. I just fixed it.

Thanks.

JMarc


Re: scalable braces in math mode

2005-12-12 Thread Nusret BALCI
Jean-Marc,
After your remark I tried it again. Unfortunately,
(whether it's surprising I don't know) but M-m
~C-~M-~S-braceleft doesn't work; but if you put
bracketleft instead, it works. My system is Windows
XP, not linux: can this be the source of the problem?
I personally solved my problem by other means, though.

Regards (and thanks for the meaning of ~ in the given
context. it seems it's not used properly in math.bind
file, or it may have to do something with windows, or
maybe... I don't know :))

Regards,

Nusret


--- Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:

  Nusret == Nusret BALCI [EMAIL PROTECTED]
 writes:
 
 Nusret \bind M-m ~C-~M-~S-braceleft math-delim {
 }
 
 Nusret That's a problem at least if your keyboard
 is a cheap standard
 Nusret one like mine (In fact, I don't even have an
 AltGr key,
 Nusret instead I use Ctrl+Alt when needed). It is
 like turning on
 Nusret caps lock, and then pressing Shift+A to
 obtain 'A' :). After I
 Nusret change it to the following:
 
 Nusret \bind M-m ~C-~M-~S-bracketleft math-delim
 { }
 
 Nusret everything works alright.
 
 Nusret Do you have any idea what those ~'s stand
 for though?
 
 They mean do not look at those modifiers. So
 basically, anything
 that leads to a braceleft { character should be
 OK. I am surprised that
 you would have to use a bracketleft [.
 
 JMarc
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode (sciword.bind overhaul is needed)

2005-12-12 Thread Nusret BALCI
Jean-Marc,
As you said you fixed the typo, I thought you may be
maintaining the binding files. Excuse me if that's not
the case. But if so, I had many problems with
sciword.bind file. As an example,

\bind C-S-bar math-delim | |
\bind C-S-brokenbar   math-delim | |
\bind C-M-bar math-delim | |
 None of the above works on my system. I had to change
bar's to backslash (without quotes). 
Similarly,
\bind S-C-braceleft   math-delim { }
\bind S-C-braceright  math-delim { }
don't work, I needed bracketleft, etc.

But interestingly (I've just noticed this one), if you
replace C key with M key, you can use bar or
braceleft, etc. OK with M, but not OK with C. Isn't
this interesting?

I thought this feedback may help the maintainer. 

Best regards,

Nusret


--- Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:

  Nusret == Nusret BALCI [EMAIL PROTECTED]
 writes:
 
 Nusret I use sciword binding file. It supposedly
 includes the
 Nusret math.bind file which contains the binding
 you mentioned (but
 Nusret without AltGr). However it didn't work. I
 tried to find the
 Nusret reason and noticed that there is a typo in
 sciword.bind file:
 Nusret it inclued maths.bind file (which doesn't
 exist) instead of
 Nusret math.bind.
 
 It is a typo indeed. I just fixed it.
 
 Thanks.
 
 JMarc
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-12 Thread Jean-Marc Lasgouttes
 Nusret == Nusret BALCI [EMAIL PROTECTED] writes:

Nusret \bind M-m ~C-~M-~S-braceleft math-delim { }

Nusret That's a problem at least if your keyboard is a cheap standard
Nusret one like mine (In fact, I don't even have an AltGr key,
Nusret instead I use Ctrl+Alt when needed). It is like turning on
Nusret caps lock, and then pressing Shift+A to obtain 'A' :). After I
Nusret change it to the following:

Nusret \bind M-m ~C-~M-~S-bracketleft math-delim { }

Nusret everything works alright.

Nusret Do you have any idea what those ~'s stand for though?

They mean do not look at those modifiers. So basically, anything
that leads to a braceleft { character should be OK. I am surprised that
you would have to use a bracketleft [.

JMarc


Re: scalable braces in math mode

2005-12-12 Thread Jean-Marc Lasgouttes
 Nusret == Nusret BALCI [EMAIL PROTECTED] writes:

Nusret I use sciword binding file. It supposedly includes the
Nusret math.bind file which contains the binding you mentioned (but
Nusret without AltGr). However it didn't work. I tried to find the
Nusret reason and noticed that there is a typo in sciword.bind file:
Nusret it inclued maths.bind file (which doesn't exist) instead of
Nusret math.bind.

It is a typo indeed. I just fixed it.

Thanks.

JMarc


Re: scalable braces in math mode

2005-12-12 Thread Nusret BALCI
Jean-Marc,
After your remark I tried it again. Unfortunately,
(whether it's surprising I don't know) but M-m
~C-~M-~S-braceleft doesn't work; but if you put
bracketleft instead, it works. My system is Windows
XP, not linux: can this be the source of the problem?
I personally solved my problem by other means, though.

Regards (and thanks for the meaning of ~ in the given
context. it seems it's not used properly in math.bind
file, or it may have to do something with windows, or
maybe... I don't know :))

Regards,

Nusret


--- Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:

  Nusret == Nusret BALCI [EMAIL PROTECTED]
 writes:
 
 Nusret \bind M-m ~C-~M-~S-braceleft math-delim {
 }
 
 Nusret That's a problem at least if your keyboard
 is a cheap standard
 Nusret one like mine (In fact, I don't even have an
 AltGr key,
 Nusret instead I use Ctrl+Alt when needed). It is
 like turning on
 Nusret caps lock, and then pressing Shift+A to
 obtain 'A' :). After I
 Nusret change it to the following:
 
 Nusret \bind M-m ~C-~M-~S-bracketleft math-delim
 { }
 
 Nusret everything works alright.
 
 Nusret Do you have any idea what those ~'s stand
 for though?
 
 They mean do not look at those modifiers. So
 basically, anything
 that leads to a braceleft { character should be
 OK. I am surprised that
 you would have to use a bracketleft [.
 
 JMarc
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode (sciword.bind overhaul is needed)

2005-12-12 Thread Nusret BALCI
Jean-Marc,
As you said you fixed the typo, I thought you may be
maintaining the binding files. Excuse me if that's not
the case. But if so, I had many problems with
sciword.bind file. As an example,

\bind C-S-bar math-delim | |
\bind C-S-brokenbar   math-delim | |
\bind C-M-bar math-delim | |
 None of the above works on my system. I had to change
bar's to backslash (without quotes). 
Similarly,
\bind S-C-braceleft   math-delim { }
\bind S-C-braceright  math-delim { }
don't work, I needed bracketleft, etc.

But interestingly (I've just noticed this one), if you
replace C key with M key, you can use bar or
braceleft, etc. OK with M, but not OK with C. Isn't
this interesting?

I thought this feedback may help the maintainer. 

Best regards,

Nusret


--- Jean-Marc Lasgouttes
[EMAIL PROTECTED] wrote:

  Nusret == Nusret BALCI [EMAIL PROTECTED]
 writes:
 
 Nusret I use sciword binding file. It supposedly
 includes the
 Nusret math.bind file which contains the binding
 you mentioned (but
 Nusret without AltGr). However it didn't work. I
 tried to find the
 Nusret reason and noticed that there is a typo in
 sciword.bind file:
 Nusret it inclued maths.bind file (which doesn't
 exist) instead of
 Nusret math.bind.
 
 It is a typo indeed. I just fixed it.
 
 Thanks.
 
 JMarc
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-12 Thread Jean-Marc Lasgouttes
> "Nusret" == Nusret BALCI <[EMAIL PROTECTED]> writes:

Nusret> \bind "M-m ~C-~M-~S-braceleft" "math-delim { }"

Nusret> That's a problem at least if your keyboard is a cheap standard
Nusret> one like mine (In fact, I don't even have an AltGr key,
Nusret> instead I use Ctrl+Alt when needed). It is like turning on
Nusret> caps lock, and then pressing Shift+A to obtain 'A' :). After I
Nusret> change it to the following:

Nusret> \bind "M-m ~C-~M-~S-bracketleft" "math-delim { }"

Nusret> everything works alright.

Nusret> Do you have any idea what those ~'s stand for though?

They mean "do not look at those modifiers". So basically, anything
that leads to a braceleft "{" character should be OK. I am surprised that
you would have to use a bracketleft "[".

JMarc


Re: scalable braces in math mode

2005-12-12 Thread Jean-Marc Lasgouttes
> "Nusret" == Nusret BALCI <[EMAIL PROTECTED]> writes:

Nusret> I use sciword binding file. It supposedly includes the
Nusret> math.bind file which contains the binding you mentioned (but
Nusret> without AltGr). However it didn't work. I tried to find the
Nusret> reason and noticed that there is a typo in sciword.bind file:
Nusret> it inclued "maths.bind" file (which doesn't exist) instead of
Nusret> "math.bind".

It is a typo indeed. I just fixed it.

Thanks.

JMarc


Re: scalable braces in math mode

2005-12-12 Thread Nusret BALCI
Jean-Marc,
After your remark I tried it again. Unfortunately,
(whether it's surprising I don't know) but M-m
~C-~M-~S-braceleft doesn't work; but if you put
bracketleft instead, it works. My system is Windows
XP, not linux: can this be the source of the problem?
I personally solved my problem by other means, though.

Regards (and thanks for the meaning of ~ in the given
context. it seems it's not used properly in math.bind
file, or it may have to do something with windows, or
maybe... I don't know :))

Regards,

Nusret


--- Jean-Marc Lasgouttes
<[EMAIL PROTECTED]> wrote:

> > "Nusret" == Nusret BALCI <[EMAIL PROTECTED]>
> writes:
> 
> Nusret> \bind "M-m ~C-~M-~S-braceleft" "math-delim {
> }"
> 
> Nusret> That's a problem at least if your keyboard
> is a cheap standard
> Nusret> one like mine (In fact, I don't even have an
> AltGr key,
> Nusret> instead I use Ctrl+Alt when needed). It is
> like turning on
> Nusret> caps lock, and then pressing Shift+A to
> obtain 'A' :). After I
> Nusret> change it to the following:
> 
> Nusret> \bind "M-m ~C-~M-~S-bracketleft" "math-delim
> { }"
> 
> Nusret> everything works alright.
> 
> Nusret> Do you have any idea what those ~'s stand
> for though?
> 
> They mean "do not look at those modifiers". So
> basically, anything
> that leads to a braceleft "{" character should be
> OK. I am surprised that
> you would have to use a bracketleft "[".
> 
> JMarc
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode (sciword.bind overhaul is needed)

2005-12-12 Thread Nusret BALCI
Jean-Marc,
As you said you fixed the typo, I thought you may be
maintaining the binding files. Excuse me if that's not
the case. But if so, I had many problems with
sciword.bind file. As an example,

\bind "C-S-bar" "math-delim | |"
\bind "C-S-brokenbar"   "math-delim | |"
\bind "C-M-bar" "math-delim | |"
 None of the above works on my system. I had to change
"bar"'s to "backslash" (without quotes). 
Similarly,
\bind "S-C-braceleft"   "math-delim { }"
\bind "S-C-braceright"  "math-delim { }"
don't work, I needed "bracketleft", etc.

But interestingly (I've just noticed this one), if you
replace C key with M key, you can use bar or
braceleft, etc. OK with M, but not OK with C. Isn't
this interesting?

I thought this feedback may help the maintainer. 

Best regards,

Nusret


--- Jean-Marc Lasgouttes
<[EMAIL PROTECTED]> wrote:

> > "Nusret" == Nusret BALCI <[EMAIL PROTECTED]>
> writes:
> 
> Nusret> I use sciword binding file. It supposedly
> includes the
> Nusret> math.bind file which contains the binding
> you mentioned (but
> Nusret> without AltGr). However it didn't work. I
> tried to find the
> Nusret> reason and noticed that there is a typo in
> sciword.bind file:
> Nusret> it inclued "maths.bind" file (which doesn't
> exist) instead of
> Nusret> "math.bind".
> 
> It is a typo indeed. I just fixed it.
> 
> Thanks.
> 
> JMarc
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-11 Thread Paul Smith
On 12/11/05, Nusret BALCI [EMAIL PROTECTED] wrote:
 Thank you Paul. By the way, your suggestion uncovered
 just another minor issue: I use sciword binding file.
 It supposedly includes the math.bind file which
 contains the binding you mentioned (but without
 AltGr). However it didn't work. I tried to find the
 reason and noticed that there is a typo in
 sciword.bind file: it inclued maths.bind file (which
 doesn't exist) instead of math.bind. Just in case
 anyone runs into the same problem...

Nusret,

Alternatively, you can insert the braces from menus with

Insert -- Math -- Math panel

Paul


Re: scalable braces in math mode

2005-12-11 Thread Nusret BALCI
Paul,
I found out why your first suggestion didn't work on
my computer even after I corrected the typo
maths.bind in the sciword.bind file. I don't know
whether this works on Linux systems or not. However,
in the math.bind file I had the following:

\bind M-m ~C-~M-~S-braceleft  math-delim { }

That's a problem at least if your keyboard is a cheap
standard one like mine (In fact, I don't even have an
AltGr key, instead I use Ctrl+Alt when needed). It is
like turning on caps lock, and then pressing Shift+A
to obtain 'A' :). After I change it to the following: 

\bind M-m ~C-~M-~S-bracketleftmath-delim { }

everything works alright.

The reason I try to avoid the math panel is that I
like not to use mouse when I type as my documents
consists mainly of mathematics, and math panel serves
best if I use it only when I absolutely need it.

Do you have any idea what those ~'s stand for though?

Thank you!

Nusret




--- Paul Smith [EMAIL PROTECTED] wrote:

 On 12/11/05, Nusret BALCI [EMAIL PROTECTED]
 wrote:
  Thank you Paul. By the way, your suggestion
 uncovered
  just another minor issue: I use sciword binding
 file.
  It supposedly includes the math.bind file which
  contains the binding you mentioned (but without
  AltGr). However it didn't work. I tried to find
 the
  reason and noticed that there is a typo in
  sciword.bind file: it inclued maths.bind file
 (which
  doesn't exist) instead of math.bind. Just in
 case
  anyone runs into the same problem...
 
 Nusret,
 
 Alternatively, you can insert the braces from menus
 with
 
 Insert -- Math -- Math panel
 
 Paul
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-11 Thread Paul A. Rubin

Nusret BALCI wrote:

The following doesn't harm in any serious way, but
it's a curious behavior. 


I think Lyx doesn't handle well commands like \left\{,
 \right\{


Try \left\lbrace and \right\rbrace.


\left(, \right),


These work fine for me.


etc. from the user interface.
Especially try the ones for braces, you'll see what I
mean. Interestingly, when you write first 
\left(  \right),  and then place the cursor between

the parentheses, Lyx allows you to write between
\right  and ) for example. it's hard to notice this,
as the only visual hint is an invisible slim extra
space before ) caused by \right. This causes latex
errors.


I agree that this comes as a bit of an ambush the first time.  There is 
another visual cue, though.  Look at the status line at the bottom of 
the window.  When you are between \left or \right and the corresponding 
brace/bracket, you'll see 'Symbol: left' or 'Symbol: right' at the end 
of the status message.  Once you get used to the fact that the \left or 
\right command is treated as separate from the bracketing symbol, and 
learn to keep an eye on the status line, it's not too bad.


Paul



Re: scalable braces in math mode

2005-12-11 Thread Nusret BALCI
I didn't notice the status bar change, indeed :).
Anyways, thanks to initial problem I learned quite a
bit about the key binding files and customized my
favorite one to my liking (well, still it needs some
work, but much better). Thanks for helpful comments.
Regards,
Nusret

--- Paul A. Rubin [EMAIL PROTECTED] wrote:

 Nusret BALCI wrote:
  The following doesn't harm in any serious way, but
  it's a curious behavior. 
  
  I think Lyx doesn't handle well commands like
 \left\{,
   \right\{
 
 Try \left\lbrace and \right\rbrace.
 
  \left(, \right),
 
 These work fine for me.
 
  etc. from the user interface.
  Especially try the ones for braces, you'll see
 what I
  mean. Interestingly, when you write first 
  \left(  \right),  and then place the cursor
 between
  the parentheses, Lyx allows you to write between
  \right  and ) for example. it's hard to notice
 this,
  as the only visual hint is an invisible slim extra
  space before ) caused by \right. This causes latex
  errors.
 
 I agree that this comes as a bit of an ambush the
 first time.  There is 
 another visual cue, though.  Look at the status line
 at the bottom of 
 the window.  When you are between \left or \right
 and the corresponding 
 brace/bracket, you'll see 'Symbol: left' or 'Symbol:
 right' at the end 
 of the status message.  Once you get used to the
 fact that the \left or 
 \right command is treated as separate from the
 bracketing symbol, and 
 learn to keep an eye on the status line, it's not
 too bad.
 
 Paul
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-11 Thread Paul Smith
On 12/11/05, Nusret BALCI [EMAIL PROTECTED] wrote:
 Thank you Paul. By the way, your suggestion uncovered
 just another minor issue: I use sciword binding file.
 It supposedly includes the math.bind file which
 contains the binding you mentioned (but without
 AltGr). However it didn't work. I tried to find the
 reason and noticed that there is a typo in
 sciword.bind file: it inclued maths.bind file (which
 doesn't exist) instead of math.bind. Just in case
 anyone runs into the same problem...

Nusret,

Alternatively, you can insert the braces from menus with

Insert -- Math -- Math panel

Paul


Re: scalable braces in math mode

2005-12-11 Thread Nusret BALCI
Paul,
I found out why your first suggestion didn't work on
my computer even after I corrected the typo
maths.bind in the sciword.bind file. I don't know
whether this works on Linux systems or not. However,
in the math.bind file I had the following:

\bind M-m ~C-~M-~S-braceleft  math-delim { }

That's a problem at least if your keyboard is a cheap
standard one like mine (In fact, I don't even have an
AltGr key, instead I use Ctrl+Alt when needed). It is
like turning on caps lock, and then pressing Shift+A
to obtain 'A' :). After I change it to the following: 

\bind M-m ~C-~M-~S-bracketleftmath-delim { }

everything works alright.

The reason I try to avoid the math panel is that I
like not to use mouse when I type as my documents
consists mainly of mathematics, and math panel serves
best if I use it only when I absolutely need it.

Do you have any idea what those ~'s stand for though?

Thank you!

Nusret




--- Paul Smith [EMAIL PROTECTED] wrote:

 On 12/11/05, Nusret BALCI [EMAIL PROTECTED]
 wrote:
  Thank you Paul. By the way, your suggestion
 uncovered
  just another minor issue: I use sciword binding
 file.
  It supposedly includes the math.bind file which
  contains the binding you mentioned (but without
  AltGr). However it didn't work. I tried to find
 the
  reason and noticed that there is a typo in
  sciword.bind file: it inclued maths.bind file
 (which
  doesn't exist) instead of math.bind. Just in
 case
  anyone runs into the same problem...
 
 Nusret,
 
 Alternatively, you can insert the braces from menus
 with
 
 Insert -- Math -- Math panel
 
 Paul
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-11 Thread Paul A. Rubin

Nusret BALCI wrote:

The following doesn't harm in any serious way, but
it's a curious behavior. 


I think Lyx doesn't handle well commands like \left\{,
 \right\{


Try \left\lbrace and \right\rbrace.


\left(, \right),


These work fine for me.


etc. from the user interface.
Especially try the ones for braces, you'll see what I
mean. Interestingly, when you write first 
\left(  \right),  and then place the cursor between

the parentheses, Lyx allows you to write between
\right  and ) for example. it's hard to notice this,
as the only visual hint is an invisible slim extra
space before ) caused by \right. This causes latex
errors.


I agree that this comes as a bit of an ambush the first time.  There is 
another visual cue, though.  Look at the status line at the bottom of 
the window.  When you are between \left or \right and the corresponding 
brace/bracket, you'll see 'Symbol: left' or 'Symbol: right' at the end 
of the status message.  Once you get used to the fact that the \left or 
\right command is treated as separate from the bracketing symbol, and 
learn to keep an eye on the status line, it's not too bad.


Paul



Re: scalable braces in math mode

2005-12-11 Thread Nusret BALCI
I didn't notice the status bar change, indeed :).
Anyways, thanks to initial problem I learned quite a
bit about the key binding files and customized my
favorite one to my liking (well, still it needs some
work, but much better). Thanks for helpful comments.
Regards,
Nusret

--- Paul A. Rubin [EMAIL PROTECTED] wrote:

 Nusret BALCI wrote:
  The following doesn't harm in any serious way, but
  it's a curious behavior. 
  
  I think Lyx doesn't handle well commands like
 \left\{,
   \right\{
 
 Try \left\lbrace and \right\rbrace.
 
  \left(, \right),
 
 These work fine for me.
 
  etc. from the user interface.
  Especially try the ones for braces, you'll see
 what I
  mean. Interestingly, when you write first 
  \left(  \right),  and then place the cursor
 between
  the parentheses, Lyx allows you to write between
  \right  and ) for example. it's hard to notice
 this,
  as the only visual hint is an invisible slim extra
  space before ) caused by \right. This causes latex
  errors.
 
 I agree that this comes as a bit of an ambush the
 first time.  There is 
 another visual cue, though.  Look at the status line
 at the bottom of 
 the window.  When you are between \left or \right
 and the corresponding 
 brace/bracket, you'll see 'Symbol: left' or 'Symbol:
 right' at the end 
 of the status message.  Once you get used to the
 fact that the \left or 
 \right command is treated as separate from the
 bracketing symbol, and 
 learn to keep an eye on the status line, it's not
 too bad.
 
 Paul
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-11 Thread Paul Smith
On 12/11/05, Nusret BALCI <[EMAIL PROTECTED]> wrote:
> Thank you Paul. By the way, your suggestion uncovered
> just another minor issue: I use sciword binding file.
> It supposedly includes the math.bind file which
> contains the binding you mentioned (but without
> AltGr). However it didn't work. I tried to find the
> reason and noticed that there is a typo in
> sciword.bind file: it inclued "maths.bind" file (which
> doesn't exist) instead of "math.bind". Just in case
> anyone runs into the same problem...

Nusret,

Alternatively, you can insert the braces from menus with

Insert --> Math --> Math panel

Paul


Re: scalable braces in math mode

2005-12-11 Thread Nusret BALCI
Paul,
I found out why your first suggestion didn't work on
my computer even after I corrected the typo
"maths.bind" in the sciword.bind file. I don't know
whether this works on Linux systems or not. However,
in the math.bind file I had the following:

\bind "M-m ~C-~M-~S-braceleft"  "math-delim { }"

That's a problem at least if your keyboard is a cheap
standard one like mine (In fact, I don't even have an
AltGr key, instead I use Ctrl+Alt when needed). It is
like turning on caps lock, and then pressing Shift+A
to obtain 'A' :). After I change it to the following: 

\bind "M-m ~C-~M-~S-bracketleft""math-delim { }"

everything works alright.

The reason I try to avoid the math panel is that I
like not to use mouse when I type as my documents
consists mainly of mathematics, and math panel serves
best if I use it only when I absolutely need it.

Do you have any idea what those ~'s stand for though?

Thank you!

Nusret




--- Paul Smith <[EMAIL PROTECTED]> wrote:

> On 12/11/05, Nusret BALCI <[EMAIL PROTECTED]>
> wrote:
> > Thank you Paul. By the way, your suggestion
> uncovered
> > just another minor issue: I use sciword binding
> file.
> > It supposedly includes the math.bind file which
> > contains the binding you mentioned (but without
> > AltGr). However it didn't work. I tried to find
> the
> > reason and noticed that there is a typo in
> > sciword.bind file: it inclued "maths.bind" file
> (which
> > doesn't exist) instead of "math.bind". Just in
> case
> > anyone runs into the same problem...
> 
> Nusret,
> 
> Alternatively, you can insert the braces from menus
> with
> 
> Insert --> Math --> Math panel
> 
> Paul
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-11 Thread Paul A. Rubin

Nusret BALCI wrote:

The following doesn't harm in any serious way, but
it's a curious behavior. 


I think Lyx doesn't handle well commands like \left\{,
 \right\{


Try \left\lbrace and \right\rbrace.


\left(, \right),


These work fine for me.


etc. from the user interface.
Especially try the ones for braces, you'll see what I
mean. Interestingly, when you write first 
\left(  \right),  and then place the cursor between

the parentheses, Lyx allows you to write between
\right  and ) for example. it's hard to notice this,
as the only visual hint is an invisible slim extra
space before ) caused by \right. This causes latex
errors.


I agree that this comes as a bit of an ambush the first time.  There is 
another visual cue, though.  Look at the status line at the bottom of 
the window.  When you are between \left or \right and the corresponding 
brace/bracket, you'll see 'Symbol: left' or 'Symbol: right' at the end 
of the status message.  Once you get used to the fact that the \left or 
\right command is treated as separate from the bracketing symbol, and 
learn to keep an eye on the status line, it's not too bad.


Paul



Re: scalable braces in math mode

2005-12-11 Thread Nusret BALCI
I didn't notice the status bar change, indeed :).
Anyways, thanks to initial problem I learned quite a
bit about the key binding files and customized my
favorite one to my liking (well, still it needs some
work, but much better). Thanks for helpful comments.
Regards,
Nusret

--- "Paul A. Rubin" <[EMAIL PROTECTED]> wrote:

> Nusret BALCI wrote:
> > The following doesn't harm in any serious way, but
> > it's a curious behavior. 
> > 
> > I think Lyx doesn't handle well commands like
> \left\{,
> >  \right\{
> 
> Try \left\lbrace and \right\rbrace.
> 
> > \left(, \right),
> 
> These work fine for me.
> 
> > etc. from the user interface.
> > Especially try the ones for braces, you'll see
> what I
> > mean. Interestingly, when you write first 
> > \left(  \right),  and then place the cursor
> between
> > the parentheses, Lyx allows you to write between
> > \right  and ) for example. it's hard to notice
> this,
> > as the only visual hint is an invisible slim extra
> > space before ) caused by \right. This causes latex
> > errors.
> 
> I agree that this comes as a bit of an ambush the
> first time.  There is 
> another visual cue, though.  Look at the status line
> at the bottom of 
> the window.  When you are between \left or \right
> and the corresponding 
> brace/bracket, you'll see 'Symbol: left' or 'Symbol:
> right' at the end 
> of the status message.  Once you get used to the
> fact that the \left or 
> \right command is treated as separate from the
> bracketing symbol, and 
> learn to keep an eye on the status line, it's not
> too bad.
> 
> Paul
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


scalable braces in math mode

2005-12-10 Thread Nusret BALCI
The following doesn't harm in any serious way, but
it's a curious behavior. 

I think Lyx doesn't handle well commands like \left\{,
 \right\{
\left(, \right), etc. from the user interface.
Especially try the ones for braces, you'll see what I
mean. Interestingly, when you write first 
\left(  \right),  and then place the cursor between
the parentheses, Lyx allows you to write between
\right  and ) for example. it's hard to notice this,
as the only visual hint is an invisible slim extra
space before ) caused by \right. This causes latex
errors.

As I said, I don't mean to complain needlessly, but I
thought it may help the developers to improve things
if they feel it's worth it.

Regards,

Nusret

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-10 Thread Paul Smith
On 12/11/05, Nusret BALCI [EMAIL PROTECTED] wrote:
 The following doesn't harm in any serious way, but
 it's a curious behavior.

 I think Lyx doesn't handle well commands like \left\{,
  \right\{
 \left(, \right), etc. from the user interface.
 Especially try the ones for braces, you'll see what I
 mean. Interestingly, when you write first
 \left(  \right),  and then place the cursor between
 the parentheses, Lyx allows you to write between
 \right  and ) for example. it's hard to notice this,
 as the only visual hint is an invisible slim extra
 space before ) caused by \right. This causes latex
 errors.

Nusret: use (inside math mode)

alt+m and then alt gr+ {

Good luck!

Paul


Re: scalable braces in math mode

2005-12-10 Thread Nusret BALCI
Thank you Paul. By the way, your suggestion uncovered
just another minor issue: I use sciword binding file.
It supposedly includes the math.bind file which
contains the binding you mentioned (but without
AltGr). However it didn't work. I tried to find the
reason and noticed that there is a typo in
sciword.bind file: it inclued maths.bind file (which
doesn't exist) instead of math.bind. Just in case
anyone runs into the same problem...
Regards,

Nusret

--- Paul Smith [EMAIL PROTECTED] wrote:

 On 12/11/05, Nusret BALCI [EMAIL PROTECTED]
 wrote:
  The following doesn't harm in any serious way, but
  it's a curious behavior.
 
  I think Lyx doesn't handle well commands like
 \left\{,
   \right\{
  \left(, \right), etc. from the user interface.
  Especially try the ones for braces, you'll see
 what I
  mean. Interestingly, when you write first
  \left(  \right),  and then place the cursor
 between
  the parentheses, Lyx allows you to write between
  \right  and ) for example. it's hard to notice
 this,
  as the only visual hint is an invisible slim extra
  space before ) caused by \right. This causes latex
  errors.
 
 Nusret: use (inside math mode)
 
 alt+m and then alt gr+ {
 
 Good luck!
 
 Paul
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


scalable braces in math mode

2005-12-10 Thread Nusret BALCI
The following doesn't harm in any serious way, but
it's a curious behavior. 

I think Lyx doesn't handle well commands like \left\{,
 \right\{
\left(, \right), etc. from the user interface.
Especially try the ones for braces, you'll see what I
mean. Interestingly, when you write first 
\left(  \right),  and then place the cursor between
the parentheses, Lyx allows you to write between
\right  and ) for example. it's hard to notice this,
as the only visual hint is an invisible slim extra
space before ) caused by \right. This causes latex
errors.

As I said, I don't mean to complain needlessly, but I
thought it may help the developers to improve things
if they feel it's worth it.

Regards,

Nusret

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-10 Thread Paul Smith
On 12/11/05, Nusret BALCI [EMAIL PROTECTED] wrote:
 The following doesn't harm in any serious way, but
 it's a curious behavior.

 I think Lyx doesn't handle well commands like \left\{,
  \right\{
 \left(, \right), etc. from the user interface.
 Especially try the ones for braces, you'll see what I
 mean. Interestingly, when you write first
 \left(  \right),  and then place the cursor between
 the parentheses, Lyx allows you to write between
 \right  and ) for example. it's hard to notice this,
 as the only visual hint is an invisible slim extra
 space before ) caused by \right. This causes latex
 errors.

Nusret: use (inside math mode)

alt+m and then alt gr+ {

Good luck!

Paul


Re: scalable braces in math mode

2005-12-10 Thread Nusret BALCI
Thank you Paul. By the way, your suggestion uncovered
just another minor issue: I use sciword binding file.
It supposedly includes the math.bind file which
contains the binding you mentioned (but without
AltGr). However it didn't work. I tried to find the
reason and noticed that there is a typo in
sciword.bind file: it inclued maths.bind file (which
doesn't exist) instead of math.bind. Just in case
anyone runs into the same problem...
Regards,

Nusret

--- Paul Smith [EMAIL PROTECTED] wrote:

 On 12/11/05, Nusret BALCI [EMAIL PROTECTED]
 wrote:
  The following doesn't harm in any serious way, but
  it's a curious behavior.
 
  I think Lyx doesn't handle well commands like
 \left\{,
   \right\{
  \left(, \right), etc. from the user interface.
  Especially try the ones for braces, you'll see
 what I
  mean. Interestingly, when you write first
  \left(  \right),  and then place the cursor
 between
  the parentheses, Lyx allows you to write between
  \right  and ) for example. it's hard to notice
 this,
  as the only visual hint is an invisible slim extra
  space before ) caused by \right. This causes latex
  errors.
 
 Nusret: use (inside math mode)
 
 alt+m and then alt gr+ {
 
 Good luck!
 
 Paul
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


scalable braces in math mode

2005-12-10 Thread Nusret BALCI
The following doesn't harm in any serious way, but
it's a curious behavior. 

I think Lyx doesn't handle well commands like \left\{,
 \right\{
\left(, \right), etc. from the user interface.
Especially try the ones for braces, you'll see what I
mean. Interestingly, when you write first 
\left(  \right),  and then place the cursor between
the parentheses, Lyx allows you to write between
\right  and ) for example. it's hard to notice this,
as the only visual hint is an invisible slim extra
space before ) caused by \right. This causes latex
errors.

As I said, I don't mean to complain needlessly, but I
thought it may help the developers to improve things
if they feel it's worth it.

Regards,

Nusret

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: scalable braces in math mode

2005-12-10 Thread Paul Smith
On 12/11/05, Nusret BALCI <[EMAIL PROTECTED]> wrote:
> The following doesn't harm in any serious way, but
> it's a curious behavior.
>
> I think Lyx doesn't handle well commands like \left\{,
>  \right\{
> \left(, \right), etc. from the user interface.
> Especially try the ones for braces, you'll see what I
> mean. Interestingly, when you write first
> \left(  \right),  and then place the cursor between
> the parentheses, Lyx allows you to write between
> \right  and ) for example. it's hard to notice this,
> as the only visual hint is an invisible slim extra
> space before ) caused by \right. This causes latex
> errors.

Nusret: use (inside math mode)

alt+m and then alt gr+ {

Good luck!

Paul


Re: scalable braces in math mode

2005-12-10 Thread Nusret BALCI
Thank you Paul. By the way, your suggestion uncovered
just another minor issue: I use sciword binding file.
It supposedly includes the math.bind file which
contains the binding you mentioned (but without
AltGr). However it didn't work. I tried to find the
reason and noticed that there is a typo in
sciword.bind file: it inclued "maths.bind" file (which
doesn't exist) instead of "math.bind". Just in case
anyone runs into the same problem...
Regards,

Nusret

--- Paul Smith <[EMAIL PROTECTED]> wrote:

> On 12/11/05, Nusret BALCI <[EMAIL PROTECTED]>
> wrote:
> > The following doesn't harm in any serious way, but
> > it's a curious behavior.
> >
> > I think Lyx doesn't handle well commands like
> \left\{,
> >  \right\{
> > \left(, \right), etc. from the user interface.
> > Especially try the ones for braces, you'll see
> what I
> > mean. Interestingly, when you write first
> > \left(  \right),  and then place the cursor
> between
> > the parentheses, Lyx allows you to write between
> > \right  and ) for example. it's hard to notice
> this,
> > as the only visual hint is an invisible slim extra
> > space before ) caused by \right. This causes latex
> > errors.
> 
> Nusret: use (inside math mode)
> 
> alt+m and then alt gr+ {
> 
> Good luck!
> 
> Paul
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com