Re: Key binding of unicode-insert problem

2017-08-17 Thread Richard Heck
On 08/17/2017 05:50 PM, Shieh, Sanford wrote:
>
> OK, great, this now works fine.  Thanks.
>

Probably still worth a bug report. At the very least we should make
sure this is documented somewhere.

Richard

 
>
> *From:*Paul A. Rubin [mailto:parubi...@gmail.com]
> *Sent:* Thursday, August 17, 2017 5:49 PM
> *To:* Shieh, Sanford ; Richard Heck
> ; lyx-users@lists.lyx.org
> *Subject:* Re: Key binding of unicode-insert problem
>
>  
>
> On 08/17/2017 05:13 PM, Shieh, Sanford wrote:
>
> On Win7 it seems not to be only the colon.  I have three other
> bind file weirdnesses
>
>  
>
> \bind   "C-S-%" "unicode-insert 00A7" # section sign
>
>  
>
> \bind   "C-'" "unicode-insert 0027" # dumb right single quote
>
> \bind   "'" "quote-insert single" # smart single quote
>
>  
>
> The latter two I did because I wanted to have the ' key act as a
> smart single quote.  The results are however:
>
>  
>
>  
>
> So I still have to use the dialog box to do these bindings.
>
>  
>
> The smart single quote is really weird, and I don’t understand
> quite what I did in the dialog box to get the right result, but
> here’s what it looks like:
>
>  
>
>  
>
> Again, punctuation marks need to be spelled out in the bind file. Try
> "C-S-percent", "C-apostrophe" and "apostrophe" respectively.
>
> Mind you, I have no idea why LyX chokes on punctuation marks in the
> key combination specifications of the bind file, but that seems to be
> what is happening.
>
> Paul
>



RE: Key binding of unicode-insert problem

2017-08-17 Thread Shieh, Sanford
OK, great, this now works fine.  Thanks.

Sanford

Sanford Shieh
Associate Professor
Department of Philosophy
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 (860) 685-3646 (office)
+1 (860) 685-3861 (fax)
mailto:sanford.sh...@wesleyan.edu>>
Follow me on Academia.edu<https://wesleyan.academia.edu/SanfordShieh>

From: Paul A. Rubin [mailto:parubi...@gmail.com]
Sent: Thursday, August 17, 2017 5:49 PM
To: Shieh, Sanford ; Richard Heck ; 
lyx-users@lists.lyx.org
Subject: Re: Key binding of unicode-insert problem

On 08/17/2017 05:13 PM, Shieh, Sanford wrote:
On Win7 it seems not to be only the colon.  I have three other bind file 
weirdnesses

\bind   "C-S-%" "unicode-insert 00A7" # section sign

\bind   "C-'" "unicode-insert 0027" # dumb right single quote
\bind   "'" "quote-insert single" # smart single quote

The latter two I did because I wanted to have the ' key act as a smart single 
quote.  The results are however:

[cid:image001.jpg@01D31781.1F2DED80]

So I still have to use the dialog box to do these bindings.

The smart single quote is really weird, and I don't understand quite what I did 
in the dialog box to get the right result, but here's what it looks like:

[cid:image002.jpg@01D31781.1F2DED80]

Again, punctuation marks need to be spelled out in the bind file. Try 
"C-S-percent", "C-apostrophe" and "apostrophe" respectively.

Mind you, I have no idea why LyX chokes on punctuation marks in the key 
combination specifications of the bind file, but that seems to be what is 
happening.

Paul


Re: Key binding of unicode-insert problem

2017-08-17 Thread Paul A. Rubin

On 08/17/2017 05:13 PM, Shieh, Sanford wrote:


On Win7 it seems not to be only the colon.  I have three other bind 
file weirdnesses


\bind   "C-S-%" "unicode-insert 00A7" # section sign

\bind   "C-'" "unicode-insert 0027" # dumb right single quote

\bind   "'" "quote-insert single" # smart single quote

The latter two I did because I wanted to have the ' key act as a smart 
single quote.  The results are however:


So I still have to use the dialog box to do these bindings.

The smart single quote is really weird, and I don’t understand quite 
what I did in the dialog box to get the right result, but here’s what 
it looks like:



Again, punctuation marks need to be spelled out in the bind file. Try 
"C-S-percent", "C-apostrophe" and "apostrophe" respectively.


Mind you, I have no idea why LyX chokes on punctuation marks in the key 
combination specifications of the bind file, but that seems to be what 
is happening.


Paul



RE: Key binding of unicode-insert problem

2017-08-17 Thread Shieh, Sanford
On Win7 it seems not to be only the colon.  I have three other bind file 
weirdnesses

\bind   "C-S-%" "unicode-insert 00A7" # section sign

\bind   "C-'" "unicode-insert 0027" # dumb right single quote
\bind   "'" "quote-insert single" # smart single quote

The latter two I did because I wanted to have the ' key act as a smart single 
quote.  The results are however:

[cid:image002.jpg@01D3177B.AD6CEED0]

So I still have to use the dialog box to do these bindings.

The smart single quote is really weird, and I don't understand quite what I did 
in the dialog box to get the right result, but here's what it looks like:

[cid:image003.jpg@01D3177B.AD6CEED0]

Sanford

Sanford Shieh
Associate Professor
Department of Philosophy
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 (860) 685-3646 (office)
+1 (860) 685-3861 (fax)
mailto:sanford.sh...@wesleyan.edu>>
Follow me on Academia.edu<https://wesleyan.academia.edu/SanfordShieh>

From: Paul A. Rubin [mailto:parubi...@gmail.com]
Sent: Thursday, August 17, 2017 4:45 PM
To: Richard Heck ; Shieh, Sanford ; 
lyx-users@lists.lyx.org
Subject: Re: Key binding of unicode-insert problem

