Re: cross-referencing between files

2011-08-19 Thread Rudi Gaelzer
You mean, you're working with a child document only, without opening the master?
I'd think this should work...

I use Richard's suggestion of loading the xr package when the cross-reference 
happens with unrelated 
documents, i. e., outside a master-child structure.  In this case, I have to 
generate and keep the *.aux 
file of the documents for the xr package to be able to pick up the labels.

On Wednesday, August 17, 2011 12:58:49 PM Ramiro Magno wrote:
 Hi
 
 I've been googling about how to do cross-referencing between two lyx
 documents. None of the solutions I've seen so far worked for me. My
 attempts consisted of having a master lyx file which includes
 (Insert-File-Child document, include type=include) two other lyx files.
 Then I try to refer to a label in one file from the other. This works as
 long as I'm building the whole document, i.e. the master. If I try to
 build only one of them it does not work, I get the double question mark
 (??)... The goal is the writing of a paper which has supplementary
 material which needs referring. But besides the cross-referencing the two
 documents should be pretty much independent (indep. page numbering,
 titles, etc..) so I need to build them separately.
 
 Thanks.
 Ramiro

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343


Re: cross-referencing between files

2011-08-19 Thread Rudi Gaelzer
You mean, you're working with a child document only, without opening the master?
I'd think this should work...

I use Richard's suggestion of loading the xr package when the cross-reference 
happens with unrelated 
documents, i. e., outside a master-child structure.  In this case, I have to 
generate and keep the *.aux 
file of the documents for the xr package to be able to pick up the labels.

On Wednesday, August 17, 2011 12:58:49 PM Ramiro Magno wrote:
 Hi
 
 I've been googling about how to do cross-referencing between two lyx
 documents. None of the solutions I've seen so far worked for me. My
 attempts consisted of having a master lyx file which includes
 (Insert-File-Child document, include type=include) two other lyx files.
 Then I try to refer to a label in one file from the other. This works as
 long as I'm building the whole document, i.e. the master. If I try to
 build only one of them it does not work, I get the double question mark
 (??)... The goal is the writing of a paper which has supplementary
 material which needs referring. But besides the cross-referencing the two
 documents should be pretty much independent (indep. page numbering,
 titles, etc..) so I need to build them separately.
 
 Thanks.
 Ramiro

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343


Re: cross-referencing between files

2011-08-19 Thread Rudi Gaelzer
You mean, you're working with a child document only, without opening the master?
I'd think this should work...

I use Richard's suggestion of loading the xr package when the cross-reference 
happens with unrelated 
documents, i. e., outside a master-child structure.  In this case, I have to 
generate and keep the *.aux 
file of the documents for the xr package to be able to pick up the labels.

On Wednesday, August 17, 2011 12:58:49 PM Ramiro Magno wrote:
> Hi
> 
> I've been googling about how to do cross-referencing between two lyx
> documents. None of the solutions I've seen so far worked for me. My
> attempts consisted of having a master lyx file which includes
> (Insert->File->Child document, include type=include) two other lyx files.
> Then I try to refer to a label in one file from the other. This works as
> long as I'm building the whole document, i.e. the master. If I try to
> build only one of them it does not work, I get the double question mark
> (??)... The goal is the writing of a paper which has supplementary
> material which needs referring. But besides the cross-referencing the two
> documents should be pretty much independent (indep. page numbering,
> titles, etc..) so I need to build them separately.
> 
> Thanks.
> Ramiro

-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96010-900 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343


cross-referencing between files

2011-08-17 Thread Ramiro Magno
Hi

I've been googling about how to do cross-referencing between two lyx documents. 
None of the solutions I've seen so far worked for me.
My attempts consisted of having a master lyx file which includes 
(Insert-File-Child document, include type=include) two other lyx files. Then 
I try to refer to a label in one file from the other. This works as long as I'm 
building the whole document, i.e. the master. If I try to build only one of 
them it does not work, I get the double question mark (??)... 
The goal is the writing of a paper which has supplementary material which needs 
referring. But besides the cross-referencing the two documents should be pretty 
much independent (indep. page numbering, titles, etc..) so I need to build them 
separately.

