> >     Is putting each of your child documents in a separate branch a
> >     possibility? That way you could use the solution you found. I'm not
> >     aware of a different approach (maybe someone else knows though).
> > 
> > Yes, I thought of trying that, although some people reported
> > difficulties exporting branches.
> > I've found another solution where the guy edited the .lyx file with
> > sed first and then exported to PDF.
> > 
> > I just wanted to know if there is a simpler way...
> 
> Not at the moment, but it's a reasonable request. We'd need something
> like "child-in(ex)clude FILE.lyx" as an LFUN.

Another detail came up.  I did a simple test with a document containing 3 
short chapters. 

>From the GUI, in Settings -> Child Documents -> Master Document Output -> 
Include only selected children  I can select only some child documents and 
then create the PDF in File -> Export -> PDF (pdflatex).  The exported PDF 
will contain only the selected child(ren), with all the cross-references.

However, if I export from command line with 
lyx --export pdf2 master.lyx
the PDF will invariably contain the whole document.
I can sen the test files if you wish.


-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Reply via email to