On 08/17/2017 03:10 PM, Richard Heck wrote:
On 08/17/2017 03:04 PM, Shieh, Sanford wrote:
I'm trying to bind unicode-insert of accents and umlauts on vowels using a bind 
file, and running into the following issue.

I have the following line in the bind file:

\bind   "M-S-: u" "unicode-insert 00FC" # umlaut lower u

But in the Preference Editing Shortcuts dialog box this shows up weirdly (also 
in attached JPEG)

[cid:image001.jpg@01D3177A.5703C470]

As this screenshot shows, there's no problem when I use the dialog box to bind 
to the alt-shift-: followed by u combination.

Is this an issue with Win7, which I'm using?

I also see something weird in the dialog, but it's a different weird from 
yours. This is on Linux. My guess is that there is some kind of font problem.

Can you file a bug about this at lyx.org/trac/?

Richard
I also get something different but weird (and consistent with respect to 
changes I made to various elements), also on Linux.

The issue seems to be the colon. If you spell out the word in the bind file 
(i.e., "M-S-colon u"), it works fine. That's what ends up in the bind file when 
you enter it through the dialog. Putting a literal ":" in the bind file seems 
to create havoc.

Paul


Re: Key binding of unicode-insert problem

2017-08-17 Thread Paul A. Rubin

On 08/17/2017 03:10 PM, Richard Heck wrote:

On 08/17/2017 03:04 PM, Shieh, Sanford wrote:


I’m trying to bind unicode-insert of accents and umlauts on vowels 
using a bind file, and running into the following issue.


I have the following line in the bind file:

\bind   "M-S-: u" "unicode-insert 00FC" # umlaut lower u

But in the Preference Editing Shortcuts dialog box this shows up 
weirdly (also in attached JPEG)


As this screenshot shows, there’s no problem when I use the dialog 
box to bind to the alt-shift-: followed by u combination.


Is this an issue with Win7, which I’m using?



I also see something weird in the dialog, but it's a different weird 
from yours. This is on Linux. My guess is that there is some kind of 
font problem.


Can you file a bug about this at lyx.org/trac/?

Richard

I also get something different but weird (and consistent with respect to 
changes I made to various elements), also on Linux.


The issue seems to be the colon. If you spell out the word in the bind 
file (i.e., "M-S-colon u"), it works fine. That's what ends up in the 
bind file when you enter it through the dialog. Putting a literal ":" in 
the bind file seems to create havoc.


Paul



RE: Key binding of unicode-insert problem

2017-08-17 Thread Shieh, Sanford
OK, will do.

Sanford

Sanford Shieh
Associate Professor
Department of Philosophy
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 (860) 685-3646 (office)
+1 (860) 685-3861 (fax)
mailto:sanford.sh...@wesleyan.edu>>
Follow me on Academia.edu<https://wesleyan.academia.edu/SanfordShieh>

From: Richard Heck [mailto:rgh...@lyx.org]
Sent: Thursday, August 17, 2017 3:11 PM
To: Shieh, Sanford ; lyx-users@lists.lyx.org
Subject: Re: Key binding of unicode-insert problem

On 08/17/2017 03:04 PM, Shieh, Sanford wrote:
I'm trying to bind unicode-insert of accents and umlauts on vowels using a bind 
file, and running into the following issue.

I have the following line in the bind file:

\bind   "M-S-: u" "unicode-insert 00FC" # umlaut lower u

But in the Preference Editing Shortcuts dialog box this shows up weirdly (also 
in attached JPEG)

[cid:image001.jpg@01D3176C.5B9ED8C0]

As this screenshot shows, there's no problem when I use the dialog box to bind 
to the alt-shift-: followed by u combination.

Is this an issue with Win7, which I'm using?

I also see something weird in the dialog, but it's a different weird from 
yours. This is on Linux. My guess is that there is some kind of font problem.

Can you file a bug about this at lyx.org/trac/?

Richard


Re: Key binding of unicode-insert problem

2017-08-17 Thread Richard Heck
On 08/17/2017 03:04 PM, Shieh, Sanford wrote:
>
> I’m trying to bind unicode-insert of accents and umlauts on vowels
> using a bind file, and running into the following issue.
>
>  
>
> I have the following line in the bind file:
>
>  
>
> \bind   "M-S-: u" "unicode-insert 00FC" # umlaut lower u
>
>  
>
> But in the Preference Editing Shortcuts dialog box this shows up
> weirdly (also in attached JPEG)
>
>  
>
>  
>
> As this screenshot shows, there’s no problem when I use the dialog box
> to bind to the alt-shift-: followed by u combination.
>
>  
>
> Is this an issue with Win7, which I’m using? 
>

I also see something weird in the dialog, but it's a different weird
from yours. This is on Linux. My guess is that there is some kind of
font problem.

Can you file a bug about this at lyx.org/trac/?

Richard



Key binding of unicode-insert problem

2017-08-17 Thread Shieh, Sanford
I'm trying to bind unicode-insert of accents and umlauts on vowels using a bind 
file, and running into the following issue.

I have the following line in the bind file:

\bind   "M-S-: u" "unicode-insert 00FC" # umlaut lower u

But in the Preference Editing Shortcuts dialog box this shows up weirdly (also 
in attached JPEG)

[cid:image001.jpg@01D31769.E2D60C80]

As this screenshot shows, there's no problem when I use the dialog box to bind 
to the alt-shift-: followed by u combination.

Is this an issue with Win7, which I'm using?

Sorry if this problem has already been solved, I couldn't find a solution in 
the LyX list.

