Re: Keyboard shortcut for definition

2004-09-24 Thread Andre Poenitz
On Tue, Sep 21, 2004 at 07:58:42PM +0100, Paul Smith wrote:
 Dear All
 
 Could someone please tell me whether it is possible to select the
 definition layout through a keyboard shortcut? I have already searched
 LyX Wiki site, but I can only find shortcuts for section, etc.

I think it should be possible to bind some key to 'layout definition' or
similar. I don't know for sure, though.

Andre'


Re: Keyboard shortcut for definition

2004-09-24 Thread Paul Smith
On Fri, 24 Sep 2004 22:17:03 +0200, Andre Poenitz
[EMAIL PROTECTED] wrote:
 On Tue, Sep 21, 2004 at 07:58:42PM +0100, Paul Smith wrote:
  Dear All
 
  Could someone please tell me whether it is possible to select the
  definition layout through a keyboard shortcut? I have already searched
  LyX Wiki site, but I can only find shortcuts for section, etc.
 
 I think it should be possible to bind some key to 'layout definition' or
 similar. I don't know for sure, though.

Thanks, Andre'. I have added the following line to the my bind file:

\bind M-p 7 layout Definition

and it works just fine. (It was a suggestion of Christian.)

Paul


Re: Keyboard shortcut for definition

2004-09-24 Thread Andre Poenitz
On Tue, Sep 21, 2004 at 07:58:42PM +0100, Paul Smith wrote:
 Dear All
 
 Could someone please tell me whether it is possible to select the
 definition layout through a keyboard shortcut? I have already searched
 LyX Wiki site, but I can only find shortcuts for section, etc.

I think it should be possible to bind some key to 'layout definition' or
similar. I don't know for sure, though.

Andre'


Re: Keyboard shortcut for definition

2004-09-24 Thread Paul Smith
On Fri, 24 Sep 2004 22:17:03 +0200, Andre Poenitz
[EMAIL PROTECTED] wrote:
 On Tue, Sep 21, 2004 at 07:58:42PM +0100, Paul Smith wrote:
  Dear All
 
  Could someone please tell me whether it is possible to select the
  definition layout through a keyboard shortcut? I have already searched
  LyX Wiki site, but I can only find shortcuts for section, etc.
 
 I think it should be possible to bind some key to 'layout definition' or
 similar. I don't know for sure, though.

Thanks, Andre'. I have added the following line to the my bind file:

\bind M-p 7 layout Definition

and it works just fine. (It was a suggestion of Christian.)

Paul


Re: Keyboard shortcut for definition

2004-09-24 Thread Andre Poenitz
On Tue, Sep 21, 2004 at 07:58:42PM +0100, Paul Smith wrote:
> Dear All
> 
> Could someone please tell me whether it is possible to select the
> definition layout through a keyboard shortcut? I have already searched
> LyX Wiki site, but I can only find shortcuts for section, etc.

I think it should be possible to bind some key to 'layout definition' or
similar. I don't know for sure, though.

Andre'


Re: Keyboard shortcut for definition

2004-09-24 Thread Paul Smith
On Fri, 24 Sep 2004 22:17:03 +0200, Andre Poenitz
<[EMAIL PROTECTED]> wrote:
> On Tue, Sep 21, 2004 at 07:58:42PM +0100, Paul Smith wrote:
> > Dear All
> >
> > Could someone please tell me whether it is possible to select the
> > definition layout through a keyboard shortcut? I have already searched
> > LyX Wiki site, but I can only find shortcuts for section, etc.
> 
> I think it should be possible to bind some key to 'layout definition' or
> similar. I don't know for sure, though.

Thanks, Andre'. I have added the following line to the my bind file:

\bind "M-p 7" "layout Definition"

and it works just fine. (It was a suggestion of Christian.)

Paul


Re: Keyboard shortcut for definition

