Re: Auto-generation of Labels

2009-04-15 Thread Helge Hafting
Uwe Stöhr wrote: > 1. The new hyperref stuff in 1.6 is very slick. Is there any way to > make a "cross reference" to a section or subsection, without adding a > label? So the user might say "As defined in s. 10.91" without having > to go to section 10.91 and adding a label? How should that

Re: Auto-generation of Labels

2009-04-14 Thread Guenter Milde
On 2009-04-13, Vincent van Ravesteijn wrote: >> Another solution would be a kind of "implicit" label, that doesn't >> actually surface in LyX at all. Every section-type entity, and maybe >> other things, too---figures, tables, etc---could have an "implicit" >> label which would get generated w

Re: Auto-generation of Labels

2009-04-14 Thread Jean-Marc Lasgouttes
rgheck writes: > The labels can be output only if they're referenced. That might need > some kind of double pass, but I'll bet the reference cache could be > used for this purpose already. I guess validate() can take care of that. JMarc

Re: Auto-generation of Labels

2009-04-13 Thread rgheck
Vincent van Ravesteijn wrote: Yes, I've thought about this. You could indeed imagine a context menu item in the TOC "Insert reference to section", that will insert a label and a reference at once. Or one can think of a second tab in the cross-reference dialog showing all sections too. O

Re: Auto-generation of Labels

2009-04-13 Thread rgheck
Uwe Stöhr wrote: > You could indeed imagine a context menu item in the TOC "Insert reference to section", that will > insert a label and a reference at once. Or one can think of a second tab in the cross-reference > dialog showing all sections too. We've had this discussion several times the l

Re: Auto-generation of Labels

2009-04-13 Thread Uwe Stöhr
Vincent van Ravesteijn schrieb: We've had this discussion several times the last years. Auto-labeling is not useful. > ... says Uwe... We really had this discussion several times, so what? I don't remember every detail, but finally the feature was not implemented after these discussions.

Re: Auto-generation of Labels

2009-04-13 Thread Vincent van Ravesteijn
Uwe Stöhr schreef: > 1. The new hyperref stuff in 1.6 is very slick. Is there any way to > make a "cross reference" to a section or subsection, without adding a > label? So the user might say "As defined in s. 10.91" without having > to go to section 10.91 and adding a label? How should that be

Re: Auto-generation of Labels

2009-04-13 Thread Uwe Stöhr
> 1. The new hyperref stuff in 1.6 is very slick. Is there any way to > make a "cross reference" to a section or subsection, without adding a > label? So the user might say "As defined in s. 10.91" without having > to go to section 10.91 and adding a label? How should that be possible? The streng

Re: Auto-generation of Labels

2009-04-13 Thread Vincent van Ravesteijn
Yes, I've thought about this. You could indeed imagine a context menu item in the TOC "Insert reference to section", that will insert a label and a reference at once. Or one can think of a second tab in the cross-reference dialog showing all sections too. OK, let's move this to devel, th

Auto-generation of Labels

2009-04-13 Thread Richard Heck
Vincent van Ravesteijn wrote: Richard Heck schreef: Dan Fitch wrote: 1. The new hyperref stuff in 1.6 is very slick. Is there any way to make a "cross reference" to a section or subsection, without adding a label? So the user might say "As defined in s. 10.91" without having to go to section 10