Re: really stupid simple maths keyboard command question

2003-03-11 Thread Andre Poenitz
On Tue, Mar 11, 2003 at 09:33:28AM +1030, Owen Lucas wrote:
 When in maths mode you can press meta-m and it allows you to type in 
 commands as shown in maths.bind. I can get the single character options 
 to work but cant get the multiple ones to key in. in the file maths.bind 
 these multi character commands start with. ~S- I assume that you need 
 to press or hold a key down a key first. what is it?

Looks like 'Shift'.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: really stupid simple maths keyboard command question

2003-03-11 Thread Jean-Marc Lasgouttes
 Owen == Owen Lucas [EMAIL PROTECTED] writes:


Owen O wait I get it now when you go meta-m and it gived you options
Owen like slash it means / not slash.

Indeed :) And concerning the ~S notation, it means the state of the
shift key is not relevant (this is useful because 2, for example,
will need shift on a french keyboard, but not on an US one).

JMarc



Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On 11 Mar 2003, Jean-Marc Lasgouttes wrote:

  Owen == Owen Lucas [EMAIL PROTECTED] writes:
 
 
 Owen O wait I get it now when you go meta-m and it gived you options
 Owen like slash it means / not slash.
 
 Indeed :) And concerning the ~S notation, it means the state of the
 shift key is not relevant (this is useful because 2, for example,
 will need shift on a french keyboard, but not on an US one).
 
Now I'm confused...

C-m starts math (inline mode)
S-C-m   starts math (display mode)

so there is a difference, i.e. S stands for Shift?

/Christian



-- 
Christian Ridderström   http://www.md.kth.se/~chr



Re: really stupid simple maths keyboard command question

2003-03-11 Thread Jean-Marc Lasgouttes
 Christian == Christian Ridderström [EMAIL PROTECTED] writes:

Christian On 11 Mar 2003, Jean-Marc Lasgouttes wrote:
  Owen == Owen Lucas [EMAIL PROTECTED] writes:
 
 
Owen O wait I get it now when you go meta-m and it gived you options
Owen like slash it means / not slash.
  Indeed :) And concerning the ~S notation, it means the state of
 the shift key is not relevant (this is useful because 2, for
 example, will need shift on a french keyboard, but not on an US
 one).
 
Christian Now I'm confused...

Christian  C-m starts math (inline mode) S-C-m starts math
Christian (display mode)

Christian so there is a difference, i.e. S stands for Shift?

Yes, S stands for shift, and ~S stands for don't worry about shift.

JMarc


Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On 11 Mar 2003, Jean-Marc Lasgouttes wrote:

  Christian == Christian Ridderström [EMAIL PROTECTED] writes:
 
 
 Yes, S stands for shift, and ~S stands for don't worry about shift.

Maybe I'm tired today... didn't see the '~' there. I've put some notes 
on this here:

http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings

A few questions though:

Here are some keybindings:
Bindning# Alt.
\bind C-a command1  # 1)
\bind C-A command2  # 2)
\bind C-S-a   command3  # 3)
\bind C-S-A   command4  # 4)
\bind C-~S-a  command5  # 5)

I'm guessing that:
C-a is not the same as C-A
C-S-a  can't be typed on the keyboard?
C-~S-a replaces C-a and C-S-A
C-A is equivalent to C-S-A ?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On Tue, 11 Mar 2003, Christian Ridderström wrote:

 On 11 Mar 2003, Jean-Marc Lasgouttes wrote:
 
   Christian == Christian Ridderström [EMAIL PROTECTED] writes:
  
  
  Yes, S stands for shift, and ~S stands for don't worry about shift.
 
 Maybe I'm tired today... didn't see the '~' there. I've put some notes 
 on this here:
 
   http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings
 
Some testing showed that:
C-a is equivalent to C-A
and
C-S-a is equivalent to C-S-A
and the order of the modifiers doesn't matter either, so:
C-S-a is equivalent to S-C-a

Furthermore, the last binding seem to override previous bindings, i.e.
\bind C-a self-insert a
\bind C-A self-insert A
means that pressing C-a will insert a 'A' (since C-a and C-A are 
equivalent).

The '~S' modifier seems to be an exception to overriding previous 
key bindings. Having only this binding:
\bind C-~S-a self-insert a
means that both C-a and C-S-a will insert a 'a'. However, in this 
case:
\bind C-a self-insert a
\bind C-S-A self-insert A
\bind C-~S-a self-insert b

