Thanks for the suggestion. Surprisingly, LaTeX does compile; with a bunch of errors in the .log, to be sure, but none of them fatal.

How can I find out what the compiler was doing when it stumbled upon the things that LyX finds offending? The part of the .log file that seems relevant is:

[168] [169]
! Missing $ inserted.
<inserted text>
               $
l.370
?
! Extra }, or forgotten $.
\maththreesuperior ->{^3}
l.370 ?
! Missing $ inserted.
<inserted text>
               $
l.370
?
! Missing } inserted.
<inserted text>
               }
l.370
?

Is any of this indicative of which part of which file the compiler was working on?

Thanks again,
Manolo

James C. Sutherland escribió:

On Nov 3, 2009, at 9:03 AM, Manolo Martí nez wrote:

That's not the problem, apparently. I have moved everything to the master document's preamble and the strange behaviour recurs. Chapter 5 compiles. Master document w/o Ch. 5 compiles, but Master document with Ch. 5 does not.

Thanks for your help, Richard.

Manolo

rgheck escribió:


Is there something in the preamble for chapter 5 that is necessary for compilation? LyX will use that preamble when you export it separately, but only the master preamble when you compile the whole thing.

Richard




I suggest that you export everything to LaTeX and try the file include there. You might have more success in tracking down the problem that way.

Reply via email to