How to load xr-hyper before hyperref?

2012-05-23 Thread Rudi Gaelzer
I'd like to use the facilities of the xr-hyper package to
cross-reference equations (or other things) labelled in another doc
and at the same time create a pdf (using xetex) with the whole
hyper-ref stuff (using the hyperref package).

The problem is, the xr-hyper pack should be loaded on the preamble
BEFORE hyperref, otherwise errors such as Paragraph ended before ...
was complete can appear.

The only place I can order LyX to load xr-hyper is on the doc's local
preamble, but in this case, the package will be loaded always after
hyperref.

Is there any way I can circumvent this limitation?

Thanks.

-- 
Rudi Gaelzer
Registered Linux user # 153741


Re: How to load xr-hyper before hyperref?

2012-05-23 Thread Richard Heck

On 05/23/2012 03:41 PM, Rudi Gaelzer wrote:

I'd like to use the facilities of the xr-hyper package to
cross-reference equations (or other things) labelled in another doc
and at the same time create a pdf (using xetex) with the whole
hyper-ref stuff (using the hyperref package).

The problem is, the xr-hyper pack should be loaded on the preamble
BEFORE hyperref, otherwise errors such as Paragraph ended before ...
was complete can appear.

The only place I can order LyX to load xr-hyper is on the doc's local
preamble, but in this case, the package will be loaded always after
hyperref.

Is there any way I can circumvent this limitation?

Prevent LyX loading hyperref by putting:
Provides hyperrer 1
into Local Layout. Then load it yourself.

rh



Re: How to load xr-hyper before hyperref?

2012-05-23 Thread Guenter Milde
On 2012-05-23, Rudi Gaelzer wrote:
 I'd like to use the facilities of the xr-hyper package to
 cross-reference equations (or other things) labelled in another doc
 and at the same time create a pdf (using xetex) with the whole
 hyper-ref stuff (using the hyperref package).

 The problem is, the xr-hyper pack should be loaded on the preamble
 BEFORE hyperref, otherwise errors such as Paragraph ended before ...
 was complete can appear.

 The only place I can order LyX to load xr-hyper is on the doc's local
 preamble, but in this case, the package will be loaded always after
 hyperref.

 Is there any way I can circumvent this limitation?

Just untick the use hyperref box in DocumentSettingsPDF-...
and load/configure hyperref in the LaTeX preamble.

Günter




How to load xr-hyper before hyperref?

2012-05-23 Thread Rudi Gaelzer
I'd like to use the facilities of the xr-hyper package to
cross-reference equations (or other things) labelled in another doc
and at the same time create a pdf (using xetex) with the whole
hyper-ref stuff (using the hyperref package).

The problem is, the xr-hyper pack should be loaded on the preamble
BEFORE hyperref, otherwise errors such as Paragraph ended before ...
was complete can appear.

The only place I can order LyX to load xr-hyper is on the doc's local
preamble, but in this case, the package will be loaded always after
hyperref.

Is there any way I can circumvent this limitation?

Thanks.

-- 
Rudi Gaelzer
Registered Linux user # 153741


Re: How to load xr-hyper before hyperref?

2012-05-23 Thread Richard Heck

On 05/23/2012 03:41 PM, Rudi Gaelzer wrote:

I'd like to use the facilities of the xr-hyper package to
cross-reference equations (or other things) labelled in another doc
and at the same time create a pdf (using xetex) with the whole
hyper-ref stuff (using the hyperref package).

The problem is, the xr-hyper pack should be loaded on the preamble
BEFORE hyperref, otherwise errors such as Paragraph ended before ...
was complete can appear.

The only place I can order LyX to load xr-hyper is on the doc's local
preamble, but in this case, the package will be loaded always after
hyperref.

Is there any way I can circumvent this limitation?

Prevent LyX loading hyperref by putting:
Provides hyperrer 1
into Local Layout. Then load it yourself.

rh



Re: How to load xr-hyper before hyperref?

2012-05-23 Thread Guenter Milde
On 2012-05-23, Rudi Gaelzer wrote:
 I'd like to use the facilities of the xr-hyper package to
 cross-reference equations (or other things) labelled in another doc
 and at the same time create a pdf (using xetex) with the whole
 hyper-ref stuff (using the hyperref package).

 The problem is, the xr-hyper pack should be loaded on the preamble
 BEFORE hyperref, otherwise errors such as Paragraph ended before ...
 was complete can appear.

 The only place I can order LyX to load xr-hyper is on the doc's local
 preamble, but in this case, the package will be loaded always after
 hyperref.

 Is there any way I can circumvent this limitation?

Just untick the use hyperref box in DocumentSettingsPDF-...
and load/configure hyperref in the LaTeX preamble.

Günter




How to load xr-hyper before hyperref?

2012-05-23 Thread Rudi Gaelzer
I'd like to use the facilities of the xr-hyper package to
cross-reference equations (or other things) labelled in another doc
and at the same time create a pdf (using xetex) with the whole
hyper-ref stuff (using the hyperref package).

The problem is, the xr-hyper pack should be loaded on the preamble
BEFORE hyperref, otherwise errors such as "Paragraph ended before ...
was complete" can appear.

The only place I can order LyX to load xr-hyper is on the doc's local
preamble, but in this case, the package will be loaded always after
hyperref.

Is there any way I can circumvent this limitation?

Thanks.

-- 
Rudi Gaelzer
Registered Linux user # 153741


Re: How to load xr-hyper before hyperref?

2012-05-23 Thread Richard Heck

On 05/23/2012 03:41 PM, Rudi Gaelzer wrote:

I'd like to use the facilities of the xr-hyper package to
cross-reference equations (or other things) labelled in another doc
and at the same time create a pdf (using xetex) with the whole
hyper-ref stuff (using the hyperref package).

The problem is, the xr-hyper pack should be loaded on the preamble
BEFORE hyperref, otherwise errors such as "Paragraph ended before ...
was complete" can appear.

The only place I can order LyX to load xr-hyper is on the doc's local
preamble, but in this case, the package will be loaded always after
hyperref.

Is there any way I can circumvent this limitation?

Prevent LyX loading hyperref by putting:
Provides hyperrer 1
into Local Layout. Then load it yourself.

rh



Re: How to load xr-hyper before hyperref?

2012-05-23 Thread Guenter Milde
On 2012-05-23, Rudi Gaelzer wrote:
> I'd like to use the facilities of the xr-hyper package to
> cross-reference equations (or other things) labelled in another doc
> and at the same time create a pdf (using xetex) with the whole
> hyper-ref stuff (using the hyperref package).

> The problem is, the xr-hyper pack should be loaded on the preamble
> BEFORE hyperref, otherwise errors such as "Paragraph ended before ...
> was complete" can appear.

> The only place I can order LyX to load xr-hyper is on the doc's local
> preamble, but in this case, the package will be loaded always after
> hyperref.

> Is there any way I can circumvent this limitation?

Just untick the "use hyperref" box in Document>Settings>PDF-...
and load/configure hyperref in the LaTeX preamble.

Günter