Re: Default label???

2011-03-25 Thread Hellmut Weber
Am 24.03.2011 10:12, schrieb Abdelrazak Younes:
 On 03/22/2011 11:26 PM, Steve Litt wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.
 
 What about Alt+I+L ? I guess you know that all menu items are accessible
 via the keyboard. We developers are very careful that all LyX features
 can be used without the keyboard.

Hi Abdel,
do you really mean without ?

For me its important to reach them 'with' (i.e. from) the keyboard
which means without using the mouse ;-)

Thanks for your work on LyX

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Re: Default label???

2011-03-25 Thread Liviu Andronic
On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weber m...@hellmutweber.de wrote:
 What about Alt+I+L ? I guess you know that all menu items are accessible
 via the keyboard. We developers are very careful that all LyX features
 can be used without the keyboard.

 Hi Abdel,
 do you really mean without ?

I'm confident Abdel meant 'with'. Virtually all LyX functionality can
be mapped to a keyboard combination (see Help  Functions).

Regards
Liviu


 For me its important to reach them 'with' (i.e. from) the keyboard
 which means without using the mouse ;-)

 Thanks for your work on LyX

 Hellmut

 --
 Dr. Hellmut Weber         m...@hellmutweber.de
 Degenfeldstraße 2         tel   +49-89-3081172
 D-80803 München-Schwabing mobil +49-172-8450321
 please: No DOCs, no PPTs. why: tinyurl.com/cbgq




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Default label???

2011-03-25 Thread Abdelrazak Younes

On 03/25/2011 03:48 PM, Liviu Andronic wrote:

On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weberm...@hellmutweber.de  wrote:

What about Alt+I+L ? I guess you know that all menu items are accessible
via the keyboard. We developers are very careful that all LyX features
can be used without the keyboard.


Hi Abdel,
do you really mean without ?


I'm confident Abdel meant 'with'.


Yes, of course, sorry for the confusion.

Abdel.



Re: Default label???

2011-03-25 Thread Manolo Martínez
Well, without is also true, isn't it -typing excluded :)

El vie, 25-03-2011 a las 16:10 +0100, Abdelrazak Younes escribió: 
 On 03/25/2011 03:48 PM, Liviu Andronic wrote:
  On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weberm...@hellmutweber.de  wrote:
  What about Alt+I+L ? I guess you know that all menu items are accessible
  via the keyboard. We developers are very careful that all LyX features
  can be used without the keyboard.
 
  Hi Abdel,
  do you really mean without ?
 
  I'm confident Abdel meant 'with'.
 
 Yes, of course, sorry for the confusion.
 
 Abdel.
 




Re: Default label???

2011-03-25 Thread Liviu Andronic
On Fri, Mar 25, 2011 at 4:25 PM, Manolo Martínez
man...@austrohungaro.com wrote:
 Well, without is also true, isn't it -typing excluded :)

I am not sure that this is what you mean, but you *can* assign random
strings to a binding. Whether this makes sense is up to you. :)
Liviu


Re: Default label???

2011-03-25 Thread Hellmut Weber
Am 24.03.2011 10:12, schrieb Abdelrazak Younes:
 On 03/22/2011 11:26 PM, Steve Litt wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.
 
 What about Alt+I+L ? I guess you know that all menu items are accessible
 via the keyboard. We developers are very careful that all LyX features
 can be used without the keyboard.

Hi Abdel,
do you really mean without ?

For me its important to reach them 'with' (i.e. from) the keyboard
which means without using the mouse ;-)

Thanks for your work on LyX

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Re: Default label???

2011-03-25 Thread Liviu Andronic
On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weber m...@hellmutweber.de wrote:
 What about Alt+I+L ? I guess you know that all menu items are accessible
 via the keyboard. We developers are very careful that all LyX features
 can be used without the keyboard.

 Hi Abdel,
 do you really mean without ?

I'm confident Abdel meant 'with'. Virtually all LyX functionality can
be mapped to a keyboard combination (see Help  Functions).