Sanford Shieh
Associate Professor
Department of Philosophy
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 (860) 685-3646 (office)
+1 (860) 685-3861 (fax)
mailto:sanford.sh...@wesleyan.edu>>
Follow me on Academia.edu



Re: problem on the key binding

2010-03-13 Thread Paul Rubin
Zeng Weiliang  writes:

> 
> Dear All,
> 
> I use lyx for a long time, but a problem on the key binding bothers me a
> lot.
> I like the bind style of emacs. However, when I use the key like Alt+F for
> the word forward and Alt+D for the word delete, it always gets the menu of
> File and Document, respectively. I think this will also happen when I use
> the bind file of cua.
> Is there any ways to modify this?
> 

Copy the user interface file you are using to your local ui directory (~/.lyx/ui
on Linux).  The UI file (probably default.ui) is named in Tools | Preferences |
Look & Feel | User interface.  Edit it to change the mnemonics for the file and
document menu to something not in use.  For instance, change

Submenu "File|F" "file"

to 

Submenu "File|l" "file"

(the new mnemonic is case-sensitive).  Then you should be able to map Alt+F and
ALt+D.  You'll probably also need to copy the emacs.bind file to your local tree
(~/.lyx/bind) and edit it as well; I see M-d assigned to delete word forward but
I don't see M-f assigned to anything.

/Paul




problem on the key binding

2010-03-13 Thread Zeng Weiliang
Dear All,

I use lyx for a long time, but a problem on the key binding bothers me a
lot.
I like the bind style of emacs. However, when I use the key like Alt+F for
the word forward and Alt+D for the word delete, it always gets the menu of
File and Document, respectively. I think this will also happen when I use
the bind file of cua.
Is there any ways to modify this?

Sincerely,
Weiliang Zeng


Re: Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Vincent van Ravesteijn

Bjørn Liene Gundersen schreef:

Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to "Insert figure float" I need to search up the
key-binding "float-insert" and modify it to "float-insert figure" and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding "space-insert" to
"space-insert vertical" but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen
  

Have a look at the LFUNs document in the menu Help->LyX Functions.

(For a vertical space enter "inset-insert vspace")

Vincent


Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to "Insert figure float" I need to search up the
key-binding "float-insert" and modify it to "float-insert figure" and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding "space-insert" to
"space-insert vertical" but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen


Re: Key Binding Terminology Changes

2009-01-08 Thread Rich Shepard

On Thu, 8 Jan 2009, Jürgen Spitzmüller wrote:


RELEASE_NOTES.


Jürgen,

  I thought it was some place this this. I build each version using a
SlackBuild script so I don't manually untar the source. That's what I should
have done before writing.

Mea culpa!

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Key Binding Terminology Changes

2009-01-08 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> I've upgraded to 1.6.1 and my key bindings no longer work. I know there
> are name changes but I haven't found where these are all documented. Please
> tell me where I can find the name changes and I'll fix ~/.lyx/bind/*.bind.

RELEASE_NOTES.

Jürgen


Key Binding Terminology Changes

2009-01-08 Thread Rich Shepard

  I've upgraded to 1.6.1 and my key bindings no longer work. I know there
are name changes but I haven't found where these are all documented. Please
tell me where I can find the name changes and I'll fix ~/.lyx/bind/*.bind.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Lost th CUA key-binding short cuts

2008-11-04 Thread Keith Roberts

On Mon, 3 Nov 2008, Paul A. Rubin wrote:


To: lyx-users@lists.lyx.org
From: Paul A. Rubin <[EMAIL PROTECTED]>
Subject: Re: Lost th CUA key-binding short cuts

Keith Roberts wrote:
Can anyone direct me to where the CUA key short cut reference is in the 
manual? I did skim over it, but cannot locate it now - duh!




Is Appendix A.3.2 in the Customization manual what you're talking about?

/Paul


Yes that is it thanks Paul.

Keith

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Re: Lost th CUA key-binding short cuts

2008-11-04 Thread Paul A. Rubin

Keith Roberts wrote:
Can anyone direct me to where the CUA key short cut reference is in the 
manual? I did skim over it, but cannot locate it now - duh!




Is Appendix A.3.2 in the Customization manual what you're talking about?

/Paul



Re: Lost th CUA key-binding short cuts

