Two additions:

Jürgen Spitzmüller wrote:
> Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to 
> Document > Settings > Child Documents in the master and select the
> respective  children (this is the includeonly GUI).

For includeonly, you will need to compile the master (View > View/Update 
Master, if you're in a child document).

> You will need to select "maintain counters and references" (at least on
> the  first run) to get the numbers right.

If you put the following into the master's preamble, you don't need to select 
"maintain counters and references", if you just want to have "sort of", but 
not "100% exact" counters. This assures all auxiliary files are generated once 
(on the first run), but only updates the included file's aux files later (and 
thus speeds up compilation):

\IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}}

Jürgen

Reply via email to