Regards
Liviu


 For me its important to reach them 'with' (i.e. from) the keyboard
 which means without using the mouse ;-)

 Thanks for your work on LyX

 Hellmut

 --
 Dr. Hellmut Weber         m...@hellmutweber.de
 Degenfeldstraße 2         tel   +49-89-3081172
 D-80803 München-Schwabing mobil +49-172-8450321
 please: No DOCs, no PPTs. why: tinyurl.com/cbgq




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Default label???

2011-03-25 Thread Abdelrazak Younes

On 03/25/2011 03:48 PM, Liviu Andronic wrote:

On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weberm...@hellmutweber.de  wrote:

What about Alt+I+L ? I guess you know that all menu items are accessible
via the keyboard. We developers are very careful that all LyX features
can be used without the keyboard.


Hi Abdel,
do you really mean without ?


I'm confident Abdel meant 'with'.


Yes, of course, sorry for the confusion.

Abdel.



Re: Default label???

2011-03-25 Thread Manolo Martínez
Well, without is also true, isn't it -typing excluded :)

El vie, 25-03-2011 a las 16:10 +0100, Abdelrazak Younes escribió: 
 On 03/25/2011 03:48 PM, Liviu Andronic wrote:
  On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weberm...@hellmutweber.de  wrote:
  What about Alt+I+L ? I guess you know that all menu items are accessible
  via the keyboard. We developers are very careful that all LyX features
  can be used without the keyboard.
 
  Hi Abdel,
  do you really mean without ?
 
  I'm confident Abdel meant 'with'.
 
 Yes, of course, sorry for the confusion.
 
 Abdel.
 




Re: Default label???

2011-03-25 Thread Liviu Andronic
On Fri, Mar 25, 2011 at 4:25 PM, Manolo Martínez
man...@austrohungaro.com wrote:
 Well, without is also true, isn't it -typing excluded :)

I am not sure that this is what you mean, but you *can* assign random
strings to a binding. Whether this makes sense is up to you. :)
Liviu


Re: Default label???

2011-03-25 Thread Hellmut Weber
Am 24.03.2011 10:12, schrieb Abdelrazak Younes:
> On 03/22/2011 11:26 PM, Steve Litt wrote:
>> Hi all,
>>
>> I'm now labelling all 57 chapters of my new book, and what a PITA!
>>
>> First of all, there's no hotkey -- I have to do Insert->Label on every
>> one.
> 
> What about Alt+I+L ? I guess you know that all menu items are accessible
> via the keyboard. We developers are very careful that all LyX features
> can be used without the keyboard.

Hi Abdel,
do you really mean "without" ?

For me its important to reach them 'with' (i.e. from) the keyboard
which means without using the mouse ;-)

Thanks for your work on LyX

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Re: Default label???

2011-03-25 Thread Liviu Andronic
On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weber  wrote:
>> What about Alt+I+L ? I guess you know that all menu items are accessible
>> via the keyboard. We developers are very careful that all LyX features
>> can be used without the keyboard.
>
> Hi Abdel,
> do you really mean "without" ?
>
I'm confident Abdel meant 'with'. Virtually all LyX functionality can
be mapped to a keyboard combination (see Help > Functions).

Regards
Liviu


> For me its important to reach them 'with' (i.e. from) the keyboard
> which means without using the mouse ;-)
>
> Thanks for your work on LyX
>
> Hellmut
>
> --
> Dr. Hellmut Weber         m...@hellmutweber.de
> Degenfeldstraße 2         tel   +49-89-3081172
> D-80803 München-Schwabing mobil +49-172-8450321
> please: No DOCs, no PPTs. why: tinyurl.com/cbgq
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Default label???

2011-03-25 Thread Abdelrazak Younes

On 03/25/2011 03:48 PM, Liviu Andronic wrote:

On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weber  wrote:

What about Alt+I+L ? I guess you know that all menu items are accessible
via the keyboard. We developers are very careful that all LyX features
can be used without the keyboard.


Hi Abdel,
do you really mean "without" ?


I'm confident Abdel meant 'with'.


Yes, of course, sorry for the confusion.

Abdel.



Re: Default label???

2011-03-25 Thread Manolo Martínez
Well, "without" is also true, isn't it -typing excluded :)

