This would be nice, and I think that I would use it, but I can think of many 
other improvements that might be easier to implement. For example:
1. LyX could remember the kind of reference associated with a label. So instead 
of typing Lemma 14, I would only need to type the reference to its label.  LyX 
already knows this because its suggestions for labels look like lem: … .  I 
often forget whether a reference is to a lemma or proposition, etc.
2. When I know the label for a reference it would be nice to be able to enter 
it directly from the keyboard (of course it would also be nice to be able to 
enter its current number).
3. When I highlight a reference in the pop-up window and then use the goto and 
return buttons, it would be nice to still have the reference highlighted.
4. The best thing, which is apparently very hard, would be to have tex2lyx work 
perfectly on tex files that were originally created by LyX, but have been 
modified by a coauthor without changing the front matter.

But it is a great app; I only wish my coauthors and students would use it.

Hal

> On Mar 15, 2015, at 5:26 PM, David A Case <c...@biomaps.rutgers.edu> wrote:
> 
> On Sat, Mar 14, 2015, Robert Susmilch wrote:
>> 
>> I have Googled a way to refer to numbered equations in text, such as
>> "See equation (3)" in Lyx but everything I read, whether from other
>> users or wikis, suggests labeling the already numbered equations and
>> then using the label to cross reference.
>> 
>> This seems absurd ....
> 
> This has been discussed before on this list.  The requirement to have a
> label makes good sense: how do you propose to refer to an equation that
> does not have a label?  Remember that its number will change as equations
> are added or removed, whereas the label will not change.
> 
> It seems like you may wish to have a cross reference that says the
> following: "refer to the *current* equation (3), and update the number in
> the cross reference if the corresponding equation number changes."  This
> might be implemented by having LyX create a unique but hidden label for
> every numbered equation, and providing some sort of user interface to
> refer to it.
> 
> For good reasons or bad, this is not the way LyX and latex work.  Note that
> numbered equations are no different in this respect than are numbered
> sections, etc.
> 
> ....dave case
> 

Reply via email to