Re: Compile child document with cross-references

2015-05-12 Thread Jürgen Spitzmüller
2015-05-12 21:45 GMT+02:00 Gilles Moyse:

> I am currently working on a thesis document made of one master and several
> child documents, one for each chapter.
>
> I am using the procedure described in
> http://wiki.lyx.org/FAQ/Multidoc#multipart-bib to use a separate
> bibliography when compiling only one chapter (i.e. only one child document).
>
> Though it works for the bibliography, it does not for the chapter number
> and the cross-references. The former appears as Chapter 1, and the latter
> as question marks.
>
> Is there a way to compile the child document only with the correct chapter
> number and cross-references?
>

Yes. Use "Include Only Selected Children" with "Maintain counters and
references" in Document > Settings > Child Documents from within the master.
(this uses LaTeX' \includeonly' feature).

Jürgen



>
> Thanks in advance!
>


Compile child document with cross-references

2015-05-12 Thread Gilles Moyse
I am currently working on a thesis document made of one master and several
child documents, one for each chapter.

I am using the procedure described in
http://wiki.lyx.org/FAQ/Multidoc#multipart-bib to use a separate
bibliography when compiling only one chapter (i.e. only one child document).

Though it works for the bibliography, it does not for the chapter number
and the cross-references. The former appears as Chapter 1, and the latter
as question marks.

Is there a way to compile the child document only with the correct chapter
number and cross-references?

Thanks in advance!