2008-11-03 Thread Carnë Draug
2008/11/3 Keith Roberts <[EMAIL PROTECTED]>:
> On Mon, 3 Nov 2008, Carnë Draug wrote:
>
>> To: Keith Roberts <[EMAIL PROTECTED]>
>> From: Carnë Draug <[EMAIL PROTECTED]>
>> Subject: Re: Lost th CUA key-binding short cuts
>>
>> 2008/11/3 Keith Roberts <[EMAIL PROTECTED]>:
>>>
>>> Can anyone direct me to where the CUA key short cut reference is in the
>>> manual? I did skim over it, but cannot locate it now - duh!
>>>
>>> Kind Regards,
>>>
>>> Keith
>>>
>>> -
>>> Websites:
>>> http://www.php-debuggers.net
>>> http://www.karsites.net
>>> http://www.raised-from-the-dead.org.uk
>>>
>>> Where will you spend Eternity?
>>> http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf
>>>
>>> All email addresses are challenge-response protected with
>>> TMDA [http://tmda.net]
>>> -
>>>
>>
>> Take a look at the file cua.bind
>>
>> In ubuntu 8.04, you can find it in /usr/share/lyx/bind/cua.bind
>>
>> If you really just want the manual, search for cua in the
>> Customization manual. In Lyx 1.5.3 it's in the appendix A
>
> Thanks for that Carnë. I was looking for shortcuts to some of the drop-down
> menu functions, but there doesn't seem to be any  :(
>
> Keith

The letter for those shortcuts are underlined, but you have to go
through all the menus. For example, to make

View -> Update -> Dvi

you have (at least in Ubuntu), press Alt+V, then press u and finally
d. I'm not sure you can change them, though. Maybe on some file inside
the "bind" folder.


Re: Lost th CUA key-binding short cuts

2008-11-03 Thread Carnë Draug
2008/11/3 Keith Roberts <[EMAIL PROTECTED]>:
> Can anyone direct me to where the CUA key short cut reference is in the
> manual? I did skim over it, but cannot locate it now - duh!
>
> Kind Regards,
>
> Keith
>
> -
> Websites:
> http://www.php-debuggers.net
> http://www.karsites.net
> http://www.raised-from-the-dead.org.uk
>
> Where will you spend Eternity?
> http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf
>
> All email addresses are challenge-response protected with
> TMDA [http://tmda.net]
> -
>

Take a look at the file cua.bind

In ubuntu 8.04, you can find it in /usr/share/lyx/bind/cua.bind

If you really just want the manual, search for cua in the
Customization manual. In Lyx 1.5.3 it's in the appendix A


Lost th CUA key-binding short cuts

2008-11-03 Thread Keith Roberts
Can anyone direct me to where the CUA key short cut 
reference is in the manual? I did skim over it, but cannot 
locate it now - duh!


Kind Regards,

Keith

-
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

Where will you spend Eternity?
http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


Re: Key binding for insert->character style?

2007-05-08 Thread Steve Litt
On Tuesday 08 May 2007 02:01, Jürgen Spitzmüller wrote:
> Steve Litt wrote:
> > I really, really, really need a key binding for Insert->character style.
> > I might even need one for one specific character style. How would I do
> > this?
>
> You can only add bindings to specific (named) charstyles. E.g.
> "charstyle-insert foo"
> will insert the "foo"-charstyle, if it's defined.
> "charstyle-insert" will just insert an undefined charstyle.

Thanks Jürgen, that worked. I'll discuss it more later.

SteveT


Re: Key binding for insert->character style?

2007-05-07 Thread Jürgen Spitzmüller
Steve Litt wrote:
> I really, really, really need a key binding for Insert->character style. I
> might even need one for one specific character style. How would I do this?

You can only add bindings to specific (named) charstyles. E.g.
"charstyle-insert foo"
will insert the "foo"-charstyle, if it's defined.
"charstyle-insert" will just insert an undefined charstyle.

Jürgen


Re: Key binding for insert->character style?

2007-05-07 Thread Steve Litt
On Monday 07 May 2007 19:06, Paul A. Rubin wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > I really, really, really need a key binding for Insert->character style.
> > I might even need one for one specific character style. How would I do
> > this?
> >
> > Thanks
> >
> > SteveT
>
> Not sure this is what you mean, but if you mean a binding that will
> screw up the text font in a preplanned way (as opposed to a way to
> insert a character style definition in wherever it is one inserts these
> things), here's a sample binding:
>
> command-insert font-bold; font-noun; font-size tiny;
>
> (hideous but representative).  A list of the font commands can be found
> at the bottom of http://wiki.lyx.org/LyX/LyxFunctionList1-3-3.
>
> /Paul

Thanks Paul,

What I meant was much simpler. I noramlly click the menu's Insert, then click 
Character Style, then click which character style I want. I'd like a hotkey 
to replace the first two clicks.  I still want to use character styles.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Key binding for insert->character style?

2007-05-07 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

I really, really, really need a key binding for Insert->character style. I 
might even need one for one specific character style. How would I do this?


Thanks

SteveT



Not sure this is what you mean, but if you mean a binding that will 
screw up the text font in a preplanned way (as opposed to a way to 
insert a character style definition in wherever it is one inserts these 
things), here's a sample binding:


command-insert font-bold; font-noun; font-size tiny;

(hideous but representative).  A list of the font commands can be found 
at the bottom of http://wiki.lyx.org/LyX/LyxFunctionList1-3-3.


/Paul



Key binding for insert->character style?

2007-05-07 Thread Steve Litt
Hi all,

I really, really, really need a key binding for Insert->character style. I 
might even need one for one specific character style. How would I do this?

Thanks

SteveT


Re: LyX on Mac OS X: key binding strangeness

2006-04-07 Thread A S Hodel


On Apr 7, 2006, at 7:51 AM, Bennett Helm wrote:


On Apr 5, 2006, at 11:24 AM, A S Hodel wrote:

I've found a couple of behaviors of LyX 1.4.0 on Mac OS X (both 10.3 
and 10.4) that are annoying and I don't know how to fix them.


Key bindings listed in the menu are:
CMD-, for preferences
CMD-Q to quit.

However, if I use "Cmd-," I instead get the "About LyX" dialog.  This 
occurs even if I use the menu to select LyX preferences.  The only 
exception is my first use of LyX after a reinstall.


Similarly, if I use CMD-Q, it pulls up the document settings dialog, 
even if I use the menu instead of the key binding.


I am at a loss on how to repair this behavior.


What language are you using for the GUI?


English.


What happens if you create a new user account and run LyX from there?


I'll need some time to get an opportunity to properly exercise that 
kind of test.  I'll report back ASAP.


A Scottedward Hodel, PhD, Associate Professor
Dept. Electrical and Computer Engineering, 200 Broun Hall
Auburn University, AL 36849-5201
(334) 844-1854  Fax: (34) 844-1809
http://www.eng.auburn.edu/~hodelas




Re: LyX on Mac OS X: key binding strangeness

2006-04-07 Thread Bennett Helm

On Apr 5, 2006, at 11:24 AM, A S Hodel wrote:

I've found a couple of behaviors of LyX 1.4.0 on Mac OS X (both  
10.3 and 10.4) that are annoying and I don't know how to fix them.