El vie, 25-03-2011 a las 16:10 +0100, Abdelrazak Younes escribió: 
> On 03/25/2011 03:48 PM, Liviu Andronic wrote:
> > On Fri, Mar 25, 2011 at 2:19 PM, Hellmut Weber  wrote:
> >>> What about Alt+I+L ? I guess you know that all menu items are accessible
> >>> via the keyboard. We developers are very careful that all LyX features
> >>> can be used without the keyboard.
> >>
> >> Hi Abdel,
> >> do you really mean "without" ?
> >>
> > I'm confident Abdel meant 'with'.
> 
> Yes, of course, sorry for the confusion.
> 
> Abdel.
> 




Re: Default label???

2011-03-25 Thread Liviu Andronic
On Fri, Mar 25, 2011 at 4:25 PM, Manolo Martínez
 wrote:
> Well, "without" is also true, isn't it -typing excluded :)
>
I am not sure that this is what you mean, but you *can* assign random
strings to a binding. Whether this makes sense is up to you. :)
Liviu


Re: Default label???

2011-03-24 Thread Stephan Witt
Am 23.03.2011 um 23:51 schrieb Steve Litt:

 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,
 
 I'm now labelling all 57 chapters of my new book, and what a PITA!
 
 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.
 
 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).
 
 How about alt-i, l? (Keyboard-based menu access.)
 
 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?
 
 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.
 
 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.
 
 Richard
 
 Hi Richard,
 
 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.
 
 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length in 
 words of a default label. Just use that constant, variable or magic number to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.
 
 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.
 
 How does that sound?

As a user I'd like and propose another solution:
* maintain a black list of words [per language] (give the user a chance to edit 
it)
* skip words from this list at the beginning
* use the remaining words until max is reached or
* use more words being skipped if the max is not reached.

The problem is where to store this list of words - we have too many 
RC-variables already.

Stephan

Re: Default label???

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 07:20, Stephan Witt wrote:
 Am 23.03.2011 um 23:51 schrieb Steve Litt:
 
 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).

 How about alt-i, l? (Keyboard-based menu access.)

 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.

 Richard

 Hi Richard,

 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.

 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length 
 in 
 words of a default label. Just use that constant, variable or magic number 
 to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.

 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.

 How does that sound?
 
 As a user I'd like and propose another solution:
 * maintain a black list of words [per language] (give the user a chance to 
 edit it)
 * skip words from this list at the beginning
 * use the remaining words until max is reached or
 * use more words being skipped if the max is not reached.

Sounds like a reasonable solution - but would it be then a major step to
put the first 10 words into variables which could then be assembled
through a parser by a pattern specified by the user? I guess it would be
a more difficult, but much more difficult? I don't know - but it would
be a nice touch to have such a feature.

 
 The problem is where to store this list of words - we have too many 
 RC-variables already.

That is an internal question, but I think it should be user editable  so
via preferences would be fine (I don't know if that goes back to the
RC-variables you mentioned).

Cheers,

Rainer


 
 Stephan


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2K9AUACgkQoYgNqgF2egoWugCgi7acCMxGb8M2qtZl7mYe7vDD
J+sAn3ykXegKnuTeyp9QJ1f4u6mOmj5J
=Kvhn
-END PGP SIGNATURE-


Re: Default label???

2011-03-24 Thread Abdelrazak Younes

On 03/22/2011 11:26 PM, Steve Litt wrote:

Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert-Label on every one.


What about Alt+I+L ? I guess you know that all menu items are accessible 
via the keyboard. We developers are very careful that all LyX features 
can be used without the keyboard.


Abdel.


Re: Default label???

2011-03-24 Thread Stephan Witt
Am 23.03.2011 um 23:51 schrieb Steve Litt:

 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,
 
 I'm now labelling all 57 chapters of my new book, and what a PITA!
 
 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.
 
 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).
 
 How about alt-i, l? (Keyboard-based menu access.)
 
 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?
 
 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.
 
 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.
 
 Richard
 
 Hi Richard,
 
 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.
 
 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length in 
 words of a default label. Just use that constant, variable or magic number to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.
 
 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.
 
 How does that sound?

