On 2009-04-29, Wolfgang Engelmann wrote:
>> > I am still struggling with a book document. To make it easier to find
>> > errors I tried to use 21 subdocuments (1 for the title and intro, 20 for
>> > the 20 chapters)

> This is strange:
> I found, that one of the chapters (in a subdocument) contains an error 
> (pdfendlink ended up in different nesting level than \pd).

> Now if I run this chapter separately (that is not using the master document 
> db0) it works. 

If run separately, the doc will use its own Document>Settings, if the master
is compiled, the childrens Document>Settings are ignored.
Maybe looking for the difference will reveal the source of the error.

> I have started to divide the chapter in two subdocuments, and know
> already the error is in the second one (and the second one alone runs 
> also without error), but do not understand the whole affair. My idea of
> using this subdocument bussiness was to be able to find in the
> subdocument possible errors faster, but that is apparantly not the
> case. 

The whole thing gets more complicated, so your mileage may vary...

> Since I have used separate chapters, there should be no influence
> from or to the appending chapters (in koma book there are empty pages
> between chapters). Could it be related to the input/ instead of
> include- way of calling the subdirectories from the master??? Any idea?

I don't think input vs. include will have an influence here. However,
compiling stand-alone chapters vs. the maste might have.

To make sure the custom LaTeX preamble is identic (and changes are
reflected in every chapter), I use an external file (preamble.tex) and
write in the Document>Settings:Preamble \input{preamble.tex} (or
\input{../preamble.tex} if the chapter is in a subdirectory).

>> > (2) Is input correct for the koma-book style or should I use include?

Input is correct.

Günter

Reply via email to