Key bindings listed in the menu are:
CMD-, for preferences
CMD-Q to quit.

However, if I use "Cmd-," I instead get the "About LyX" dialog.   
This occurs even if I use the menu to select LyX preferences.  The  
only exception is my first use of LyX after a reinstall.


Similarly, if I use CMD-Q, it pulls up the document settings  
dialog, even if I use the menu instead of the key binding.


I am at a loss on how to repair this behavior.


What language are you using for the GUI?

What happens if you create a new user account and run LyX from there?

Bennett


Re: LyX on Mac OS X: key binding strangeness

2006-04-05 Thread jesse mejia
That's strange. I'm using LyX 1.4.0 on OSX 10.3.9 and cmd-, opens 
preferences while cmd-q quits. as it should do...
Now as far as fixing it on your machine, I'm afraid I have no idea.. 
sorry.


-J
On Apr 5, 2006, at 4:24 PM, A S Hodel wrote:

I've found a couple of behaviors of LyX 1.4.0 on Mac OS X (both 10.3 
and 10.4) that are annoying and I don't know how to fix them.


Key bindings listed in the menu are:
CMD-, for preferences
CMD-Q to quit.

However, if I use "Cmd-," I instead get the "About LyX" dialog.  This 
occurs even if I use the menu to select LyX preferences.  The only 
exception is my first use of LyX after a reinstall.


Similarly, if I use CMD-Q, it pulls up the document settings dialog, 
even if I use the menu instead of the key binding.


I am at a loss on how to repair this behavior.

Yours,

A S Hodel





LyX on Mac OS X: key binding strangeness

2006-04-05 Thread A S Hodel
I've found a couple of behaviors of LyX 1.4.0 on Mac OS X (both 10.3 
and 10.4) that are annoying and I don't know how to fix them.


Key bindings listed in the menu are:
CMD-, for preferences
CMD-Q to quit.

However, if I use "Cmd-," I instead get the "About LyX" dialog.  This 
occurs even if I use the menu to select LyX preferences.  The only 
exception is my first use of LyX after a reinstall.


Similarly, if I use CMD-Q, it pulls up the document settings dialog, 
even if I use the menu instead of the key binding.


I am at a loss on how to repair this behavior.

Yours,

A S Hodel



Re: key-binding numbers

2005-02-10 Thread Paul A. Rubin
Vaclav Smidl wrote:
Hi all,
I am trying to modify some key binding files to get the following:
if I press regular "1" insert "x" (for example)
if I press numeric "1" insert "1" 