2004-09-23 Thread Paul Smith
On Thu, 23 Sep 2004 08:02:30 +0200, G. Milde [EMAIL PROTECTED] wrote:
 Second hint: If defining your own bindings, do not forget to include the
 standard bindings with \bind_file

Thanks, Gunter. I had already added (to my own bind file) the line

\bind_file  cua

but not the line

\bind_file menus.bind

Paul


Re: Keyboard shortcut for definition

2004-09-23 Thread Paul Smith
On Thu, 23 Sep 2004 08:02:30 +0200, G. Milde [EMAIL PROTECTED] wrote:
 Second hint: If defining your own bindings, do not forget to include the
 standard bindings with \bind_file

Thanks, Gunter. I had already added (to my own bind file) the line

\bind_file  cua

but not the line

\bind_file menus.bind

Paul


Re: Keyboard shortcut for definition

2004-09-23 Thread Paul Smith
On Thu, 23 Sep 2004 08:02:30 +0200, G. Milde <[EMAIL PROTECTED]> wrote:
> Second hint: If defining your own bindings, do not forget to include the
> standard bindings with \bind_file

Thanks, Gunter. I had already added (to my own bind file) the line

\bind_file  "cua"

but not the line

\bind_file menus.bind

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread G. Milde
On 21.09.04, Paul Smith wrote:
 Dear All
 
 Could someone please tell me whether it is possible to select the
 definition layout through a keyboard shortcut? 

Yes. On my LyX it is M-a d (this might differ with different localisations.)

A hint: Generally, after completing a command (be it from keyboard or
menu) the minibuffer (status line) will show the command name and
shortcut.

 I have already searched
 LyX Wiki site, but I can only find shortcuts for section, etc.

Feel free to edit.

Günter

-- 
G.Milde web.de


Re: Keyboard shortcut for definition

2004-09-22 Thread Paul Smith
On Wed, 22 Sep 2004 08:11:33 +0200, G. Milde [EMAIL PROTECTED] wrote:
  Could someone please tell me whether it is possible to select the
  definition layout through a keyboard shortcut?
 
 Yes. On my LyX it is M-a d (this might differ with different localisations.)
 A hint: Generally, after completing a command (be it from keyboard or
 menu) the minibuffer (status line) will show the command name and
 shortcut.

Thanks, Gunter. M-a d does not work here and your hint works for
several commands, but, unfortunately, it fails for the definition
command.

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread chr
On Wed, 22 Sep 2004, Paul Smith wrote:

 On Wed, 22 Sep 2004 08:11:33 +0200, G. Milde [EMAIL PROTECTED] wrote:
   Could someone please tell me whether it is possible to select the
   definition layout through a keyboard shortcut?
  
  Yes. On my LyX it is M-a d (this might differ with different localisations.)
  A hint: Generally, after completing a command (be it from keyboard or
  menu) the minibuffer (status line) will show the command name and
  shortcut.
 
 Thanks, Gunter. M-a d does not work here and your hint works for
 several commands, but, unfortunately, it fails for the definition
 command.

You can get the paragraph environment 'Definition' by for instance doing:

M-x layout Definition

In order to bind it to a specific keyboard shortcut, you would add 
something like this:

\bind M-p d   layout Description

to a .bind file. See e.g. Tips.KeyboardShortcuts on the wiki.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Keyboard shortcut for definition

2004-09-22 Thread Paul Smith
On Wed, 22 Sep 2004 18:32:23 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 You can get the paragraph environment 'Definition' by for instance doing:
 
 M-x layout Definition
 
 In order to bind it to a specific keyboard shortcut, you would add
 something like this:
 
 \bind M-p d   layout Description
 
 to a .bind file. See e.g. Tips.KeyboardShortcuts on the wiki.