As a user I'd like and propose another solution:
* maintain a black list of words [per language] (give the user a chance to edit 
it)
* skip words from this list at the beginning
* use the remaining words until max is reached or
* use more words being skipped if the max is not reached.

The problem is where to store this list of words - we have too many 
RC-variables already.

Stephan

Re: Default label???

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 07:20, Stephan Witt wrote:
 Am 23.03.2011 um 23:51 schrieb Steve Litt:
 
 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).

 How about alt-i, l? (Keyboard-based menu access.)

 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.

 Richard

 Hi Richard,

 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.

 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length 
 in 
 words of a default label. Just use that constant, variable or magic number 
 to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.

 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.

 How does that sound?
 
 As a user I'd like and propose another solution:
 * maintain a black list of words [per language] (give the user a chance to 
 edit it)
 * skip words from this list at the beginning
 * use the remaining words until max is reached or
 * use more words being skipped if the max is not reached.

Sounds like a reasonable solution - but would it be then a major step to
put the first 10 words into variables which could then be assembled
through a parser by a pattern specified by the user? I guess it would be
a more difficult, but much more difficult? I don't know - but it would
be a nice touch to have such a feature.

 
 The problem is where to store this list of words - we have too many 
 RC-variables already.

That is an internal question, but I think it should be user editable  so
via preferences would be fine (I don't know if that goes back to the
RC-variables you mentioned).

Cheers,

Rainer


 
 Stephan


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2K9AUACgkQoYgNqgF2egoWugCgi7acCMxGb8M2qtZl7mYe7vDD
J+sAn3ykXegKnuTeyp9QJ1f4u6mOmj5J
=Kvhn
-END PGP SIGNATURE-


Re: Default label???

2011-03-24 Thread Abdelrazak Younes

On 03/22/2011 11:26 PM, Steve Litt wrote:

Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert-Label on every one.


What about Alt+I+L ? I guess you know that all menu items are accessible 
via the keyboard. We developers are very careful that all LyX features 
can be used without the keyboard.


Abdel.


Re: Default label???

2011-03-24 Thread Stephan Witt
Am 23.03.2011 um 23:51 schrieb Steve Litt:

> On Wednesday 23 March 2011 09:04:05 you wrote:
>> On 03/22/2011 07:33 PM, Liviu Andronic wrote:
>>> On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt <sl...@troubleshooters.com> 
> wrote:
>>>> Hi all,
>>>> 
>>>> I'm now labelling all 57 chapters of my new book, and what a PITA!
>>>> 
>>>> First of all, there's no hotkey -- I have to do Insert->Label on every
>>>> one.
>>> 
>>> At least for this you can easily define a custom shortcut. See the
>>> docs (Customization and Functions, I think).
>> 
>> How about alt-i, l? (Keyboard-based menu access.)
>> 
>>>> But even worse, the label defaults to the first three words, and often
>>>> the first word is "The". Is there a way to have the label default to
>>>> the first five words?
>>> 
>>> I have no idea, but this might be hardcoded. You have always the
>>> option to change it in the sources and rebuild it for you needs.
>>> Otherwise perhaps file a bug report.
>> 
>> Rainer's idea about this is OK, but it seems a lot of work for not much
>> payoff.
>> 
>> Richard
> 
> Hi Richard,
> 
> You'd have a new respect for the payoff after labeling 55 chapters with more 
> than 3 words, and many start with "The" or "A".
> 
> If Rainer's idea is too much work, an easier route could be made. Somewhere 
> in 
> the code is a constant, variable or magic number describing the max length in 
> words of a default label. Just use that constant, variable or magic number to 
> set a variable, and then override the variable based on an environment 
> variable if the environment variable exists. I'd guess it would be about a 
> ten 
> minute change.
> 
> Then, if that environment variable solution becomes popular, at a later time 
> the number of words can be set using a genuine configuration screen.
> 
> How does that sound?

As a user I'd like and propose another solution:
* maintain a black list of words [per language] (give the user a chance to edit 
it)
* skip words from this list at the beginning
* use the remaining words until max is reached or
* use more words being skipped if the max is not reached.