pressing C-a - 'a' so C-S-A - A.  The binding C-~S-a is never 
activated. If one of the previous bindings are removed, i.e.

\bind C-S-A self-insert A
\bind C-~S-a self-insert b

then C-a - 'A' and C-S-a - b.  So bindings with the modifier ~S 
doesn't seem to override previous bindings.

Anyway, I put these notes here:

   http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings
for the future.

/Chrstian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: really stupid simple maths keyboard command question

2003-03-11 Thread Andre Poenitz
On Tue, Mar 11, 2003 at 09:33:28AM +1030, Owen Lucas wrote:
 When in maths mode you can press meta-m and it allows you to type in 
 commands as shown in maths.bind. I can get the single character options 
 to work but cant get the multiple ones to key in. in the file maths.bind 
 these multi character commands start with. ~S- I assume that you need 
 to press or hold a key down a key first. what is it?

Looks like 'Shift'.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: really stupid simple maths keyboard command question

2003-03-11 Thread Jean-Marc Lasgouttes
 Owen == Owen Lucas [EMAIL PROTECTED] writes:


Owen O wait I get it now when you go meta-m and it gived you options
Owen like slash it means / not slash.

Indeed :) And concerning the ~S notation, it means the state of the
shift key is not relevant (this is useful because 2, for example,
will need shift on a french keyboard, but not on an US one).

JMarc



Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On 11 Mar 2003, Jean-Marc Lasgouttes wrote:

  Owen == Owen Lucas [EMAIL PROTECTED] writes:
 
 
 Owen O wait I get it now when you go meta-m and it gived you options
 Owen like slash it means / not slash.
 
 Indeed :) And concerning the ~S notation, it means the state of the
 shift key is not relevant (this is useful because 2, for example,
 will need shift on a french keyboard, but not on an US one).
 
Now I'm confused...

C-m starts math (inline mode)
S-C-m   starts math (display mode)

so there is a difference, i.e. S stands for Shift?

/Christian



-- 
Christian Ridderström   http://www.md.kth.se/~chr



Re: really stupid simple maths keyboard command question

2003-03-11 Thread Jean-Marc Lasgouttes
 Christian == Christian Ridderström [EMAIL PROTECTED] writes:

Christian On 11 Mar 2003, Jean-Marc Lasgouttes wrote:
  Owen == Owen Lucas [EMAIL PROTECTED] writes:
 
 
Owen O wait I get it now when you go meta-m and it gived you options
Owen like slash it means / not slash.
  Indeed :) And concerning the ~S notation, it means the state of
 the shift key is not relevant (this is useful because 2, for
 example, will need shift on a french keyboard, but not on an US
 one).
 
Christian Now I'm confused...

Christian  C-m starts math (inline mode) S-C-m starts math
Christian (display mode)

Christian so there is a difference, i.e. S stands for Shift?

Yes, S stands for shift, and ~S stands for don't worry about shift.

JMarc


Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On 11 Mar 2003, Jean-Marc Lasgouttes wrote:

  Christian == Christian Ridderström [EMAIL PROTECTED] writes:
 
 
 Yes, S stands for shift, and ~S stands for don't worry about shift.

Maybe I'm tired today... didn't see the '~' there. I've put some notes 
on this here:

http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings

A few questions though:

Here are some keybindings:
Bindning# Alt.
\bind C-a command1  # 1)
\bind C-A command2  # 2)
\bind C-S-a   command3  # 3)
\bind C-S-A   command4  # 4)
\bind C-~S-a  command5  # 5)

I'm guessing that:
C-a is not the same as C-A
C-S-a  can't be typed on the keyboard?
C-~S-a replaces C-a and C-S-A
C-A is equivalent to C-S-A ?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On Tue, 11 Mar 2003, Christian Ridderström wrote:

 On 11 Mar 2003, Jean-Marc Lasgouttes wrote:
 
   Christian == Christian Ridderström [EMAIL PROTECTED] writes:
  
  
  Yes, S stands for shift, and ~S stands for don't worry about shift.
 
 Maybe I'm tired today... didn't see the '~' there. I've put some notes 
 on this here:
 
   http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings
 
Some testing showed that:
C-a is equivalent to C-A
and
C-S-a is equivalent to C-S-A
and the order of the modifiers doesn't matter either, so:
C-S-a is equivalent to S-C-a

Furthermore, the last binding seem to override previous bindings, i.e.
\bind C-a self-insert a
\bind C-A self-insert A
means that pressing C-a will insert a 'A' (since C-a and C-A are 
equivalent).