Thanks, Christian, for your very useful tip.

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread G. Milde
On 22.09.04, Paul Smith wrote:
  ... On my LyX it is M-a d (this might differ with different localisations.)
  A hint: Generally, after completing a command (be it from keyboard or
  menu) the minibuffer (status line) will show the command name and
  shortcut.
 
 Thanks, Gunter. M-a d does not work here and your hint works for
 several commands, but, unfortunately, it fails for the definition
 command.

Seems like you are missing this keybinding and need to set it manually.

Second hint: If defining your own bindings, do not forget to include the
standard bindings with \bind_file

Long version of second hint:

# Since LyX 1.1.6 the keybinding file is set in a GUI dialog. Where in
# previous versions it was possible to load several bind-files and to
# define additional bindings in the .lyxrc resource file, now only one
# bind-file is loaded from LyX. However, it is still possible to load a
# keybinding file from another bind-file.
#   Thus, to customize the bindings, you can write your own bind-file (or use
# this template) and load the default bindings from here.
# In the GUI, set the bindings to your privat bind-file. LyX will search for
# private keybinding files in ~/.lyx/bind/ .
#
# Before defining your own bindings, select one of the available default
# binding sets. These are resource files (like this one) that define a
# large set of (keyboard) bindings. These files live in the /bind directory of
# the LyX system directory and have the .bind suffix.
#
# Currently, you can choose from the following flavors:
#
# cua.bind  for Windows-, Mac- and Motif-like bindings
# emacs.bindfor Emacs-like bindings.
#
# The \bind_file command looks in the LyX bind directory for a file
# of the given name, so a full path should not be given.

\bind_file cua.bind
#\bind_file emacs.bind

# we also would like to incorporate some additional menu shortcuts
\bind_file menus.bind
# or the German version hereof
# \bind_file de_menus.bind

# Based on the default, you can now change part or all of it with the
# \bind command.


-- 
G.Milde web.de


Re: Keyboard shortcut for definition

2004-09-22 Thread G. Milde
On 21.09.04, Paul Smith wrote:
 Dear All
 
 Could someone please tell me whether it is possible to select the
 definition layout through a keyboard shortcut? 

Yes. On my LyX it is M-a d (this might differ with different localisations.)

A hint: Generally, after completing a command (be it from keyboard or
menu) the minibuffer (status line) will show the command name and
shortcut.

 I have already searched
 LyX Wiki site, but I can only find shortcuts for section, etc.

Feel free to edit.

Günter

-- 
G.Milde web.de


Re: Keyboard shortcut for definition

2004-09-22 Thread Paul Smith
On Wed, 22 Sep 2004 08:11:33 +0200, G. Milde [EMAIL PROTECTED] wrote:
  Could someone please tell me whether it is possible to select the
  definition layout through a keyboard shortcut?
 
 Yes. On my LyX it is M-a d (this might differ with different localisations.)
 A hint: Generally, after completing a command (be it from keyboard or
 menu) the minibuffer (status line) will show the command name and
 shortcut.

Thanks, Gunter. M-a d does not work here and your hint works for
several commands, but, unfortunately, it fails for the definition
command.

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread chr
On Wed, 22 Sep 2004, Paul Smith wrote:

 On Wed, 22 Sep 2004 08:11:33 +0200, G. Milde [EMAIL PROTECTED] wrote:
   Could someone please tell me whether it is possible to select the
   definition layout through a keyboard shortcut?
  
  Yes. On my LyX it is M-a d (this might differ with different localisations.)
  A hint: Generally, after completing a command (be it from keyboard or
  menu) the minibuffer (status line) will show the command name and
  shortcut.
 
 Thanks, Gunter. M-a d does not work here and your hint works for
 several commands, but, unfortunately, it fails for the definition
 command.

You can get the paragraph environment 'Definition' by for instance doing:

M-x layout Definition

In order to bind it to a specific keyboard shortcut, you would add 
something like this:

\bind M-p d   layout Description

to a .bind file. See e.g. Tips.KeyboardShortcuts on the wiki.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Keyboard shortcut for definition