The problem is where to store this list of words - we have too many 
RC-variables already.

Stephan

Re: Default label???

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 07:20, Stephan Witt wrote:
> Am 23.03.2011 um 23:51 schrieb Steve Litt:
> 
>> On Wednesday 23 March 2011 09:04:05 you wrote:
>>> On 03/22/2011 07:33 PM, Liviu Andronic wrote:
>>>> On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt <sl...@troubleshooters.com> 
>> wrote:
>>>>> Hi all,
>>>>>
>>>>> I'm now labelling all 57 chapters of my new book, and what a PITA!
>>>>>
>>>>> First of all, there's no hotkey -- I have to do Insert->Label on every
>>>>> one.
>>>>
>>>> At least for this you can easily define a custom shortcut. See the
>>>> docs (Customization and Functions, I think).
>>>
>>> How about alt-i, l? (Keyboard-based menu access.)
>>>
>>>>> But even worse, the label defaults to the first three words, and often
>>>>> the first word is "The". Is there a way to have the label default to
>>>>> the first five words?
>>>>
>>>> I have no idea, but this might be hardcoded. You have always the
>>>> option to change it in the sources and rebuild it for you needs.
>>>> Otherwise perhaps file a bug report.
>>>
>>> Rainer's idea about this is OK, but it seems a lot of work for not much
>>> payoff.
>>>
>>> Richard
>>
>> Hi Richard,
>>
>> You'd have a new respect for the payoff after labeling 55 chapters with more 
>> than 3 words, and many start with "The" or "A".
>>
>> If Rainer's idea is too much work, an easier route could be made. Somewhere 
>> in 
>> the code is a constant, variable or magic number describing the max length 
>> in 
>> words of a default label. Just use that constant, variable or magic number 
>> to 
>> set a variable, and then override the variable based on an environment 
>> variable if the environment variable exists. I'd guess it would be about a 
>> ten 
>> minute change.
>>
>> Then, if that environment variable solution becomes popular, at a later time 
>> the number of words can be set using a genuine configuration screen.
>>
>> How does that sound?
> 
> As a user I'd like and propose another solution:
> * maintain a black list of words [per language] (give the user a chance to 
> edit it)
> * skip words from this list at the beginning
> * use the remaining words until max is reached or
> * use more words being skipped if the max is not reached.

Sounds like a reasonable solution - but would it be then a major step to
put the first 10 words into variables which could then be assembled
through a parser by a pattern specified by the user? I guess it would be
a more difficult, but much more difficult? I don't know - but it would
be a nice touch to have such a feature.

> 
> The problem is where to store this list of words - we have too many 
> RC-variables already.

That is an internal question, but I think it should be user editable  so
via preferences would be fine (I don't know if that goes back to the
RC-variables you mentioned).

Cheers,

Rainer


> 
> Stephan


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2K9AUACgkQoYgNqgF2egoWugCgi7acCMxGb8M2qtZl7mYe7vDD
J+sAn3ykXegKnuTeyp9QJ1f4u6mOmj5J
=Kvhn
-END PGP SIGNATURE-


Re: Default label???

2011-03-24 Thread Abdelrazak Younes

On 03/22/2011 11:26 PM, Steve Litt wrote:

Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert->Label on every one.


What about Alt+I+L ? I guess you know that all menu items are accessible 
via the keyboard. We developers are very careful that all LyX features 
can be used without the keyboard.


Abdel.


Re: Default label???

2011-03-23 Thread Rainer M Krug
On Wed, Mar 23, 2011 at 12:33 AM, Liviu Andronic landronim...@gmail.com wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).


 But even worse, the label defaults to the first three words, and often the
 first word is The. Is there a way to have the label default to the first
 five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

Yes - I would suggest to file a feature request, that the naming of
the label is based on some variables ($W1 = first word, ...$W10) and
some kind of regular expression? This would make customisation much
easier.

Rainer


 Cheers
 Liviu


 Or, perhaps give us a way to highlight the entire title and have
 that govern the label? Right now highlighting is no different from putting 
 the
 cursor at the start, except that highlighting increases the risk of erasing
 the highlighted text.

 I think that label insertion is common enough that it should be a fast
 process, and people's priorities differ enough that the default number of
 words should be changeable.

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt





 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Re: Default label???