I am struggling with the following:
If I use \kmap:
it does not distinguish regular and numeric "1".
If I use:
\bind "1"   "self-insert x"
\bind "KP_1"   "self-insert 1"
I am getting always 1,
If I use:
\bind "KP_1"   "self-insert 1"
\bind "1"   "self-insert x"
I am getting always x.
Any thoughts, workarounds?
Thanks,
Vasek
I can reproduce this behavior (on Win XP).  Windows converts a hardware 
"scan code" (unique to each key or key+modifier combination) into an 
ASCII (or Unicode) character.  The "1" on the alphanumeric keyboard and 
the "1" on the numeric keypad (with NumLock toggled on) return different 
scan codes, but Windows will convert both to an ASCII "1".  Apparently 
LyX (or at least the Windows port of LyX) is looking at the ASCII 
characer rather than the scan code when it does the binding.  (IIRC, 
there's a C library function that will give you the scan code.)

Finding a work-around might be tough.  I believe Microsoft has a free 
utility you can download to alter your keyboard mapping, which would let 
you map the numeric keypad "1" to some unused character, which you 
hopefully could bind in LyX to "self-insert 1", for instance.  There are 
also some freeware mappers out there.  The problem with that solution is 
that the keyboard mapping is not unique to a particular program -- the 
keys would be remapped system-wide (until you "unmapped" them).

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: key-binding numbers

2005-02-10 Thread Vaclav Smidl
On Thursday 10 February 2005 11:30, G. Milde wrote:
> On  9.02.05, Vaclav Smidl wrote:
> > If I use:
> > \bind "1"   "self-insert x"
> > \bind "KP_1"   "self-insert 1"
> > I am getting always 1,
> >
> > If I use:
> > \bind "KP_1"   "self-insert 1"
> > \bind "1"   "self-insert x"
> > I am getting always x.
>
> Just a guess. Did you try with both, NumLock activated and not activated?

I did, with deactivated NumLock, KP_1 behaves as End.

Vasek

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: key-binding numbers

2005-02-10 Thread G. Milde
On  9.02.05, Vaclav Smidl wrote:
> If I use:
> \bind "1"   "self-insert x"
> \bind "KP_1"   "self-insert 1"
> I am getting always 1,
> 
> If I use:
> \bind "KP_1"   "self-insert 1"
> \bind "1"   "self-insert x"
> I am getting always x.

Just a guess. Did you try with both, NumLock activated and not activated?

Günter


-- 
G.Milde web.de


Re: key-binding numbers

2005-02-10 Thread Vaclav Smidl
thanks for info, I was not aware of 'xev', it's really helpful app.

However, my basic problem remains... I was trying to set up lyx for a 
colleague who is working on Win. I dont know much about key-handling in win, 
so I thought I will use  lyx mechanisms for key-binding.

But I guess, the best think is to look for a proper windows keyboard layout.

Vasek

On Thursday 10 February 2005 08:31, Eric S Fraga wrote:
> On Wed, Feb 09, 2005 at 07:54:02PM +0100, Vaclav Smidl wrote:
> > I am trying to modify some key binding files to get the following:
> >
> > if I press regular "1" insert "x" (for example)
> > if I press numeric "1" insert "1"
> >
> > I am struggling with the following:
> > If I use \kmap:
> > it does not distinguish regular and numeric "1".
> >
> > If I use:
> > \bind "1"   "self-insert x"
> > \bind "KP_1"   "self-insert 1"
> > I am getting always 1,
> >
> > If I use:
> > \bind "KP_1"   "self-insert 1"
> > \bind "1"   "self-insert x"
> > I am getting always x.
> >
> > Any thoughts, workarounds?
>
> I can't help you directly with lyx and how it handles bindings like these
> but one possible workaround (which will unfortunately affect other
> applications as well), assuming you are using X11 and not MS Windows, is to
> re-map the keypad 1 key to something else using 'xmodmap'. For instance,
> you could map it to F23 (a function key that might not already exist on
> your keyboard).  You can use 'xev' to find out the keycode for each key on
> your keyboard.
>
> HTH,
> eric

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: key-binding numbers

2005-02-10 Thread Eric S Fraga
On Wed, Feb 09, 2005 at 07:54:02PM +0100, Vaclav Smidl wrote:
> I am trying to modify some key binding files to get the following:
> 
> if I press regular "1" insert "x" (for example)
> if I press numeric "1" insert "1" 
> 
> I am struggling with the following:
> If I use \kmap:
> it does not distinguish regular and numeric "1".
> 
> If I use:
> \bind "1"   "self-insert x"
> \bind "KP_1"   "self-insert 1"
> I am getting always 1,
> 
> If I use:
> \bind "KP_1"   "self-insert 1"
> \bind "1"   "self-insert x"
> I am getting always x.
> 
> Any thoughts, workarounds?

I can't help you directly with lyx and how it handles bindings like these
but one possible workaround (which will unfortunately affect other
applications as well), assuming you are using X11 and not MS Windows, is to
re-map the keypad 1 key to something else using 'xmodmap'. For instance, you
could map it to F23 (a function key that might not already exist on your
keyboard).  You can use 'xev' to find out the keycode for each key on your
keyboard.

HTH,
eric
-- 
 Eric S. Fraga, Department of Chemical Engineering, UCL, London
***.*..**.*.*...***.***.*...*...***.*...


key-binding numbers

2005-02-09 Thread Vaclav Smidl
Hi all,
I am trying to modify some key binding files to get the following:

if I press regular "1" insert "x" (for example)
if I press numeric "1" insert "1" 

I am struggling with the following:
If I use \kmap:
it does not distinguish regular and numeric "1".

If I use:
\bind "1"   "self-insert x"
\bind "KP_1"   "self-insert 1"
I am getting always 1,

If I use:
\bind "KP_1"   "self-insert 1"
\bind "1"   "self-insert x"
I am getting always x.

Any thoughts, workarounds?

Thanks,

Vasek



-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: M-p M-d key binding.

2002-10-21 Thread Bo Peng
On Mon, Oct 21, 2002 at 08:05:57PM +0100, John Levon wrote:
> On Mon, Oct 21, 2002 at 01:42:42PM -0500, Bo Peng wrote:

> > I understand. Anyway, the current behavior is counter-intuitive. After I 
> > press M-p, M-d is displayed in the mini-buffer as a candidate of next 
> > key stroke but it is intercepted by Document menu.

> It's definitely a bug, but it might be hard to fix ...

I will submit it to bugzilla.

-- 
Bo Peng



Re: M-p M-d key binding.

2002-10-21 Thread John Levon
On Mon, Oct 21, 2002 at 01:42:42PM -0500, Bo Peng wrote:

> I understand. Anyway, the current behavior is counter-intuitive. After I 
> press M-p, M-d is displayed in the mini-buffer as a candidate of next 
> key stroke but it is intercepted by Document menu.

It's definitely a bug, but it might be hard to fix ...

john
-- 
"Lots of companies would love to be in our hole."
- Scott McNealy



Re: M-p M-d key binding.

2002-10-21 Thread Bo Peng
On Mon, Oct 21, 2002 at 06:50:17AM -0700, Matt Brennan wrote:

> > I define a key binding 'M-p M-d'. After I press M-p, M-d, the document
> > menu (M-d) is triggered instead of my definition. Is this a bug or the
> > correct behavior? BTW, 'M-p M-s' is working OK since there is no
> > definition for M-s.

> I think this is hard
> coded to be keyed to the Meta key, so it generates some conflicts. 

I understand. Anyway, the current behavior is counter-intuitive. After I 
press M-p, M-d is displayed in the mini-buffer as a candidate of next 
key stroke but it is intercepted by Document menu.


-- 
Bo Peng



M-p M-d key binding.

2002-10-20 Thread Bo Peng

Hello,

I define a key binding 'M-p M-d'. After I press M-p, M-d, the document 
menu (M-d) is triggered instead of my definition. Is this a bug or the 
correct behavior? BTW, 'M-p M-s' is working OK since there is no 
definition for M-s.

Thanks.

-- 
Bo Peng



lyx and emacs key binding

2002-08-29 Thread Wolfgang Kilian

Hello dear Lyxers,
  I've just compiled and installed Lyx 1.2.1 on my SuSE 8.0 System
(after
 making a link in /usr/X11R6/include/X11 like forms.h ->
 /usr/X11R6/include where the forms.h is located).
  After successfully finding where to change the key binding (not in the
 ~/.lyx/lyxrc file like stated in the german help file and in the
 lyxrc.example but in the ~/.lyx/preferences - or via the
 'preferences...' menu) I changed that to emacs style. Unfortunately
 still with that key bindings after typing C-x-f for opening a file it
is
 not possible to select the file like in emacs (comparable to the shell
 behavior). But there is that 'nice' menu coming which is not capable to
 extend sub directories and file names like the bash does. Is there a
 possibility to come to the nice command line like one has in the emacs?
 
 Thanks in advance
 Wolfgang



lyx and emacs key binding

2002-08-22 Thread Wolfgang Kilian

Hello dear Lyxers,
 I've just compiled and installed Lyx 1.2.1 on my SuSE 8.0 System (after
making a link in /usr/X11R6/include/X11 like forms.h ->
/usr/X11R6/include where the forms.h is 
located).
 After successfully finding where to change the key binding (not in the
~/.lyx/lyxrc file like stated in the german help file and in the
lyxrc.example but in the ~/.lyx/preferences - or via the
'preferences...' menu) I changed that to emacs style. Unfortunately
still with that key bindings after typing C-x-f for opening a file it is
not possible to select the file like in emacs (comparable to the shell
behavior). But there is that 'nice' menu coming which is not capable to
extend sub directories and file names like the bash does. Is there a
possibility to come to the nice command line like one has in the emacs?