The '~S' modifier seems to be an exception to overriding previous 
key bindings. Having only this binding:
\bind C-~S-a self-insert a
means that both C-a and C-S-a will insert a 'a'. However, in this 
case:
\bind C-a self-insert a
\bind C-S-A self-insert A
\bind C-~S-a self-insert b

pressing C-a - 'a' so C-S-A - A.  The binding C-~S-a is never 
activated. If one of the previous bindings are removed, i.e.

\bind C-S-A self-insert A
\bind C-~S-a self-insert b

then C-a - 'A' and C-S-a - b.  So bindings with the modifier ~S 
doesn't seem to override previous bindings.

Anyway, I put these notes here:

   http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings
for the future.

/Chrstian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: really stupid simple maths keyboard command question

2003-03-11 Thread Andre Poenitz
On Tue, Mar 11, 2003 at 09:33:28AM +1030, Owen Lucas wrote:
> When in maths mode you can press meta-m and it allows you to type in 
> commands as shown in maths.bind. I can get the single character options 
> to work but cant get the multiple ones to key in. in the file maths.bind 
> these multi character commands start with. "~S-" I assume that you need 
> to press or hold a key down a key first. what is it?

Looks like 'Shift'.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: really stupid simple maths keyboard command question

2003-03-11 Thread Jean-Marc Lasgouttes
> "Owen" == Owen Lucas <[EMAIL PROTECTED]> writes:


Owen> O wait I get it now when you go meta-m and it gived you options
Owen> like slash it means "/" not "slash".

Indeed :) And concerning the ~S notation, it means "the state of the
shift key is not relevant" (this is useful because "2", for example,
will need shift on a french keyboard, but not on an US one).

JMarc



Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On 11 Mar 2003, Jean-Marc Lasgouttes wrote:

> > "Owen" == Owen Lucas <[EMAIL PROTECTED]> writes:
> 
> 
> Owen> O wait I get it now when you go meta-m and it gived you options
> Owen> like slash it means "/" not "slash".
> 
> Indeed :) And concerning the ~S notation, it means "the state of the
> shift key is not relevant" (this is useful because "2", for example,
> will need shift on a french keyboard, but not on an US one).
> 
Now I'm confused...

C-m starts math (inline mode)
S-C-m   starts math (display mode)

so there is a difference, i.e. S stands for Shift?

/Christian



-- 
Christian Ridderström   http://www.md.kth.se/~chr



Re: really stupid simple maths keyboard command question

2003-03-11 Thread Jean-Marc Lasgouttes
> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:

Christian> On 11 Mar 2003, Jean-Marc Lasgouttes wrote:
>> > "Owen" == Owen Lucas <[EMAIL PROTECTED]> writes:
>> 
>> 
Owen> O wait I get it now when you go meta-m and it gived you options
Owen> like slash it means "/" not "slash".
>>  Indeed :) And concerning the ~S notation, it means "the state of
>> the shift key is not relevant" (this is useful because "2", for
>> example, will need shift on a french keyboard, but not on an US
>> one).
>> 
Christian> Now I'm confused...

Christian>  C-m starts math (inline mode) S-C-m starts math
Christian> (display mode)

Christian> so there is a difference, i.e. S stands for Shift?

Yes, S stands for shift, and ~S stands for "don't worry about shift".

JMarc


Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On 11 Mar 2003, Jean-Marc Lasgouttes wrote:

> > "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:
> 
> 
> Yes, S stands for shift, and ~S stands for "don't worry about shift".

Maybe I'm tired today... didn't see the '~' there. I've put some notes 
on this here:

http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings

A few questions though:

Here are some keybindings:
Bindning# Alt.
\bind "C-a" "command1"  # 1)
\bind "C-A" "command2"  # 2)
\bind "C-S-a"   "command3"  # 3)
\bind "C-S-A"   "command4"  # 4)
\bind "C-~S-a"  "command5"  # 5)

I'm guessing that:
"C-a" is not the same as "C-A"
"C-S-a"  can't be typed on the keyboard?
"C-~S-a" replaces "C-a" and "C-S-A"
"C-A" is equivalent to "C-S-A" ?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: really stupid simple maths keyboard command question

2003-03-11 Thread Christian Ridderström
On Tue, 11 Mar 2003, Christian Ridderström wrote:

> On 11 Mar 2003, Jean-Marc Lasgouttes wrote:
> 
> > > "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:
> > 
> > 
> > Yes, S stands for shift, and ~S stands for "don't worry about shift".
> 
> Maybe I'm tired today... didn't see the '~' there. I've put some notes 
> on this here:
> 
>   http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings
> 
Some testing showed that:
"C-a" is equivalent to "C-A"
and
"C-S-a" is equivalent to "C-S-A"
and the order of the "modifiers" doesn't matter either, so:
"C-S-a" is equivalent to "S-C-a"

Furthermore, the last binding seem to override previous bindings, i.e.
\bind "C-a" "self-insert a"
\bind "C-A" "self-insert A"
means that pressing "C-a" will insert a 'A' (since "C-a" and "C-A" are 
equivalent).

The '~S' modifier seems to be an exception to overriding previous 
key bindings. Having only this binding:
\bind "C-~S-a" "self-insert a"
means that both "C-a" and "C-S-a" will insert a 'a'. However, in this 
case:
\bind "C-a" "self-insert a"
\bind "C-S-A" "self-insert A"
\bind "C-~S-a" "self-insert b"

pressing "C-a" -> 'a' so "C-S-A" -> "A".  The binding "C-~S-a" is never 
activated. If one of the previous bindings are removed, i.e.

\bind "C-S-A" "self-insert A"
\bind "C-~S-a" "self-insert b"

then "C-a" -> 'A' and "C-S-a" -> b.  So bindings with the modifier "~S" 
doesn't seem to override previous bindings.

Anyway, I put these notes here:
>
>   http://ev-en.org/wiki/moin.cgi/LyxKeyboardBindings
for the future.

/Chrstian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: really stupid simple maths keyboard command question

2003-03-10 Thread Amir Seginer
Owen Lucas wrote:
When in maths mode you can press meta-m and it allows you to type in 
commands as shown in maths.bind. I can get the single character options 
to work but cant get the multiple ones to key in. in the file maths.bind 
these multi character commands start with. ~S- I assume that you need 
to press or hold a key down a key first. what is it?
It is the Shift key


cheers
owen

Amir




Re: really stupid simple maths keyboard command question

2003-03-10 Thread Owen Lucas
O wait I get it now when you go meta-m and it gived you options like 
slash it means / not slash.



Owen Lucas wrote:

When in maths mode you can press meta-m and it allows you to type in
commands as shown in maths.bind. I can get the single character options
to work but cant get the multiple ones to key in. in the file maths.bind
these multi character commands start with. ~S- I assume that you need
to press or hold a key down a key first. what is it?
cheers
owen




Re: really stupid simple maths keyboard command question

2003-03-10 Thread Amir Seginer
Owen Lucas wrote:
When in maths mode you can press meta-m and it allows you to type in 
commands as shown in maths.bind. I can get the single character options 
to work but cant get the multiple ones to key in. in the file maths.bind 
these multi character commands start with. ~S- I assume that you need 
to press or hold a key down a key first. what is it?
It is the Shift key


cheers
owen

Amir




Re: really stupid simple maths keyboard command question

2003-03-10 Thread Owen Lucas
O wait I get it now when you go meta-m and it gived you options like 
slash it means / not slash.



Owen Lucas wrote:

When in maths mode you can press meta-m and it allows you to type in
commands as shown in maths.bind. I can get the single character options
to work but cant get the multiple ones to key in. in the file maths.bind
these multi character commands start with. ~S- I assume that you need
to press or hold a key down a key first. what is it?
cheers
owen




Re: really stupid simple maths keyboard command question

2003-03-10 Thread Amir Seginer
Owen Lucas wrote:
When in maths mode you can press meta-m and it allows you to type in 
commands as shown in maths.bind. I can get the single character options 
to work but cant get the multiple ones to key in. in the file maths.bind 
these multi character commands start with. "~S-" I assume that you need 
to press or hold a key down a key first. what is it?
It is the "Shift" key


cheers
owen

Amir




Re: really stupid simple maths keyboard command question

2003-03-10 Thread Owen Lucas
O wait I get it now when you go meta-m and it gived you options like 
slash it means "/" not "slash".



Owen Lucas wrote:

When in maths mode you can press meta-m and it allows you to type in
commands as shown in maths.bind. I can get the single character options
to work but cant get the multiple ones to key in. in the file maths.bind
these multi character commands start with. "~S-" I assume that you need
to press or hold a key down a key first. what is it?
cheers
owen