2011-03-23 Thread Richard Heck
On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).

How about alt-i, l? (Keyboard-based menu access.)

 But even worse, the label defaults to the first three words, and often the
 first word is The. Is there a way to have the label default to the first
 five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

Rainer's idea about this is OK, but it seems a lot of work for not much
payoff.

Richard



Re: Default label???

2011-03-23 Thread Steve Litt
On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
  On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
wrote:
  Hi all,
  
  I'm now labelling all 57 chapters of my new book, and what a PITA!
  
  First of all, there's no hotkey -- I have to do Insert-Label on every
  one.
  
  At least for this you can easily define a custom shortcut. See the
  docs (Customization and Functions, I think).
 
 How about alt-i, l? (Keyboard-based menu access.)
 
  But even worse, the label defaults to the first three words, and often
  the first word is The. Is there a way to have the label default to
  the first five words?
  
  I have no idea, but this might be hardcoded. You have always the
  option to change it in the sources and rebuild it for you needs.
  Otherwise perhaps file a bug report.
 
 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.
 
 Richard

Hi Richard,

You'd have a new respect for the payoff after labeling 55 chapters with more 
than 3 words, and many start with The or A.

If Rainer's idea is too much work, an easier route could be made. Somewhere in 
the code is a constant, variable or magic number describing the max length in 
words of a default label. Just use that constant, variable or magic number to 
set a variable, and then override the variable based on an environment 
variable if the environment variable exists. I'd guess it would be about a ten 
minute change.

Then, if that environment variable solution becomes popular, at a later time 
the number of words can be set using a genuine configuration screen.

How does that sound?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Default label???

2011-03-23 Thread Rainer M Krug
On Wed, Mar 23, 2011 at 12:33 AM, Liviu Andronic landronim...@gmail.com wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).


 But even worse, the label defaults to the first three words, and often the
 first word is The. Is there a way to have the label default to the first
 five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

Yes - I would suggest to file a feature request, that the naming of
the label is based on some variables ($W1 = first word, ...$W10) and
some kind of regular expression? This would make customisation much
easier.

Rainer


 Cheers
 Liviu


 Or, perhaps give us a way to highlight the entire title and have
 that govern the label? Right now highlighting is no different from putting 
 the
 cursor at the start, except that highlighting increases the risk of erasing
 the highlighted text.

 I think that label insertion is common enough that it should be a fast
 process, and people's priorities differ enough that the default number of
 words should be changeable.

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt





 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Re: Default label???

2011-03-23 Thread Richard Heck
On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).

How about alt-i, l? (Keyboard-based menu access.)

 But even worse, the label defaults to the first three words, and often the
 first word is The. Is there a way to have the label default to the first
 five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

Rainer's idea about this is OK, but it seems a lot of work for not much
payoff.

Richard



Re: Default label???

2011-03-23 Thread Steve Litt
On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
  On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
wrote:
  Hi all,
  
  I'm now labelling all 57 chapters of my new book, and what a PITA!
  
  First of all, there's no hotkey -- I have to do Insert-Label on every
  one.
  
  At least for this you can easily define a custom shortcut. See the
  docs (Customization and Functions, I think).
 
 How about alt-i, l? (Keyboard-based menu access.)
 
  But even worse, the label defaults to the first three words, and often
  the first word is The. Is there a way to have the label default to
  the first five words?
  
  I have no idea, but this might be hardcoded. You have always the
  option to change it in the sources and rebuild it for you needs.
  Otherwise perhaps file a bug report.
 
 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.
 
 Richard

Hi Richard,

You'd have a new respect for the payoff after labeling 55 chapters with more 
than 3 words, and many start with The or A.

If Rainer's idea is too much work, an easier route could be made. Somewhere in 
the code is a constant, variable or magic number describing the max length in 
words of a default label. Just use that constant, variable or magic number to 
set a variable, and then override the variable based on an environment 
variable if the environment variable exists. I'd guess it would be about a ten 
minute change.