Thanks.
Ramiro 


Re: cross-referencing between files

2011-08-17 Thread Richard Heck
On 08/17/2011 11:58 AM, Ramiro Magno wrote:
 Hi

 I've been googling about how to do cross-referencing between two lyx 
 documents. None of the solutions I've seen so far worked for me.
 My attempts consisted of having a master lyx file which includes 
 (Insert-File-Child document, include type=include) two other lyx files. 
 Then I try to refer to a label in one file from the other. This works as long 
 as I'm building the whole document, i.e. the master. If I try to build only 
 one of them it does not work, I get the double question mark (??)... 
 The goal is the writing of a paper which has supplementary material which 
 needs referring. But besides the cross-referencing the two documents should 
 be pretty much independent (indep. page numbering, titles, etc..) so I need 
 to build them separately.

I think you have to use the xr package. LyX's support for this will be
minimal at best.

Richard



cross-referencing between files

2011-08-17 Thread Ramiro Magno
Hi

I've been googling about how to do cross-referencing between two lyx documents. 
None of the solutions I've seen so far worked for me.
My attempts consisted of having a master lyx file which includes 
(Insert-File-Child document, include type=include) two other lyx files. Then 
I try to refer to a label in one file from the other. This works as long as I'm 
building the whole document, i.e. the master. If I try to build only one of 
them it does not work, I get the double question mark (??)... 
The goal is the writing of a paper which has supplementary material which needs 
referring. But besides the cross-referencing the two documents should be pretty 
much independent (indep. page numbering, titles, etc..) so I need to build them 
separately.

Thanks.
Ramiro 


Re: cross-referencing between files

2011-08-17 Thread Richard Heck
On 08/17/2011 11:58 AM, Ramiro Magno wrote:
 Hi

 I've been googling about how to do cross-referencing between two lyx 
 documents. None of the solutions I've seen so far worked for me.
 My attempts consisted of having a master lyx file which includes 
 (Insert-File-Child document, include type=include) two other lyx files. 
 Then I try to refer to a label in one file from the other. This works as long 
 as I'm building the whole document, i.e. the master. If I try to build only 
 one of them it does not work, I get the double question mark (??)... 
 The goal is the writing of a paper which has supplementary material which 
 needs referring. But besides the cross-referencing the two documents should 
 be pretty much independent (indep. page numbering, titles, etc..) so I need 
 to build them separately.

I think you have to use the xr package. LyX's support for this will be
minimal at best.

Richard



cross-referencing between files

2011-08-17 Thread Ramiro Magno
Hi

I've been googling about how to do cross-referencing between two lyx documents. 
None of the solutions I've seen so far worked for me.
My attempts consisted of having a master lyx file which includes 
(Insert->File->Child document, include type=include) two other lyx files. Then 
I try to refer to a label in one file from the other. This works as long as I'm 
building the whole document, i.e. the master. If I try to build only one of 
them it does not work, I get the double question mark (??)... 
The goal is the writing of a paper which has supplementary material which needs 
referring. But besides the cross-referencing the two documents should be pretty 
much independent (indep. page numbering, titles, etc..) so I need to build them 
separately.

Thanks.
Ramiro 


Re: cross-referencing between files

2011-08-17 Thread Richard Heck
On 08/17/2011 11:58 AM, Ramiro Magno wrote:
> Hi
>
> I've been googling about how to do cross-referencing between two lyx 
> documents. None of the solutions I've seen so far worked for me.
> My attempts consisted of having a master lyx file which includes 
> (Insert->File->Child document, include type=include) two other lyx files. 
> Then I try to refer to a label in one file from the other. This works as long 
> as I'm building the whole document, i.e. the master. If I try to build only 
> one of them it does not work, I get the double question mark (??)... 
> The goal is the writing of a paper which has supplementary material which 
> needs referring. But besides the cross-referencing the two documents should 
> be pretty much independent (indep. page numbering, titles, etc..) so I need 
> to build them separately.
>
I think you have to use the xr package. LyX's support for this will be
minimal at best.

Richard