Amir,

> Ben Cazzolato <[EMAIL PROTECTED]> said:
> [Chris Eliasmith suggestes cross-referencing between documents]
>    
> > This is already possible.  You can cross reference labels in other docs
> > cause I needed to do this with my thesis (split into chapters).  The trick
> > is to open  the two (or more docs you need).  Go Insert Reference in the doc
> > that has the  reference, then switch to the other doc in which you want to
> > insert it.
> 
> I tried it and it didn't work. So I figured 1.0.4pre1 (yes, I'm that
> obsolete) wasn't good enough and downloaded a fresh CVS copy and compiled it
> (no errors with gcc 2.95 19990728! Cool!) and it still didn't work. Then I
> thought about it a bit, and reread what he wrote, and it works (and may have
> worked in 1.0.4 for all I know.)

Yep.  Even earlier I think.
 
> The key here, which Ben said but I didn't get, is that you have to leave the
> Insert Reference popup OPEN while you switch docs. If you close the popup,
> and then switch docs, and reopen, then only the new doc's labels are
> available.
> 
> This is of course not optimal, even if it works. If it didn't allow
> cross-referencing between docs, I would even call it a bug that the labels
> listed in the popup don't change to reflect the current doc.

FYI there was one release where in fact it did clear the buffer and reflect the
current doc.  Screams from users quickly returned the "feature".

Chris wasn't too happy that this was the only way to do this either - but hey,
it works :-)

> Have people thought about fixes? The simplest (?) would be to list all the
> labels from all open docs.  However, if you have, say, the User Guide,
> Extended, and a few other docs open, that could get ugly. Another option
> would be to have a button that toggles between all the labels or just from
> the current doc. Even better would be a nesting thing like in the file
> browser. You list all the labels from the current doc, and in boldface, the
> names of all other docs. Clicking on that shows/hides the labels from that
> doc. What do you think?

I don't like the thought of listing all references, particularly when you have
half a dozen massive files open, and especially when you (foolishly) have used
the same reference label in two totally unrelated docs - might get VERY
confusing.

The latter would be the ideal (in fact fantastic), but might be a dog to code. 
In the meantime, the status quo is better than the first suggestion IMHO.

Ciao
Ben

Reply via email to