Then, if that environment variable solution becomes popular, at a later time 
the number of words can be set using a genuine configuration screen.

How does that sound?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Default label???

2011-03-23 Thread Rainer M Krug
On Wed, Mar 23, 2011 at 12:33 AM, Liviu Andronic  wrote:
> On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt  
> wrote:
>> Hi all,
>>
>> I'm now labelling all 57 chapters of my new book, and what a PITA!
>>
>> First of all, there's no hotkey -- I have to do Insert->Label on every one.
>>
> At least for this you can easily define a custom shortcut. See the
> docs (Customization and Functions, I think).
>
>
>> But even worse, the label defaults to the first three words, and often the
>> first word is "The". Is there a way to have the label default to the first
>> five words?
>>
> I have no idea, but this might be hardcoded. You have always the
> option to change it in the sources and rebuild it for you needs.
> Otherwise perhaps file a bug report.

Yes - I would suggest to file a feature request, that the naming of
the label is based on some variables ($W1 = first word, ...$W10) and
some kind of regular expression? This would make customisation much
easier.

Rainer

>
> Cheers
> Liviu
>
>
>> Or, perhaps give us a way to highlight the entire title and have
>> that govern the label? Right now highlighting is no different from putting 
>> the
>> cursor at the start, except that highlighting increases the risk of erasing
>> the highlighted text.
>>
>> I think that label insertion is common enough that it should be a fast
>> process, and people's priorities differ enough that the default number of
>> words should be changeable.
>>
>> SteveT
>>
>> Steve Litt
>> Recession Relief Package
>> http://www.recession-relief.US
>> Twitter: http://www.twitter.com/stevelitt
>>
>>
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Re: Default label???

2011-03-23 Thread Richard Heck
On 03/22/2011 07:33 PM, Liviu Andronic wrote:
> On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt  
> wrote:
>> Hi all,
>>
>> I'm now labelling all 57 chapters of my new book, and what a PITA!
>>
>> First of all, there's no hotkey -- I have to do Insert->Label on every one.
>>
> At least for this you can easily define a custom shortcut. See the
> docs (Customization and Functions, I think).
>
How about alt-i, l? (Keyboard-based menu access.)

>> But even worse, the label defaults to the first three words, and often the
>> first word is "The". Is there a way to have the label default to the first
>> five words?
>>
> I have no idea, but this might be hardcoded. You have always the
> option to change it in the sources and rebuild it for you needs.
> Otherwise perhaps file a bug report.
>
Rainer's idea about this is OK, but it seems a lot of work for not much
payoff.

Richard



Re: Default label???

2011-03-23 Thread Steve Litt
On Wednesday 23 March 2011 09:04:05 you wrote:
> On 03/22/2011 07:33 PM, Liviu Andronic wrote:
> > On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt <sl...@troubleshooters.com> 
wrote:
> >> Hi all,
> >> 
> >> I'm now labelling all 57 chapters of my new book, and what a PITA!
> >> 
> >> First of all, there's no hotkey -- I have to do Insert->Label on every
> >> one.
> > 
> > At least for this you can easily define a custom shortcut. See the
> > docs (Customization and Functions, I think).
> 
> How about alt-i, l? (Keyboard-based menu access.)
> 
> >> But even worse, the label defaults to the first three words, and often
> >> the first word is "The". Is there a way to have the label default to
> >> the first five words?
> > 
> > I have no idea, but this might be hardcoded. You have always the
> > option to change it in the sources and rebuild it for you needs.
> > Otherwise perhaps file a bug report.
> 
> Rainer's idea about this is OK, but it seems a lot of work for not much
> payoff.
> 
> Richard

Hi Richard,

You'd have a new respect for the payoff after labeling 55 chapters with more 
than 3 words, and many start with "The" or "A".

If Rainer's idea is too much work, an easier route could be made. Somewhere in 
the code is a constant, variable or magic number describing the max length in 
words of a default label. Just use that constant, variable or magic number to 
set a variable, and then override the variable based on an environment 
variable if the environment variable exists. I'd guess it would be about a ten 
minute change.

Then, if that environment variable solution becomes popular, at a later time 
the number of words can be set using a genuine configuration screen.

