Re: Figure references 1.5.3: Danger Will Robinson

2008-02-25 Thread G. Milde
On 24.02.08, Les Denham wrote:
 On Sunday 24 February 2008 18:06, Steve Litt wrote:
  Aha! I never even thought of putting it inside the caption (should it
  be at the beginning or end of caption?). 

 I don't know whether it is explicitly documented, but if you look at the 
 documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
 the labels are placed in the floats, you will see they are in the captions, 
 at the beginning.  I doubt if putting them elsewhere in the caption would 
 make any difference, 

It does not. I have the label always at the end of the caption
without problems.

 but when you click on the label icon, the default name 
 of the label is based on the first few words after the cursor.

Actually, the default is the first few words of the caption, so the
cursor position within a caption does not matter.

GM


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-25 Thread G. Milde
On 24.02.08, Les Denham wrote:
 On Sunday 24 February 2008 18:06, Steve Litt wrote:
  Aha! I never even thought of putting it inside the caption (should it
  be at the beginning or end of caption?). 

 I don't know whether it is explicitly documented, but if you look at the 
 documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
 the labels are placed in the floats, you will see they are in the captions, 
 at the beginning.  I doubt if putting them elsewhere in the caption would 
 make any difference, 

It does not. I have the label always at the end of the caption
without problems.

 but when you click on the label icon, the default name 
 of the label is based on the first few words after the cursor.

Actually, the default is the first few words of the caption, so the
cursor position within a caption does not matter.

GM


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-25 Thread G. Milde
On 24.02.08, Les Denham wrote:
> On Sunday 24 February 2008 18:06, Steve Litt wrote:
> > Aha! I never even thought of putting it inside the caption (should it
> > be at the beginning or end of caption?). 

> I don't know whether it is explicitly documented, but if you look at the 
> documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
> the labels are placed in the floats, you will see they are in the captions, 
> at the beginning.  I doubt if putting them elsewhere in the caption would 
> make any difference, 

It does not. I have the label always at the end of the caption
without problems.

> but when you click on the label icon, the default name 
> of the label is based on the first few words after the cursor.

Actually, the default is the first few words of the caption, so the
cursor position within a caption does not matter.

GM


Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Steve Litt
Hi all,

