Re: Problems including a document

2009-11-10 Thread Guenter Milde
On 2009-11-09, Manolo Martí­nez wrote:


 AFAIK, this is LyX's default behaviour.

 Did you try with DocumentLaTeX log after a compilation already

 No! I was relying on the error messages that appear after a failed 
 compilation. Thanks, this is very useful.

 So, let me reforumulate my suggestion with this in mind: it would be 
 nice if the Latex errors message box that appears contained a line 
 reading ... for more information, see DocumentLaTeX log.

Could you file a bug (enhancement) report at
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Günter



Re: Problems including a document

2009-11-10 Thread Manolo Martí­nez

Done: http://www.lyx.org/trac/ticket/6313

Manolo
So, let me reforumulate my suggestion with this in mind: it would be 
nice if the Latex errors message box that appears contained a line 
reading ... for more information, see DocumentLaTeX log.



Could you file a bug (enhancement) report at
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Günter


  




Re: Problems including a document

2009-11-10 Thread Guenter Milde
On 2009-11-09, Manolo Martí­nez wrote:


 AFAIK, this is LyX's default behaviour.

 Did you try with DocumentLaTeX log after a compilation already

 No! I was relying on the error messages that appear after a failed 
 compilation. Thanks, this is very useful.

 So, let me reforumulate my suggestion with this in mind: it would be 
 nice if the Latex errors message box that appears contained a line 
 reading ... for more information, see DocumentLaTeX log.

Could you file a bug (enhancement) report at
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Günter



Re: Problems including a document

2009-11-10 Thread Manolo Martí­nez

Done: http://www.lyx.org/trac/ticket/6313

Manolo
So, let me reforumulate my suggestion with this in mind: it would be 
nice if the Latex errors message box that appears contained a line 
reading ... for more information, see DocumentLaTeX log.



Could you file a bug (enhancement) report at
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Günter


  




Re: Problems including a document

2009-11-10 Thread Guenter Milde
On 2009-11-09, Manolo Martí­nez wrote:


>> AFAIK, this is LyX's default behaviour.

>> Did you try with Document>LaTeX log after a compilation already

> No! I was relying on the error messages that appear after a failed 
> compilation. Thanks, this is very useful.

> So, let me reforumulate my suggestion with this in mind: it would be 
> nice if the "Latex errors" message box that appears contained a line 
> reading "... for more information, see Document>LaTeX log".

Could you file a bug (enhancement) report at
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Günter



Re: Problems including a document

2009-11-10 Thread Manolo Martí­nez

Done: http://www.lyx.org/trac/ticket/6313

Manolo
So, let me reforumulate my suggestion with this in mind: it would be 
nice if the "Latex errors" message box that appears contained a line 
reading "... for more information, see Document>LaTeX log".



Could you file a bug (enhancement) report at
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Günter


  




Re: Problems including a document

2009-11-09 Thread Manolo Martí­nez




AFAIK, this is LyX's default behaviour.

Did you try with DocumentLaTeX log after a compilation already
  
No! I was relying on the error messages that appear after a failed 
compilation. Thanks, this is very useful.


So, let me reforumulate my suggestion with this in mind: it would be 
nice if the Latex errors message box that appears contained a line 
reading ... for more information, see DocumentLaTeX log.


Manolo


Re: Problems including a document

2009-11-09 Thread Manolo Martí­nez




AFAIK, this is LyX's default behaviour.

Did you try with DocumentLaTeX log after a compilation already
  
No! I was relying on the error messages that appear after a failed 
compilation. Thanks, this is very useful.


So, let me reforumulate my suggestion with this in mind: it would be 
nice if the Latex errors message box that appears contained a line 
reading ... for more information, see DocumentLaTeX log.


Manolo


Re: Problems including a document

2009-11-09 Thread Manolo Martí­nez




AFAIK, this is LyX's default behaviour.

Did you try with Document>LaTeX log after a compilation already
  
No! I was relying on the error messages that appear after a failed 
compilation. Thanks, this is very useful.


So, let me reforumulate my suggestion with this in mind: it would be 
nice if the "Latex errors" message box that appears contained a line 
reading "... for more information, see Document>LaTeX log".


Manolo


Re: Problems including a document

2009-11-08 Thread Guenter Milde
On 2009-11-06, Manolo Martí­nez wrote:
 Eventually, the problem was with a typographic accent in one of the 
 references cited in the offending chapter. Thanks for your advise!

 As you said, the information in the compilation log is invaluable when 
 things go wrong. It's a pity that LyX does not provide this information 
 when it cannot compile. The error messages it does provide are, many 
 times, far from enough to track down a problem.
 Maybe a more intelligent behaviour by LyX would be to silently compile 
 when everything goes OK, but providing a pointer to the compilation log 
 when things go wrong?

AFAIK, this is LyX's default behaviour.

Did you try with DocumentLaTeX log after a compilation already?
I only miss a search function in the window that shows the log.

Günter



Re: Problems including a document