Thanks in advance
Wolfgang



Re: key binding for subscript.

2002-06-26 Thread Andre Poenitz

On Wed, Jun 26, 2002 at 10:35:08AM -0500, Bo Peng wrote:
> I was thinking about something like this but I could not find such
> functions in lyx reference.

Hm.. I know almost none of the new stuff is documented.

Andre'

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



key binding for subscript.

2002-06-26 Thread Bo Peng

Hello,

I was using

\bind  "math-insert _"

to map Ctrl-l to subscript under lyx1.1.6fix4. However, this key binding
no longer works under 1.2. It actually insert a _ Anyone has any idea?

Thanks.

-- 
Bo Peng
Department of Statistics
Rice University
http://www.stat.rice.edu/~bpeng
Office: DH2076, (713) 348-2863



Re: key binding and GUI

2001-03-26 Thread Nabil Hathout

That is what I did. Thank you,

regards,

--Nabil 

Dekel Tsur writes:
 > On Fri, Mar 23, 2001 at 12:57:57PM +0100, Nabil Hathout wrote:
 > > Hello,
 > > 
 > > I have moved recently to 1.1.6fix1 and I have got a problem to keep using some
 > > of my key bindings. For instance I use M-d to delete the word forword or M-S-i
 > > to toggle italic. In the new GUI these key sequences call the menus Document
 > > and Insert.  I switched them off by removing the "|I" and "|D"
 > > ~/.lyx/ui/defaults, but then I have lost M-i f that inserts footnotes.  How can
 > > I keep both (i.e. give key bindings precedence over GUI) ?
 > 
 > You can't (but you can redefine all the menu shortcuts in your binding file).
 > 



Re: key binding and GUI

2001-03-25 Thread Dekel Tsur

On Fri, Mar 23, 2001 at 12:57:57PM +0100, Nabil Hathout wrote:
> Hello,
> 
> I have moved recently to 1.1.6fix1 and I have got a problem to keep using some
> of my key bindings. For instance I use M-d to delete the word forword or M-S-i
> to toggle italic. In the new GUI these key sequences call the menus Document
> and Insert.  I switched them off by removing the "|I" and "|D"
> ~/.lyx/ui/defaults, but then I have lost M-i f that inserts footnotes.  How can
> I keep both (i.e. give key bindings precedence over GUI) ?

You can't (but you can redefine all the menu shortcuts in your binding file).



key binding and GUI

2001-03-23 Thread Nabil Hathout

Hello,

I have moved recently to 1.1.6fix1 and I have got a problem to keep using some
of my key bindings. For instance I use M-d to delete the word forword or M-S-i
to toggle italic. In the new GUI these key sequences call the menus Document
and Insert.  I switched them off by removing the "|I" and "|D"
~/.lyx/ui/defaults, but then I have lost M-i f that inserts footnotes.  How can
I keep both (i.e. give key bindings precedence over GUI) ?

Thank you,

--Nabil



Re: Key binding map

2000-09-07 Thread Lior Silberman

On Thu, 7 Sep 2000, Allan Rae wrote:

> On Wed, 6 Sep 2000, John Culleton wrote:
> 
> > Allan Rae wrote:
> > > Try adding a line like:
> > > 
> > > \bind_file "hollywood.bind"
> > > 
> > > to your ~/.lyx/lyxrc
> > > 
> > > Allan. (ARRae)
> > 
> > Thanks for your suggestion.
> > 
> > Is there a way to call up these bindings only for certain documents? It
> > seems to me that the bindings hollywood.bind should be activated only
> > for hollywood format documents, and not for letters etc.
> 
> Not possible at present although it would be nice.
> I think JMarc suggested placing keybindings in layout files.  This would
> allow what you suggest and would just require that we reload the layouts
> keybindings when we switch buffers.
> 
> Allan. (ARRae)
> 
> 

While it's not document-specific, you can change the keybindings (and
other parameters) semi-dynamically by having more than one -userdir.

Lior.




Re: Key binding map

2000-09-07 Thread Jean-Marc Lasgouttes

> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> Not possible at present although it would be nice. I think
Allan> JMarc suggested placing keybindings in layout files. This would
Allan> allow what you suggest and would just require that we reload
Allan> the layouts keybindings when we switch buffers.

Did I write that? I just remember that I thought about it :) It would
be straightforward to change the Style entries to read

Style "Section|1" 
...
End

And have the textclass class do the binding to "M-l 1". We would need
to un-bind when changing class, though.

JMarc