2004-09-22 Thread Paul Smith
On Wed, 22 Sep 2004 18:32:23 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 You can get the paragraph environment 'Definition' by for instance doing:
 
 M-x layout Definition
 
 In order to bind it to a specific keyboard shortcut, you would add
 something like this:
 
 \bind M-p d   layout Description
 
 to a .bind file. See e.g. Tips.KeyboardShortcuts on the wiki.

Thanks, Christian, for your very useful tip.

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread G. Milde
On 22.09.04, Paul Smith wrote:
  ... On my LyX it is M-a d (this might differ with different localisations.)
  A hint: Generally, after completing a command (be it from keyboard or
  menu) the minibuffer (status line) will show the command name and
  shortcut.
 
 Thanks, Gunter. M-a d does not work here and your hint works for
 several commands, but, unfortunately, it fails for the definition
 command.

Seems like you are missing this keybinding and need to set it manually.

Second hint: If defining your own bindings, do not forget to include the
standard bindings with \bind_file

Long version of second hint:

# Since LyX 1.1.6 the keybinding file is set in a GUI dialog. Where in
# previous versions it was possible to load several bind-files and to
# define additional bindings in the .lyxrc resource file, now only one
# bind-file is loaded from LyX. However, it is still possible to load a
# keybinding file from another bind-file.
#   Thus, to customize the bindings, you can write your own bind-file (or use
# this template) and load the default bindings from here.
# In the GUI, set the bindings to your privat bind-file. LyX will search for
# private keybinding files in ~/.lyx/bind/ .
#
# Before defining your own bindings, select one of the available default
# binding sets. These are resource files (like this one) that define a
# large set of (keyboard) bindings. These files live in the /bind directory of
# the LyX system directory and have the .bind suffix.
#
# Currently, you can choose from the following flavors:
#
# cua.bind  for Windows-, Mac- and Motif-like bindings
# emacs.bindfor Emacs-like bindings.
#
# The \bind_file command looks in the LyX bind directory for a file
# of the given name, so a full path should not be given.

\bind_file cua.bind
#\bind_file emacs.bind

# we also would like to incorporate some additional menu shortcuts
\bind_file menus.bind
# or the German version hereof
# \bind_file de_menus.bind

# Based on the default, you can now change part or all of it with the
# \bind command.


-- 
G.Milde web.de


Re: Keyboard shortcut for definition

2004-09-22 Thread G. Milde
On 21.09.04, Paul Smith wrote:
> Dear All
> 
> Could someone please tell me whether it is possible to select the
> definition layout through a keyboard shortcut? 

Yes. On my LyX it is M-a d (this might differ with different localisations.)

A hint: Generally, after completing a command (be it from keyboard or
menu) the minibuffer (status line) will show the command name and
shortcut.

> I have already searched
> LyX Wiki site, but I can only find shortcuts for section, etc.

Feel free to edit.

Günter

-- 
G.Milde web.de


Re: Keyboard shortcut for definition

2004-09-22 Thread Paul Smith
On Wed, 22 Sep 2004 08:11:33 +0200, G. Milde <[EMAIL PROTECTED]> wrote:
> > Could someone please tell me whether it is possible to select the
> > definition layout through a keyboard shortcut?
> 
> Yes. On my LyX it is M-a d (this might differ with different localisations.)
> A hint: Generally, after completing a command (be it from keyboard or
> menu) the minibuffer (status line) will show the command name and
> shortcut.

Thanks, Gunter. M-a d does not work here and your hint works for
several commands, but, unfortunately, it fails for the definition
command.

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread chr
On Wed, 22 Sep 2004, Paul Smith wrote:

> On Wed, 22 Sep 2004 08:11:33 +0200, G. Milde <[EMAIL PROTECTED]> wrote:
> > > Could someone please tell me whether it is possible to select the
> > > definition layout through a keyboard shortcut?
> > 
> > Yes. On my LyX it is M-a d (this might differ with different localisations.)
> > A hint: Generally, after completing a command (be it from keyboard or
> > menu) the minibuffer (status line) will show the command name and
> > shortcut.
> 
> Thanks, Gunter. M-a d does not work here and your hint works for
> several commands, but, unfortunately, it fails for the definition
> command.

You can get the paragraph environment 'Definition' by for instance doing:

M-x layout Definition

In order to bind it to a specific keyboard shortcut, you would add 
something like this:

\bind "M-p d"   "layout Description"

to a .bind file. See e.g. Tips.KeyboardShortcuts on the wiki.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Keyboard shortcut for definition

2004-09-22 Thread Paul Smith
On Wed, 22 Sep 2004 18:32:23 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> You can get the paragraph environment 'Definition' by for instance doing:
> 
> M-x layout Definition
> 
> In order to bind it to a specific keyboard shortcut, you would add
> something like this:
> 
> \bind "M-p d"   "layout Description"
> 
> to a .bind file. See e.g. Tips.KeyboardShortcuts on the wiki.

Thanks, Christian, for your very useful tip.

Paul


Re: Keyboard shortcut for definition

2004-09-22 Thread G. Milde
On 22.09.04, Paul Smith wrote:
> > ... On my LyX it is M-a d (this might differ with different localisations.)
> > A hint: Generally, after completing a command (be it from keyboard or
> > menu) the minibuffer (status line) will show the command name and
> > shortcut.
> 
> Thanks, Gunter. M-a d does not work here and your hint works for
> several commands, but, unfortunately, it fails for the definition
> command.

Seems like you are missing this keybinding and need to set it manually.

Second hint: If defining your own bindings, do not forget to include the
standard bindings with \bind_file

Long version of second hint:

# Since LyX 1.1.6 the keybinding file is set in a GUI dialog. Where in
# previous versions it was possible to load several bind-files and to
# define additional bindings in the .lyxrc resource file, now only one
# bind-file is loaded from LyX. However, it is still possible to load a
# keybinding file from another bind-file.
#   Thus, to customize the bindings, you can write your own bind-file (or use
# this template) and load the default bindings from here.
# In the GUI, set the bindings to your privat bind-file. LyX will search for
# private keybinding files in ~/.lyx/bind/ .
#
# Before defining your own bindings, select one of the available default
# binding sets. These are resource files (like this one) that define a
# large set of (keyboard) bindings. These files live in the /bind directory of
# the LyX system directory and have the .bind suffix.
#
# Currently, you can choose from the following flavors:
#
# cua.bind  for Windows-, Mac- and Motif-like bindings
# emacs.bindfor Emacs-like bindings.
#
# The \bind_file command looks in the LyX bind directory for a file
# of the given name, so a full path should not be given.

\bind_file cua.bind
#\bind_file emacs.bind

# we also would like to incorporate some additional menu shortcuts
\bind_file menus.bind
# or the German version hereof
# \bind_file de_menus.bind

# Based on the default, you can now change part or all of it with the
# \bind command.


-- 
G.Milde web.de


Keyboard shortcut for definition

2004-09-21 Thread Paul Smith
Dear All

Could someone please tell me whether it is possible to select the
definition layout through a keyboard shortcut? I have already searched
LyX Wiki site, but I can only find shortcuts for section, etc.

Thanks in advance,

Paul


Keyboard shortcut for definition

2004-09-21 Thread Paul Smith
Dear All

Could someone please tell me whether it is possible to select the
definition layout through a keyboard shortcut? I have already searched
LyX Wiki site, but I can only find shortcuts for section, etc.

Thanks in advance,

Paul


Keyboard shortcut for definition

2004-09-21 Thread Paul Smith
Dear All

Could someone please tell me whether it is possible to select the
definition layout through a keyboard shortcut? I have already searched
LyX Wiki site, but I can only find shortcuts for section, etc.

Thanks in advance,

Paul