2009-11-08 Thread Guenter Milde
On 2009-11-06, Manolo Martí­nez wrote:
 Eventually, the problem was with a typographic accent in one of the 
 references cited in the offending chapter. Thanks for your advise!

 As you said, the information in the compilation log is invaluable when 
 things go wrong. It's a pity that LyX does not provide this information 
 when it cannot compile. The error messages it does provide are, many 
 times, far from enough to track down a problem.
 Maybe a more intelligent behaviour by LyX would be to silently compile 
 when everything goes OK, but providing a pointer to the compilation log 
 when things go wrong?

AFAIK, this is LyX's default behaviour.

Did you try with DocumentLaTeX log after a compilation already?
I only miss a search function in the window that shows the log.

Günter



Re: Problems including a document

2009-11-08 Thread Guenter Milde
On 2009-11-06, Manolo Martí­nez wrote:
> Eventually, the problem was with a typographic accent in one of the 
> references cited in the offending chapter. Thanks for your advise!

> As you said, the information in the compilation log is invaluable when 
> things go wrong. It's a pity that LyX does not provide this information 
> when it cannot compile. The error messages it does provide are, many 
> times, far from enough to track down a problem.
> Maybe a more intelligent behaviour by LyX would be to silently compile 
> when everything goes OK, but providing a pointer to the compilation log 
> when things go wrong?

AFAIK, this is LyX's default behaviour.

Did you try with Document>LaTeX log after a compilation already?
I only miss a search function in the window that shows the log.

Günter



Re: Problems including a document

2009-11-04 Thread Helge Hafting

Manolo Martí­nez wrote:

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the following 
problem: chapter 5 exports to pdf perfectly on its own but, when 
included in the master document, this latter document does not export 
-although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four errors 
it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?


I have had problems with inclusions sometimes. First, the obvious:
* Both documents are the same document class with the same
  document class options?
* No preamble differences?
* Both documents are the same language?

A less obvious problem is when the document inclusion happens in a place 
where you cannot have more than one paragraph, or at least not a 
complete included document. Bad places to have a input/include are:

* nested inside something else, such as a box or table
* in a heading
* in an enumeration/bullet list
* in the middle of some text, especially if that section of text
  is in a foreign language or highlighted in some way.

Input/include should be in a paragraph of its own, on the outermost 
level and with no markup.



Some things to try:
Put the cursor next to the include/input thing. (Try both sides.)
Check that the paragraph is of type standard, and that there is no
foreign language or other markup in effect.

If you don't find anything, try pressing enter on both sides of the
input inset. This shouldn't really change the document, as the inset 
should be in a paragraph of its own already. This ensures that it is.


If all else fails, try exporting the master document to latex. Then
examine the result, especially around the inclusion. Maybe you find the 
problem, or maybe you find a LyX bug of some kind.


Helge Hafting




Re: Problems including a document

2009-11-04 Thread Helge Hafting

Manolo Martí­nez wrote:

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the following 
problem: chapter 5 exports to pdf perfectly on its own but, when 
included in the master document, this latter document does not export 
-although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four errors 
it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?


I have had problems with inclusions sometimes. First, the obvious:
* Both documents are the same document class with the same
  document class options?
* No preamble differences?
* Both documents are the same language?

A less obvious problem is when the document inclusion happens in a place 
where you cannot have more than one paragraph, or at least not a 
complete included document. Bad places to have a input/include are:

* nested inside something else, such as a box or table
* in a heading
* in an enumeration/bullet list
* in the middle of some text, especially if that section of text
  is in a foreign language or highlighted in some way.

Input/include should be in a paragraph of its own, on the outermost 
level and with no markup.



Some things to try:
Put the cursor next to the include/input thing. (Try both sides.)
Check that the paragraph is of type standard, and that there is no
foreign language or other markup in effect.

If you don't find anything, try pressing enter on both sides of the
input inset. This shouldn't really change the document, as the inset 
should be in a paragraph of its own already. This ensures that it is.


If all else fails, try exporting the master document to latex. Then
examine the result, especially around the inclusion. Maybe you find the 
problem, or maybe you find a LyX bug of some kind.


Helge Hafting




Re: Problems including a document

2009-11-04 Thread Helge Hafting

Manolo Martí­nez wrote:

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the following 
problem: chapter 5 exports to pdf perfectly on its own but, when 
included in the master document, this latter document does not export 
-although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four errors 
it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?


I have had problems with inclusions sometimes. First, the obvious:
* Both documents are the same document class with the same
  document class options?
* No preamble differences?
* Both documents are the same language?

A less obvious problem is when the document inclusion happens in a place 
where you cannot have more than one paragraph, or at least not a 
complete included document. Bad places to have a input/include are:

* nested inside something else, such as a box or table
* in a heading
* in an enumeration/bullet list
* in the middle of some text, especially if that section of text
  is in a foreign language or highlighted in some way.

Input/include should be in a paragraph of its own, on the outermost 
level and with no markup.



Some things to try:
Put the cursor next to the include/input thing. (Try both sides.)
Check that the paragraph is of type "standard", and that there is no
foreign language or other markup in effect.

If you don't find anything, try pressing enter on both sides of the
input inset. This shouldn't really change the document, as the inset 
should be in a paragraph of its own already. This ensures that it is.