How does that sound?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Default label???

2011-03-22 Thread Steve Litt
Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert-Label on every one. 
But even worse, the label defaults to the first three words, and often the 
first word is The. Is there a way to have the label default to the first 
five words? Or, perhaps give us a way to highlight the entire title and have 
that govern the label? Right now highlighting is no different from putting the 
cursor at the start, except that highlighting increases the risk of erasing 
the highlighted text.

I think that label insertion is common enough that it should be a fast 
process, and people's priorities differ enough that the default number of 
words should be changeable.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Default label???

2011-03-22 Thread Liviu Andronic
On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every one.

At least for this you can easily define a custom shortcut. See the
docs (Customization and Functions, I think).


 But even worse, the label defaults to the first three words, and often the
 first word is The. Is there a way to have the label default to the first
 five words?

I have no idea, but this might be hardcoded. You have always the
option to change it in the sources and rebuild it for you needs.
Otherwise perhaps file a bug report.

Cheers
Liviu


 Or, perhaps give us a way to highlight the entire title and have
 that govern the label? Right now highlighting is no different from putting the
 cursor at the start, except that highlighting increases the risk of erasing
 the highlighted text.

 I think that label insertion is common enough that it should be a fast
 process, and people's priorities differ enough that the default number of
 words should be changeable.

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Default label???

2011-03-22 Thread Steve Litt
Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert-Label on every one. 
But even worse, the label defaults to the first three words, and often the 
first word is The. Is there a way to have the label default to the first 
five words? Or, perhaps give us a way to highlight the entire title and have 
that govern the label? Right now highlighting is no different from putting the 
cursor at the start, except that highlighting increases the risk of erasing 
the highlighted text.

I think that label insertion is common enough that it should be a fast 
process, and people's priorities differ enough that the default number of 
words should be changeable.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Default label???

2011-03-22 Thread Liviu Andronic
On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every one.

At least for this you can easily define a custom shortcut. See the
docs (Customization and Functions, I think).


 But even worse, the label defaults to the first three words, and often the
 first word is The. Is there a way to have the label default to the first
 five words?

I have no idea, but this might be hardcoded. You have always the
option to change it in the sources and rebuild it for you needs.
Otherwise perhaps file a bug report.

Cheers
Liviu


 Or, perhaps give us a way to highlight the entire title and have
 that govern the label? Right now highlighting is no different from putting the
 cursor at the start, except that highlighting increases the risk of erasing
 the highlighted text.

 I think that label insertion is common enough that it should be a fast
 process, and people's priorities differ enough that the default number of
 words should be changeable.

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Default label???

2011-03-22 Thread Steve Litt
Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert->Label on every one. 
But even worse, the label defaults to the first three words, and often the 
first word is "The". Is there a way to have the label default to the first 
five words? Or, perhaps give us a way to highlight the entire title and have 
that govern the label? Right now highlighting is no different from putting the 
cursor at the start, except that highlighting increases the risk of erasing 
the highlighted text.

I think that label insertion is common enough that it should be a fast 
process, and people's priorities differ enough that the default number of 
words should be changeable.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Default label???

2011-03-22 Thread Liviu Andronic
On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt  wrote:
> Hi all,
>
> I'm now labelling all 57 chapters of my new book, and what a PITA!
>
> First of all, there's no hotkey -- I have to do Insert->Label on every one.
>
At least for this you can easily define a custom shortcut. See the
docs (Customization and Functions, I think).


> But even worse, the label defaults to the first three words, and often the
> first word is "The". Is there a way to have the label default to the first
> five words?
>
I have no idea, but this might be hardcoded. You have always the
option to change it in the sources and rebuild it for you needs.
Otherwise perhaps file a bug report.

Cheers
Liviu


> Or, perhaps give us a way to highlight the entire title and have
> that govern the label? Right now highlighting is no different from putting the
> cursor at the start, except that highlighting increases the risk of erasing
> the highlighted text.
>
> I think that label insertion is common enough that it should be a fast
> process, and people's priorities differ enough that the default number of
> words should be changeable.
>
> SteveT
>
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail