On 13. nov. 2011 17:09, Richard Heck wrote:
[...]
Then I was experimenting with using "book AMS" class and now the
formulas in chapter 7 are all screwed up in a
way that I had never seen before. However, despite giving an error the
individual document produces a correct pdf
but now the whole book stops with errors and does not produce a pdf.
What problems are you seeing? I compiled it fine (except for missing
figures) and didn't see any obvious issues.
That said, it's conceivable all the theorem declarations in the preamble
could cause issues, though the preamble for this document would not be
used when compiling the master document.
Sometimes, that is the exact problem. The document compiles on its own,
because of the document preamble stuff.
When compiling the master document, only
the master preamble is used. Maybe the master is different, or is
missing something cruical.
Check that the master document is the same document class as the chapter
documents. Experiments with document classes may have left some document
with the wrong class.
Also check that the master document preamble contains everything there
is in the chapter preambles. And check that the document settings for
the master document match the settings for the chapter document
settings. Again, when you compile the master, only the master document
settings gets used. So if the chapter documents needs "AMS math" or
some other box ticked, then that must be done in the master document
settings also.
Helge Hafting