[fptex] is there a conflict between the hyperref package and the xr package?

Heiko Oberdiek oberdiek@uni-freiburg.de
Tue, 10 Sep 2002 18:01:44 +0200


On Tue, Sep 10, 2002 at 09:38:15AM +0100, Jose Carlos Santos wrote:

> On Mon, 9 Sep 2002, Luis A Escobar wrote:
> 
> On the other hand, I have one last question: do your external documents
> also use hyperref? I ask this because Heiko Oberdiek once wrote that
> "[m]ixing of documents with partly loaded hyperrefs is not supported".

Yes, I have already written
  "Both files should use hyperref"
in this thread, but my English seems to be too bad.

Package hyperref/nameref increases the count of arguments
of references, they are using five instead of two in the
basic LaTeX case. The following should work:

A := referencing file
B := referenced file

* Without hyperref:
  A with xr or xr-hyper, without hyperref
  B without hyperref

* With hyperref:
  A with xr-hyper and hyperref
  B with hyperref

The following case does not work:
  A with xr-hyper and hyperref
  B without hyperref
Problem:
  * ...
  * B.aux does not contain informations about the
    location of the reference:
    * no link target
    * no absolute page number
So an update has to deal with this problem:
a) Reference without link.
or
b) Reference with link to first page of other document.

Yours sincerely
  Heiko <oberdiek@uni-freiburg.de>