Re: Key binding map

2000-09-06 Thread Allan Rae

On Wed, 6 Sep 2000, John Culleton wrote:

> Allan Rae wrote:
> > Try adding a line like:
> > 
> > \bind_file "hollywood.bind"
> > 
> > to your ~/.lyx/lyxrc
> > 
> > Allan. (ARRae)
> 
> Thanks for your suggestion.
> 
> Is there a way to call up these bindings only for certain documents? It
> seems to me that the bindings hollywood.bind should be activated only
> for hollywood format documents, and not for letters etc.

Not possible at present although it would be nice.
I think JMarc suggested placing keybindings in layout files.  This would
allow what you suggest and would just require that we reload the layouts
keybindings when we switch buffers.

> Also the error "keymap not found" is perplexing even if it is unrelated.
> How did I manage to come up with this one?

You said you tried setting the keymap in the options->keyboard stuff.
I didn't think you could enter a line there yourself so maybe you tried
setting it in lyxrc with a line like :  \keymap "hollywood.bind"

Anyway that's not really important.  Keymaps supplied with LyX all have a
.kmap or .cdef extension and are kept in the kbd/ subdirectory.

Allan. (ARRae)





Re: Key binding map

2000-09-06 Thread John Culleton

Allan Rae wrote:
> 
> On Tue, 5 Sep 2000, John Culleton wrote:
> 
> > I have a key binding map "hollywood.bind" in the appropriate directory.
> > When I try to activate this map via options-> keyboard I get the error
> > message "error keymap not found."
> 
> that's because its a LyX bind file not a keymap.
> 
> >
> 
> Try adding a line like:
> 
> \bind_file "hollywood.bind"
> 
> to your ~/.lyx/lyxrc
> 
> Allan. (ARRae)

Thanks for your suggestion.

Is there a way to call up these bindings only for certain documents? It
seems to me that the bindings hollywood.bind should be activated only
for hollywood format documents, and not for letters etc.

Also the error "keymap not found" is perplexing even if it is unrelated.
How did I manage to come up with this one?
-- 
John Culleton -> Please visit http://ccpl.carr.org/~john/



Re: Key binding map

2000-09-05 Thread Allan Rae

On Tue, 5 Sep 2000, John Culleton wrote:

> I have a key binding map "hollywood.bind" in the appropriate directory.
> When I try to activate this map via options-> keyboard I get the error
> message "error keymap not found."

that's because its a LyX bind file not a keymap.

> Obviously there is a trick to it. I just wish all this kind of stuff was
> handled by a default at installation. I don't find any other files
> (other than in Lyx that is) with a .bind suffix so moving files around
> and re-texhashing probably won't help.  Any suggestions?

Try adding a line like:

\bind_file "hollywood.bind"

to your ~/.lyx/lyxrc

Allan. (ARRae)




Key binding map

2000-09-05 Thread John Culleton

I have a key binding map "hollywood.bind" in the appropriate directory.
When I try to activate this map via options-> keyboard I get the error
message "error keymap not found."

Obviously there is a trick to it. I just wish all this kind of stuff was
handled by a default at installation. I don't find any other files
(other than in Lyx that is) with a .bind suffix so moving files around
and re-texhashing probably won't help.  Any suggestions?


-- 
John Culleton -> Please visit http://ccpl.carr.org/~john/



Re: Key binding

2000-07-26 Thread Allan Rae

On Wed, 26 Jul 2000, Phil Scordis wrote:
> And while I'm at it. I'm using the acronym package, and it seems to be
> lacking the functionality that pluralises acronyms, how do I find out
> which package version is installed on my machine. 
> (I'm using ver 1.1.5 prior to any fixing (rpm))

Two options:
1. look at the output in the latex log file (Edit->View LaTeX Log file)
the package should write its name and version number
2. find the file on your system and read it.
less `locate acronym.sty`

Allan. (ARRae)





Re: Key binding

2000-07-26 Thread Laurent DUVAL

*... and "M-c t" does the same, I think.

With lyx key binding, "C-l" is even shorter




Re: Key binding

2000-07-26 Thread Jean-Marc Lasgouttes

>>>>> "Phil" == Phil Scordis <[EMAIL PROTECTED]> writes:

Phil> Sorry, it looks like with a bit more digging I have solved it
Phil> myself: FYI

Phil> \bind "C-z x" "tex-mode"

Phil> This solves my key-binding problem.

... and "M-c t" does the same, I think.

JMarc



Re: Key binding

2000-07-26 Thread Phil Scordis


Sorry, it looks like with a bit more digging I have solved it myself:
FYI

\bind "C-z x" "tex-mode"

This solves my key-binding problem.

Phil




Key binding

2000-07-26 Thread Phil Scordis


I apologise in advance for such dumb questions :)

I am using the xemacs key binding (which I have recently discovered after
using the emacs one). What I would like to do is bind a key combo to
exactly the action that the "Red" TeX button on the menu does. However, I
have tried the key binding:

\bind "C-z t"  "layout LaTeX"

And of course this makes the whole paragraph TeX-Red, not just the
highlighted region. So, I have tried almost all combinations of upper and
lowercase "latex" in the following, but to no avail.

\bind "C-z t" "font LaTeX"
 
(including "font-latex")

Please would someone put me out of my misery!

And while I'm at it. I'm using the acronym package, and it seems to be
lacking the functionality that pluralises acronyms, how do I find out
which package version is installed on my machine. 
(I'm using ver 1.1.5 prior to any fixing (rpm))

Thanks

Phil

-
  Phil Scordis
   Room 2.19, School of Biological Sciences, Stopford Building
University of Manchester, Oxford Road, Manchester, M13 9PT
-