Here are two small LyX files. The only difference is that in bug2.lyx the 
labels come last inside the floats, whereas in bug.lyx the labels come first. 
bug2.lyx works (after a couple view-pdf, but bug.lyx never works (at least 
on my 1.5.3). I'm attaching the files and the two images they use, so that 
you all can be aware of this little gotcha.

Or, if it's only happening on my system, maybe we can exploit the differences 
to find out why.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


littbug153.tgz
Description: application/tgz


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Les Denham
On Sunday 24 February 2008 17:35, Steve Litt wrote:
 Hi all,

 Here are two small LyX files. The only difference is that in bug2.lyx the
 labels come last inside the floats, whereas in bug.lyx the labels come
 first. bug2.lyx works (after a couple view-pdf, but bug.lyx never works
 (at least on my 1.5.3). I'm attaching the files and the two images they
 use, so that you all can be aware of this little gotcha.

 Or, if it's only happening on my system, maybe we can exploit the
 differences to find out why.

 Thanks

Steve,

I get the same results as you with these examples, though I'm using 1.5.1 
rather than 1.5.3.

But I always put the label inside the caption of the float, and have never had 
this problem.  As the caption is what is actually numbered, I think that is 
the logical place to put the label.

A few minutes ago I completed a 66 page document with 235 figures, almost all 
of them labeled and cross-referenced, and while I have not done a final 
proof-read I do not think I have an error in any of those references.

Les


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Steve Litt
On Sunday 24 February 2008 18:44, Les Denham wrote:
 On Sunday 24 February 2008 17:35, Steve Litt wrote:
  Hi all,
 
  Here are two small LyX files. The only difference is that in bug2.lyx the
  labels come last inside the floats, whereas in bug.lyx the labels come
  first. bug2.lyx works (after a couple view-pdf, but bug.lyx never works
  (at least on my 1.5.3). I'm attaching the files and the two images they
  use, so that you all can be aware of this little gotcha.
 
  Or, if it's only happening on my system, maybe we can exploit the
  differences to find out why.
 
  Thanks

 Steve,

 I get the same results as you with these examples, though I'm using 1.5.1
 rather than 1.5.3.

 But I always put the label inside the caption of the float, and have never
 had this problem.  As the caption is what is actually numbered, I think
 that is the logical place to put the label.

 A few minutes ago I completed a 66 page document with 235 figures, almost
 all of them labeled and cross-referenced, and while I have not done a final
 proof-read I do not think I have an error in any of those references.

 Les

Aha! I never even thought of putting it inside the caption (should it be at 
the beginning or end of caption?). Whatever the final answer, it should be 
documented.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Les Denham
On Sunday 24 February 2008 18:06, Steve Litt wrote:
 Aha! I never even thought of putting it inside the caption (should it be at
 the beginning or end of caption?). Whatever the final answer, it should be
 documented.

Steve,

I don't know whether it is explicitly documented, but if you look at the 
documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
the labels are placed in the floats, you will see they are in the captions, 
at the beginning.  I doubt if putting them elsewhere in the caption would 
make any difference, but when you click on the label icon, the default name 
of the label is based on the first few words after the cursor.

Doing this in your example gives The-Rapid-Learning as the label for the 
first figure, and The-Terminology-learning for the second figure. The 
default is close to what you want in many cases. If there was a particular 
word or phrase later in the caption you wanted in the label you could insert 
the label in front of it, and I'm sure it would work fine.

Les


Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Steve Litt
Hi all,

Here are two small LyX files. The only difference is that in bug2.lyx the 
labels come last inside the floats, whereas in bug.lyx the labels come first. 
bug2.lyx works (after a couple view-pdf, but bug.lyx never works (at least 
on my 1.5.3). I'm attaching the files and the two images they use, so that 
you all can be aware of this little gotcha.

Or, if it's only happening on my system, maybe we can exploit the differences 
to find out why.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


littbug153.tgz
Description: application/tgz


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Les Denham
On Sunday 24 February 2008 17:35, Steve Litt wrote:
 Hi all,

 Here are two small LyX files. The only difference is that in bug2.lyx the
 labels come last inside the floats, whereas in bug.lyx the labels come
 first. bug2.lyx works (after a couple view-pdf, but bug.lyx never works
 (at least on my 1.5.3). I'm attaching the files and the two images they
 use, so that you all can be aware of this little gotcha.

 Or, if it's only happening on my system, maybe we can exploit the
 differences to find out why.

 Thanks

Steve,

I get the same results as you with these examples, though I'm using 1.5.1 
rather than 1.5.3.

But I always put the label inside the caption of the float, and have never had 
this problem.  As the caption is what is actually numbered, I think that is 
the logical place to put the label.

A few minutes ago I completed a 66 page document with 235 figures, almost all 
of them labeled and cross-referenced, and while I have not done a final 
proof-read I do not think I have an error in any of those references.

Les


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Steve Litt
On Sunday 24 February 2008 18:44, Les Denham wrote:
 On Sunday 24 February 2008 17:35, Steve Litt wrote:
  Hi all,
 
  Here are two small LyX files. The only difference is that in bug2.lyx the
  labels come last inside the floats, whereas in bug.lyx the labels come
  first. bug2.lyx works (after a couple view-pdf, but bug.lyx never works
  (at least on my 1.5.3). I'm attaching the files and the two images they
  use, so that you all can be aware of this little gotcha.
 
  Or, if it's only happening on my system, maybe we can exploit the
  differences to find out why.
 
  Thanks

 Steve,

 I get the same results as you with these examples, though I'm using 1.5.1
 rather than 1.5.3.

 But I always put the label inside the caption of the float, and have never
 had this problem.  As the caption is what is actually numbered, I think
 that is the logical place to put the label.

 A few minutes ago I completed a 66 page document with 235 figures, almost
 all of them labeled and cross-referenced, and while I have not done a final
 proof-read I do not think I have an error in any of those references.

 Les

Aha! I never even thought of putting it inside the caption (should it be at 
the beginning or end of caption?). Whatever the final answer, it should be 
documented.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Les Denham
On Sunday 24 February 2008 18:06, Steve Litt wrote:
 Aha! I never even thought of putting it inside the caption (should it be at
 the beginning or end of caption?). Whatever the final answer, it should be
 documented.

Steve,

I don't know whether it is explicitly documented, but if you look at the 
documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
the labels are placed in the floats, you will see they are in the captions, 
at the beginning.  I doubt if putting them elsewhere in the caption would 
make any difference, but when you click on the label icon, the default name 
of the label is based on the first few words after the cursor.

Doing this in your example gives The-Rapid-Learning as the label for the 
first figure, and The-Terminology-learning for the second figure. The 
default is close to what you want in many cases. If there was a particular 
word or phrase later in the caption you wanted in the label you could insert 
the label in front of it, and I'm sure it would work fine.

Les


Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Steve Litt
Hi all,

Here are two small LyX files. The only difference is that in bug2.lyx the 
labels come last inside the floats, whereas in bug.lyx the labels come first. 
bug2.lyx works (after a couple view->pdf, but bug.lyx never works (at least 
on my 1.5.3). I'm attaching the files and the two images they use, so that 
you all can be aware of this little gotcha.

Or, if it's only happening on my system, maybe we can exploit the differences 
to find out why.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


littbug153.tgz
Description: application/tgz


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Les Denham
On Sunday 24 February 2008 17:35, Steve Litt wrote:
> Hi all,
>
> Here are two small LyX files. The only difference is that in bug2.lyx the
> labels come last inside the floats, whereas in bug.lyx the labels come
> first. bug2.lyx works (after a couple view->pdf, but bug.lyx never works
> (at least on my 1.5.3). I'm attaching the files and the two images they
> use, so that you all can be aware of this little gotcha.
>
> Or, if it's only happening on my system, maybe we can exploit the
> differences to find out why.
>
> Thanks
>
Steve,

I get the same results as you with these examples, though I'm using 1.5.1 
rather than 1.5.3.

But I always put the label inside the caption of the float, and have never had 
this problem.  As the caption is what is actually numbered, I think that is 
the logical place to put the label.

A few minutes ago I completed a 66 page document with 235 figures, almost all 
of them labeled and cross-referenced, and while I have not done a final 
proof-read I do not think I have an error in any of those references.

Les


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Steve Litt
On Sunday 24 February 2008 18:44, Les Denham wrote:
> On Sunday 24 February 2008 17:35, Steve Litt wrote:
> > Hi all,
> >
> > Here are two small LyX files. The only difference is that in bug2.lyx the
> > labels come last inside the floats, whereas in bug.lyx the labels come
> > first. bug2.lyx works (after a couple view->pdf, but bug.lyx never works
> > (at least on my 1.5.3). I'm attaching the files and the two images they
> > use, so that you all can be aware of this little gotcha.
> >
> > Or, if it's only happening on my system, maybe we can exploit the
> > differences to find out why.
> >
> > Thanks
>
> Steve,
>
> I get the same results as you with these examples, though I'm using 1.5.1
> rather than 1.5.3.
>
> But I always put the label inside the caption of the float, and have never
> had this problem.  As the caption is what is actually numbered, I think
> that is the logical place to put the label.
>
> A few minutes ago I completed a 66 page document with 235 figures, almost
> all of them labeled and cross-referenced, and while I have not done a final
> proof-read I do not think I have an error in any of those references.
>
> Les

Aha! I never even thought of putting it inside the caption (should it be at 
the beginning or end of caption?). Whatever the final answer, it should be 
documented.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Figure references 1.5.3: Danger Will Robinson

2008-02-24 Thread Les Denham
On Sunday 24 February 2008 18:06, Steve Litt wrote:
> Aha! I never even thought of putting it inside the caption (should it be at
> the beginning or end of caption?). Whatever the final answer, it should be
> documented.

Steve,

I don't know whether it is explicitly documented, but if you look at the 
documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
the labels are placed in the floats, you will see they are in the captions, 
at the beginning.  I doubt if putting them elsewhere in the caption would 
make any difference, but when you click on the label icon, the default name 
of the label is based on the first few words after the cursor.

Doing this in your example gives "The-Rapid-Learning" as the label for the 
first figure, and "The-Terminology-learning" for the second figure. The 
default is close to what you want in many cases. If there was a particular 
word or phrase later in the caption you wanted in the label you could insert 
the label in front of it, and I'm sure it would work fine.

Les