If all else fails, try exporting the master document to latex. Then
examine the result, especially around the inclusion. Maybe you find the 
problem, or maybe you find a LyX bug of some kind.


Helge Hafting




Problems including a document

2009-11-03 Thread Manolo Martí­nez

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the following 
problem: chapter 5 exports to pdf perfectly on its own but, when 
included in the master document, this latter document does not export 
-although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four errors 
it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?

Thanks
Manolo



Re: Problems including a document

2009-11-03 Thread rgheck

On 11/03/2009 10:12 AM, Manolo Martí­nez wrote:

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the 
following problem: chapter 5 exports to pdf perfectly on its own but, 
when included in the master document, this latter document does not 
export -although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four 
errors it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?

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



Re: Problems including a document

2009-11-03 Thread Manolo Martí­nez
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






Re: Problems including a document

2009-11-03 Thread James C. Sutherland


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.

Re: Problems including a document

2009-11-03 Thread Manolo Martí­nez
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.




Re: Problems including a document

2009-11-03 Thread James C. Sutherland


On Nov 3, 2009, at 11:23 AM, Manolo Martí nez wrote:

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



Typically LaTeX will get confused, print out something that gives you  
a hint of where it went off a cliff, and then print a lot of messages  
like what you are seeing here.  So I would suggest looking for the  
first occurance of an error out of LaTeX and see if you can determine  
what part of the document it was processing when that error occurred.


Given that the error involves $, I would bet that you either have an  
unterminated math command or you have tried to use a math command  
without enclosing it in the proper $.  You might also look for mis- 
matched braces {}.




Problems including a document

2009-11-03 Thread Manolo Martí­nez

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the following 
problem: chapter 5 exports to pdf perfectly on its own but, when 
included in the master document, this latter document does not export 
-although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four errors 
it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?

Thanks
Manolo



Re: Problems including a document

2009-11-03 Thread rgheck

On 11/03/2009 10:12 AM, Manolo Martí­nez wrote:

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the 
following problem: chapter 5 exports to pdf perfectly on its own but, 
when included in the master document, this latter document does not 
export -although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four 
errors it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?

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



Re: Problems including a document

2009-11-03 Thread Manolo Martí­nez
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






Re: Problems including a document

2009-11-03 Thread James C. Sutherland


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.

Re: Problems including a document

2009-11-03 Thread Manolo Martí­nez
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.




Re: Problems including a document

2009-11-03 Thread James C. Sutherland


On Nov 3, 2009, at 11:23 AM, Manolo Martí nez wrote:

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



Typically LaTeX will get confused, print out something that gives you  
a hint of where it went off a cliff, and then print a lot of messages  
like what you are seeing here.  So I would suggest looking for the  
first occurance of an error out of LaTeX and see if you can determine  
what part of the document it was processing when that error occurred.


Given that the error involves $, I would bet that you either have an  
unterminated math command or you have tried to use a math command  
without enclosing it in the proper $.  You might also look for mis- 
matched braces {}.




Problems including a document

2009-11-03 Thread Manolo Martí­nez

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the following 
problem: chapter 5 exports to pdf perfectly on its own but, when 
included in the master document, this latter document does not export 
-although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four errors 
it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?

Thanks
Manolo



Re: Problems including a document

2009-11-03 Thread rgheck

On 11/03/2009 10:12 AM, Manolo Martí­nez wrote:

Dear list,

I am working right now with a long document that has chapters as 
separate files, included in a master document. I'm having the 
following problem: chapter 5 exports to pdf perfectly on its own but, 
when included in the master document, this latter document does not 
export -although it does when chapter 5 is not included.


It looks as if something is leading .lyx astray, because the four 
errors it finds are:


missing $ inserted
extra }, or forgotten $
missing $ inserted
missing } inserted

Has anybody ever come across a problem like this?

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



Re: Problems including a document

2009-11-03 Thread Manolo Martí­nez
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






Re: Problems including a document

2009-11-03 Thread James C. Sutherland


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.

Re: Problems including a document

2009-11-03 Thread Manolo Martí­nez
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.

   $
l.370

?

! Extra }, or forgotten $.
\maththreesuperior ->{^3}
   
l.370

?

! Missing $ inserted.

   $
l.370

?

! Missing } inserted.

   }
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.




Re: Problems including a document

2009-11-03 Thread James C. Sutherland


On Nov 3, 2009, at 11:23 AM, Manolo Martí nez wrote:

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.

  $
l.370
   ?
! Extra }, or forgotten $.
\maththreesuperior ->{^3}
  l.370
   ?
! Missing $ inserted.

  $
l.370
   ?
! Missing } inserted.

  }
l.370
   ?

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


Thanks again,
Manolo



Typically LaTeX will get confused, print out something that gives you  
a hint of where it went off a cliff, and then print a lot of messages  
like what you are seeing here.  So I would suggest looking for the  
first occurance of an error out of LaTeX and see if you can determine  
what part of the document it was processing when that error occurred.


Given that the error involves "$", I would bet that you either have an  
unterminated math command or you have tried to use a math command  
without enclosing it in the proper "$".  You might also look for mis- 
matched braces {}.