Re: ! Missing $ inserted.

2012-01-06 Thread Wolfgang Engelmann
Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
 I am a fairly new LyX user. I recently edited a chapter (Document class
 'report') that I had previously had no trouble compiling. I now get the
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to get to
 the bottom of these errors.
 
 Any suggestions?
 
 Thanks!

It might also help to check the log-file informations of the error message. 
It can be quite long, but if you start from the end and scroll upwards 
until you hit the first red marked stuff and read it carefully checking for 
words from your text and looking it up in your document. There might be 
further red marked items found by scrolling further upward

Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Felix Krawehl
Uups, the last one went off too early.
I also had these kind of errors and often found them caused by bibtex-related 
problems, mostly special characters.
Instead of actually splitting your document in search for the error I turn 
document parts into comments, which is easily undoable.
Kind regards,
Felix

Von meinem iPhone gesendet

Am 06.01.2012 um 11:31 schrieb Wolfgang Engelmann engelm...@uni-tuebingen.de:

 Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
 I am a fairly new LyX user. I recently edited a chapter (Document class
 'report') that I had previously had no trouble compiling. I now get the
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to get to
 the bottom of these errors.
 
 Any suggestions?
 
 Thanks!
 
 It might also help to check the log-file informations of the error message. 
 It can be quite long, but if you start from the end and scroll upwards 
 until you hit the first red marked stuff and read it carefully checking for 
 words from your text and looking it up in your document. There might be 
 further red marked items found by scrolling further upward
 
 Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Gerry Clare
Thanks for your comments. Just to update you, the problem was due to 
incompatible encoding in BibTeX. I imported some citations with accented 
characters in the author names - these failed to show in the reference 
database. When I over-rode the encoding by manually inserting the characters, 
the problem went away. Took me several days to work out!

On 6 Jan 2012, at 15:18, Felix Krawehl wrote:

 Uups, the last one went off too early.
 I also had these kind of errors and often found them caused by bibtex-related 
 problems, mostly special characters.
 Instead of actually splitting your document in search for the error I turn 
 document parts into comments, which is easily undoable.
 Kind regards,
 Felix
 
 Von meinem iPhone gesendet
 
 Am 06.01.2012 um 11:31 schrieb Wolfgang Engelmann 
 engelm...@uni-tuebingen.de:
 
 Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
 I am a fairly new LyX user. I recently edited a chapter (Document class
 'report') that I had previously had no trouble compiling. I now get the
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to get to
 the bottom of these errors.
 
 Any suggestions?
 
 Thanks!
 
 It might also help to check the log-file informations of the error message. 
 It can be quite long, but if you start from the end and scroll upwards 
 until you hit the first red marked stuff and read it carefully checking for 
 words from your text and looking it up in your document. There might be 
 further red marked items found by scrolling further upward
 
 Wolfgang



Re: ! Missing $ inserted.

2012-01-06 Thread Wolfgang Engelmann
Am Freitag, 6. Januar 2012, 19:56:31 schrieb Gerry Clare:
 Thanks for your comments. Just to update you, the problem was due to
 incompatible encoding in BibTeX. I imported some citations with
 accented characters in the author names - these failed to show in the
 reference database. When I over-rode the encoding by manually inserting
 the characters, the problem went away. Took me several days to work
 out!

Yes, I know this!

What I try to do nowadays (sometimes I forget, see one of my latest 
questions...) is to check after every entering of a citation whether lyx-
pdf conversion is alright. I am using Jabref as a bib-file and push the ref 
via lyx in Jabrefs menu into the document. Jabref allows also to check 
for the coding ( filedatabase propertiesencodingISO8859_1).

Felix remark:
 Instead of actually splitting your document in search for the error I 
 turn document parts into comments, which is easily undoable.

I find it faster to mark parts which you have to do anyway if you put it in 
a comment field, use ctr x, try the rest, if ok, paste it back with ctr v, 
try the other half etc until the error has been pinned down. 
 
Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Wolfgang Engelmann
Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
 I am a fairly new LyX user. I recently edited a chapter (Document class
 'report') that I had previously had no trouble compiling. I now get the
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to get to
 the bottom of these errors.
 
 Any suggestions?
 
 Thanks!

It might also help to check the log-file informations of the error message. 
It can be quite long, but if you start from the end and scroll upwards 
until you hit the first red marked stuff and read it carefully checking for 
words from your text and looking it up in your document. There might be 
further red marked items found by scrolling further upward

Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Felix Krawehl
Uups, the last one went off too early.
I also had these kind of errors and often found them caused by bibtex-related 
problems, mostly special characters.
Instead of actually splitting your document in search for the error I turn 
document parts into comments, which is easily undoable.
Kind regards,
Felix

Von meinem iPhone gesendet

Am 06.01.2012 um 11:31 schrieb Wolfgang Engelmann engelm...@uni-tuebingen.de:

 Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
 I am a fairly new LyX user. I recently edited a chapter (Document class
 'report') that I had previously had no trouble compiling. I now get the
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to get to
 the bottom of these errors.
 
 Any suggestions?
 
 Thanks!
 
 It might also help to check the log-file informations of the error message. 
 It can be quite long, but if you start from the end and scroll upwards 
 until you hit the first red marked stuff and read it carefully checking for 
 words from your text and looking it up in your document. There might be 
 further red marked items found by scrolling further upward
 
 Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Gerry Clare
Thanks for your comments. Just to update you, the problem was due to 
incompatible encoding in BibTeX. I imported some citations with accented 
characters in the author names - these failed to show in the reference 
database. When I over-rode the encoding by manually inserting the characters, 
the problem went away. Took me several days to work out!

On 6 Jan 2012, at 15:18, Felix Krawehl wrote:

 Uups, the last one went off too early.
 I also had these kind of errors and often found them caused by bibtex-related 
 problems, mostly special characters.
 Instead of actually splitting your document in search for the error I turn 
 document parts into comments, which is easily undoable.
 Kind regards,
 Felix
 
 Von meinem iPhone gesendet
 
 Am 06.01.2012 um 11:31 schrieb Wolfgang Engelmann 
 engelm...@uni-tuebingen.de:
 
 Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
 I am a fairly new LyX user. I recently edited a chapter (Document class
 'report') that I had previously had no trouble compiling. I now get the
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to get to
 the bottom of these errors.
 
 Any suggestions?
 
 Thanks!
 
 It might also help to check the log-file informations of the error message. 
 It can be quite long, but if you start from the end and scroll upwards 
 until you hit the first red marked stuff and read it carefully checking for 
 words from your text and looking it up in your document. There might be 
 further red marked items found by scrolling further upward
 
 Wolfgang



Re: ! Missing $ inserted.

2012-01-06 Thread Wolfgang Engelmann
Am Freitag, 6. Januar 2012, 19:56:31 schrieb Gerry Clare:
 Thanks for your comments. Just to update you, the problem was due to
 incompatible encoding in BibTeX. I imported some citations with
 accented characters in the author names - these failed to show in the
 reference database. When I over-rode the encoding by manually inserting
 the characters, the problem went away. Took me several days to work
 out!

Yes, I know this!

What I try to do nowadays (sometimes I forget, see one of my latest 
questions...) is to check after every entering of a citation whether lyx-
pdf conversion is alright. I am using Jabref as a bib-file and push the ref 
via lyx in Jabrefs menu into the document. Jabref allows also to check 
for the coding ( filedatabase propertiesencodingISO8859_1).

Felix remark:
 Instead of actually splitting your document in search for the error I 
 turn document parts into comments, which is easily undoable.

I find it faster to mark parts which you have to do anyway if you put it in 
a comment field, use ctr x, try the rest, if ok, paste it back with ctr v, 
try the other half etc until the error has been pinned down. 
 
Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Wolfgang Engelmann
Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
> I am a fairly new LyX user. I recently edited a chapter (Document class
> 'report') that I had previously had no trouble compiling. I now get the
> following errors:
> 
> ! Missing $ inserted.
> ! Extra }, or forgotten $.
> ! LaTeX Error: Command \item invalid in math mode.
> ! LaTeX Error: Something's wrong--perhaps a missing \item.
> ! Extra }, or forgotten \endgroup.
> 
> Although I have read some suggestions on Google, I can't seem to get to
> the bottom of these errors.
> 
> Any suggestions?
> 
> Thanks!

It might also help to check the log-file informations of the error message. 
It can be quite long, but if you start from the end and scroll upwards 
until you hit the first red marked stuff and read it carefully checking for 
words from your text and looking it up in your document. There might be 
further red marked items found by scrolling further upward

Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Felix Krawehl
Uups, the last one went off too early.
I also had these kind of errors and often found them caused by bibtex-related 
problems, mostly special characters.
Instead of actually splitting your document in search for the error I turn 
document parts into comments, which is easily undoable.
Kind regards,
Felix

Von meinem iPhone gesendet

Am 06.01.2012 um 11:31 schrieb Wolfgang Engelmann <engelm...@uni-tuebingen.de>:

> Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
>> I am a fairly new LyX user. I recently edited a chapter (Document class
>> 'report') that I had previously had no trouble compiling. I now get the
>> following errors:
>> 
>> ! Missing $ inserted.
>> ! Extra }, or forgotten $.
>> ! LaTeX Error: Command \item invalid in math mode.
>> ! LaTeX Error: Something's wrong--perhaps a missing \item.
>> ! Extra }, or forgotten \endgroup.
>> 
>> Although I have read some suggestions on Google, I can't seem to get to
>> the bottom of these errors.
>> 
>> Any suggestions?
>> 
>> Thanks!
> 
> It might also help to check the log-file informations of the error message. 
> It can be quite long, but if you start from the end and scroll upwards 
> until you hit the first red marked stuff and read it carefully checking for 
> words from your text and looking it up in your document. There might be 
> further red marked items found by scrolling further upward
> 
> Wolfgang


Re: ! Missing $ inserted.

2012-01-06 Thread Gerry Clare
Thanks for your comments. Just to update you, the problem was due to 
incompatible encoding in BibTeX. I imported some citations with accented 
characters in the author names - these failed to show in the reference 
database. When I over-rode the encoding by manually inserting the characters, 
the problem went away. Took me several days to work out!

On 6 Jan 2012, at 15:18, Felix Krawehl wrote:

> Uups, the last one went off too early.
> I also had these kind of errors and often found them caused by bibtex-related 
> problems, mostly special characters.
> Instead of actually splitting your document in search for the error I turn 
> document parts into comments, which is easily undoable.
> Kind regards,
> Felix
> 
> Von meinem iPhone gesendet
> 
> Am 06.01.2012 um 11:31 schrieb Wolfgang Engelmann 
> <engelm...@uni-tuebingen.de>:
> 
>> Am Freitag, 6. Januar 2012, 00:43:45 schrieb Gerry Clare:
>>> I am a fairly new LyX user. I recently edited a chapter (Document class
>>> 'report') that I had previously had no trouble compiling. I now get the
>>> following errors:
>>> 
>>> ! Missing $ inserted.
>>> ! Extra }, or forgotten $.
>>> ! LaTeX Error: Command \item invalid in math mode.
>>> ! LaTeX Error: Something's wrong--perhaps a missing \item.
>>> ! Extra }, or forgotten \endgroup.
>>> 
>>> Although I have read some suggestions on Google, I can't seem to get to
>>> the bottom of these errors.
>>> 
>>> Any suggestions?
>>> 
>>> Thanks!
>> 
>> It might also help to check the log-file informations of the error message. 
>> It can be quite long, but if you start from the end and scroll upwards 
>> until you hit the first red marked stuff and read it carefully checking for 
>> words from your text and looking it up in your document. There might be 
>> further red marked items found by scrolling further upward
>> 
>> Wolfgang



Re: ! Missing $ inserted.

2012-01-06 Thread Wolfgang Engelmann
Am Freitag, 6. Januar 2012, 19:56:31 schrieb Gerry Clare:
> Thanks for your comments. Just to update you, the problem was due to
> incompatible encoding in BibTeX. I imported some citations with
> accented characters in the author names - these failed to show in the
> reference database. When I over-rode the encoding by manually inserting
> the characters, the problem went away. Took me several days to work
> out!

Yes, I know this!

What I try to do nowadays (sometimes I forget, see one of my latest 
questions...) is to check after every entering of a citation whether lyx-
>pdf conversion is alright. I am using Jabref as a bib-file and push the ref 
via "lyx" in Jabrefs menu into the document. Jabref allows also to check 
for the coding ( file>database properties>encoding>ISO8859_1).

Felix remark:
> Instead of actually splitting your document in search for the error I 
> turn document parts into comments, which is easily undoable.

I find it faster to mark parts which you have to do anyway if you put it in 
a comment field, use ctr x, try the rest, if ok, paste it back with ctr v, 
try the other half etc until the error has been pinned down. 
 
Wolfgang


! Missing $ inserted.

2012-01-05 Thread Gerry Clare
I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.

Although I have read some suggestions on Google, I can't seem to get to the 
bottom of these errors.

Any suggestions?

Thanks!

Re: ! Missing $ inserted.

2012-01-05 Thread Steve Litt
On Thursday, January 05, 2012 06:43:45 PM Gerry Clare wrote:
 I am a fairly new LyX user. I recently edited a chapter (Document
 class 'report') that I had previously had no trouble compiling. I
 now get the following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to
 get to the bottom of these errors.
 
 Any suggestions?

Hi Gerry,

Because I know very little of LaTeX, the underlying technology of LyX, 
the way I fix these type of problems is divide and conquer. First I 
back up my file for safe keeping. Then I split it roughly in half, and 
see if the symptom remains. If it does, I split it in half again. If 
it's still there, I split it in half again, etc.

Of course, sometimes the symptom goes away when I take material away, 
so when it goes away, I put back half the material I last took away. 
Keep half-splitting it and pretty soon you'll get it down to a tiny 
document that exhibits the problem, and the root cause becomes 
obvious.

This works for just about any situation where LyX fails to compile to 
PDF etc.

Hope this helps.

SteveT

Steve Litt:  http://www.troubleshooters.com
My new 99 cent Kindle book:  http://www.amazon.com/dp/B006QTBLA2


Re: ! Missing $ inserted.

2012-01-05 Thread David L. Johnson

On 01/05/2012 06:43 PM, Gerry Clare wrote:

I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.



Many of these sorts of errors occur because of a mistaken environment 
setting.  For example, if you accidentally have a whole bunch of stuff 
included in a heading type environment, it can mess things up badly.  
Of course, if you have some ERT included, you might have a problem 
there, too.  LyX is really quite good at writing tex that actually 
compiles, so if it doesn't, there is usually some sort of unnoticed 
mistake somewhere.


The previous suggestion is a good one, though.  Break the file up (after 
saving it) into pieces to see in which piece the problem lies.  If you 
still can't isolate it, put the smallest bad chunk of the document on 
the list, and I'll take a  look at it.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: ! Missing $ inserted.

2012-01-05 Thread Murat Yildizoglu
To locate the source of such problems, I export the file to latex and manually 
compile it to latex in a terminal (or command window in Windows). The 
compilation will give you a line number. You can open the latex file in a 
simple text editor and go to the line to have an idea of the part of the 
document that poses problem. 

--
Murat Yildizoglu
yi...@u-bordeaux4.fr

Le 6 janv. 2012 à 03:07, David L. Johnson david.john...@lehigh.edu a écrit :

 On 01/05/2012 06:43 PM, Gerry Clare wrote:
 I am a fairly new LyX user. I recently edited a chapter (Document class 
 'report') that I had previously had no trouble compiling. I now get the 
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 
 Many of these sorts of errors occur because of a mistaken environment 
 setting.  For example, if you accidentally have a whole bunch of stuff 
 included in a heading type environment, it can mess things up badly.  Of 
 course, if you have some ERT included, you might have a problem there, too.  
 LyX is really quite good at writing tex that actually compiles, so if it 
 doesn't, there is usually some sort of unnoticed mistake somewhere.
 
 The previous suggestion is a good one, though.  Break the file up (after 
 saving it) into pieces to see in which piece the problem lies.  If you still 
 can't isolate it, put the smallest bad chunk of the document on the list, and 
 I'll take a  look at it.
 
 -- 
 
 David L. Johnson
 
 The lottery is a tax on those who fail to understand mathematics.
 


! Missing $ inserted.

2012-01-05 Thread Gerry Clare
I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.

Although I have read some suggestions on Google, I can't seem to get to the 
bottom of these errors.

Any suggestions?

Thanks!

Re: ! Missing $ inserted.

2012-01-05 Thread Steve Litt
On Thursday, January 05, 2012 06:43:45 PM Gerry Clare wrote:
 I am a fairly new LyX user. I recently edited a chapter (Document
 class 'report') that I had previously had no trouble compiling. I
 now get the following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 Although I have read some suggestions on Google, I can't seem to
 get to the bottom of these errors.
 
 Any suggestions?

Hi Gerry,

Because I know very little of LaTeX, the underlying technology of LyX, 
the way I fix these type of problems is divide and conquer. First I 
back up my file for safe keeping. Then I split it roughly in half, and 
see if the symptom remains. If it does, I split it in half again. If 
it's still there, I split it in half again, etc.

Of course, sometimes the symptom goes away when I take material away, 
so when it goes away, I put back half the material I last took away. 
Keep half-splitting it and pretty soon you'll get it down to a tiny 
document that exhibits the problem, and the root cause becomes 
obvious.

This works for just about any situation where LyX fails to compile to 
PDF etc.

Hope this helps.

SteveT

Steve Litt:  http://www.troubleshooters.com
My new 99 cent Kindle book:  http://www.amazon.com/dp/B006QTBLA2


Re: ! Missing $ inserted.

2012-01-05 Thread David L. Johnson

On 01/05/2012 06:43 PM, Gerry Clare wrote:

I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.



Many of these sorts of errors occur because of a mistaken environment 
setting.  For example, if you accidentally have a whole bunch of stuff 
included in a heading type environment, it can mess things up badly.  
Of course, if you have some ERT included, you might have a problem 
there, too.  LyX is really quite good at writing tex that actually 
compiles, so if it doesn't, there is usually some sort of unnoticed 
mistake somewhere.


The previous suggestion is a good one, though.  Break the file up (after 
saving it) into pieces to see in which piece the problem lies.  If you 
still can't isolate it, put the smallest bad chunk of the document on 
the list, and I'll take a  look at it.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: ! Missing $ inserted.

2012-01-05 Thread Murat Yildizoglu
To locate the source of such problems, I export the file to latex and manually 
compile it to latex in a terminal (or command window in Windows). The 
compilation will give you a line number. You can open the latex file in a 
simple text editor and go to the line to have an idea of the part of the 
document that poses problem. 

--
Murat Yildizoglu
yi...@u-bordeaux4.fr

Le 6 janv. 2012 à 03:07, David L. Johnson david.john...@lehigh.edu a écrit :

 On 01/05/2012 06:43 PM, Gerry Clare wrote:
 I am a fairly new LyX user. I recently edited a chapter (Document class 
 'report') that I had previously had no trouble compiling. I now get the 
 following errors:
 
 ! Missing $ inserted.
 ! Extra }, or forgotten $.
 ! LaTeX Error: Command \item invalid in math mode.
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 ! Extra }, or forgotten \endgroup.
 
 
 Many of these sorts of errors occur because of a mistaken environment 
 setting.  For example, if you accidentally have a whole bunch of stuff 
 included in a heading type environment, it can mess things up badly.  Of 
 course, if you have some ERT included, you might have a problem there, too.  
 LyX is really quite good at writing tex that actually compiles, so if it 
 doesn't, there is usually some sort of unnoticed mistake somewhere.
 
 The previous suggestion is a good one, though.  Break the file up (after 
 saving it) into pieces to see in which piece the problem lies.  If you still 
 can't isolate it, put the smallest bad chunk of the document on the list, and 
 I'll take a  look at it.
 
 -- 
 
 David L. Johnson
 
 The lottery is a tax on those who fail to understand mathematics.
 


! Missing $ inserted.

2012-01-05 Thread Gerry Clare
I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.

Although I have read some suggestions on Google, I can't seem to get to the 
bottom of these errors.

Any suggestions?

Thanks!

Re: ! Missing $ inserted.

2012-01-05 Thread Steve Litt
On Thursday, January 05, 2012 06:43:45 PM Gerry Clare wrote:
> I am a fairly new LyX user. I recently edited a chapter (Document
> class 'report') that I had previously had no trouble compiling. I
> now get the following errors:
> 
> ! Missing $ inserted.
> ! Extra }, or forgotten $.
> ! LaTeX Error: Command \item invalid in math mode.
> ! LaTeX Error: Something's wrong--perhaps a missing \item.
> ! Extra }, or forgotten \endgroup.
> 
> Although I have read some suggestions on Google, I can't seem to
> get to the bottom of these errors.
> 
> Any suggestions?

Hi Gerry,

Because I know very little of LaTeX, the underlying technology of LyX, 
the way I fix these type of problems is divide and conquer. First I 
back up my file for safe keeping. Then I split it roughly in half, and 
see if the symptom remains. If it does, I split it in half again. If 
it's still there, I split it in half again, etc.

Of course, sometimes the symptom goes away when I take material away, 
so when it goes away, I put back half the material I last took away. 
Keep half-splitting it and pretty soon you'll get it down to a tiny 
document that exhibits the problem, and the root cause becomes 
obvious.

This works for just about any situation where LyX fails to compile to 
PDF etc.

Hope this helps.

SteveT

Steve Litt:  http://www.troubleshooters.com
My new 99 cent Kindle book:  http://www.amazon.com/dp/B006QTBLA2


Re: ! Missing $ inserted.

2012-01-05 Thread David L. Johnson

On 01/05/2012 06:43 PM, Gerry Clare wrote:

I am a fairly new LyX user. I recently edited a chapter (Document class 
'report') that I had previously had no trouble compiling. I now get the 
following errors:

! Missing $ inserted.
! Extra }, or forgotten $.
! LaTeX Error: Command \item invalid in math mode.
! LaTeX Error: Something's wrong--perhaps a missing \item.
! Extra }, or forgotten \endgroup.



Many of these sorts of errors occur because of a mistaken environment 
setting.  For example, if you accidentally have a whole bunch of stuff 
included in a "heading" type environment, it can mess things up badly.  
Of course, if you have some ERT included, you might have a problem 
there, too.  LyX is really quite good at writing tex that actually 
compiles, so if it doesn't, there is usually some sort of unnoticed 
mistake somewhere.


The previous suggestion is a good one, though.  Break the file up (after 
saving it) into pieces to see in which piece the problem lies.  If you 
still can't isolate it, put the smallest bad chunk of the document on 
the list, and I'll take a  look at it.


--

David L. Johnson

The lottery is a tax on those who fail to understand mathematics.



Re: ! Missing $ inserted.

2012-01-05 Thread Murat Yildizoglu
To locate the source of such problems, I export the file to latex and manually 
compile it to latex in a terminal (or command window in Windows). The 
compilation will give you a line number. You can open the latex file in a 
simple text editor and go to the line to have an idea of the part of the 
document that poses problem. 

--
Murat Yildizoglu
yi...@u-bordeaux4.fr

Le 6 janv. 2012 à 03:07, "David L. Johnson" <david.john...@lehigh.edu> a écrit :

> On 01/05/2012 06:43 PM, Gerry Clare wrote:
>> I am a fairly new LyX user. I recently edited a chapter (Document class 
>> 'report') that I had previously had no trouble compiling. I now get the 
>> following errors:
>> 
>> ! Missing $ inserted.
>> ! Extra }, or forgotten $.
>> ! LaTeX Error: Command \item invalid in math mode.
>> ! LaTeX Error: Something's wrong--perhaps a missing \item.
>> ! Extra }, or forgotten \endgroup.
>> 
> 
> Many of these sorts of errors occur because of a mistaken environment 
> setting.  For example, if you accidentally have a whole bunch of stuff 
> included in a "heading" type environment, it can mess things up badly.  Of 
> course, if you have some ERT included, you might have a problem there, too.  
> LyX is really quite good at writing tex that actually compiles, so if it 
> doesn't, there is usually some sort of unnoticed mistake somewhere.
> 
> The previous suggestion is a good one, though.  Break the file up (after 
> saving it) into pieces to see in which piece the problem lies.  If you still 
> can't isolate it, put the smallest bad chunk of the document on the list, and 
> I'll take a  look at it.
> 
> -- 
> 
> David L. Johnson
> 
> The lottery is a tax on those who fail to understand mathematics.
> 


underscore and missing $ inserted

2010-12-28 Thread Anders Wallin
Hi All,

I'm using this in my preamble.sty to include doi-links:
\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}}

this works less than great when the DOI happens to include an underscore _

I then get two Missing $ inserted warnings from lyx, and no pdf output.

I would need some magic in front of the \doi command which would make
lyx/latex ignore the underscore(s) and not complain about missing $.
Any ideas?

This is lyx 1.6.5 with latex 3.1415926-1.40.10 on Ubuntu 10.04LTS

thanks,
AW


underscore and missing $ inserted

2010-12-28 Thread Anders Wallin
Hi All,

I'm using this in my preamble.sty to include doi-links:
\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}}

this works less than great when the DOI happens to include an underscore _

I then get two Missing $ inserted warnings from lyx, and no pdf output.

I would need some magic in front of the \doi command which would make
lyx/latex ignore the underscore(s) and not complain about missing $.
Any ideas?

This is lyx 1.6.5 with latex 3.1415926-1.40.10 on Ubuntu 10.04LTS

thanks,
AW


underscore and "missing $ inserted"

2010-12-28 Thread Anders Wallin
Hi All,

I'm using this in my preamble.sty to include doi-links:
\newcommand*{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}}

this works less than great when the DOI happens to include an underscore "_"

I then get two "Missing $ inserted" warnings from lyx, and no pdf output.

I would need some magic in front of the \doi command which would make
lyx/latex ignore the underscore(s) and not complain about missing "$".
Any ideas?

This is lyx 1.6.5 with latex 3.1415926-1.40.10 on Ubuntu 10.04LTS

thanks,
AW


Re: underscore and missing $ inserted

2010-12-28 Thread Paul A . Rubin
Try adding \usepackage{underscore} in the preamble (and, of course, installing
it if you don't already have it).

/Paul



[nomenclature] missing $ inserted.

2009-06-28 Thread Maka Mohu
Hi!
When I get an error with lyx.

! Missing $ inserted.
inserted text
$
l.1478 ...ture[XX HH  $\left[\left[\right]\right]^

{n}$]{$\left[\left[\right]...


 I exported the file to pdflatex and found that this line is the source of
the problem (the part in \nomenclature[]). Any idea what is wrong?

{} \nomenclature[XX HH
$\left[\left[\right]\right]^{n}$]{$\left[\left[\right]\right]^{n}$}{A term
that is evaluted at time level n.}

Thanks.
/Maka


[nomenclature] missing $ inserted.

2009-06-28 Thread Maka Mohu
Hi!
When I get an error with lyx.

! Missing $ inserted.
inserted text
$
l.1478 ...ture[XX HH  $\left[\left[\right]\right]^

{n}$]{$\left[\left[\right]...


 I exported the file to pdflatex and found that this line is the source of
the problem (the part in \nomenclature[]). Any idea what is wrong?

{} \nomenclature[XX HH
$\left[\left[\right]\right]^{n}$]{$\left[\left[\right]\right]^{n}$}{A term
that is evaluted at time level n.}

Thanks.
/Maka


[nomenclature] missing $ inserted.

2009-06-28 Thread Maka Mohu
Hi!
When I get an error with lyx.

! Missing $ inserted.

$
l.1478 ...ture[XX HH  $\left[\left[\right]\right]^

{n}$]{$\left[\left[\right]...


 I exported the file to pdflatex and found that this line is the source of
the problem (the part in \nomenclature[]). Any idea what is wrong?

{} \nomenclature[XX HH
$\left[\left[\right]\right]^{n}$]{$\left[\left[\right]\right]^{n}$}{A term
that is evaluted at time level n.}

Thanks.
/Maka


Re: missing $ inserted : what does that mean?

2008-11-01 Thread Erez Yerushalmi
Dear All,

Thanks for your comments!

I used James' suggestion and deleted each section. My document is more than
120 pages, so I spent a good few hours fixing the problem.

Today I found Paul's comment which was right on the money!  This was
exactly the cause.

For some reason, two citations in two separate footnotes went crazy. I can't
even see why in the bibtex file, but when I re-entered them as new citations
in the bibtex database, it works.

Quite annoying.  :-)


Thanks all for your help,

Erez



On Fri, Oct 31, 2008 at 6:29 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:

 Erez Yerushalmi wrote:

 Dear All,

 I have been working on a document for a long time. I regularly pdf it.

 I didn't do anything to it, and now suddenly screams

 This happens on the first line of the document, with line as standard

 I'm using lyx 1.5.5 , xp.

 See below the error...

 It complies 1 run, and then 2nd run, and then gets stuck...


 Are you using a BibTeX database to add citations?  The fact that this
 occurs during or after the second pass rather than the first suggests that
 something is being added belatedly (like the bibliography) that produces the
 error.  You said you didn't do anything to the document; might you (or
 someone else) have edited the BibTeX file?

 /Paul




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: missing $ inserted : what does that mean?

2008-11-01 Thread Erez Yerushalmi
Dear All,

Thanks for your comments!

I used James' suggestion and deleted each section. My document is more than
120 pages, so I spent a good few hours fixing the problem.

Today I found Paul's comment which was right on the money!  This was
exactly the cause.

For some reason, two citations in two separate footnotes went crazy. I can't
even see why in the bibtex file, but when I re-entered them as new citations
in the bibtex database, it works.

Quite annoying.  :-)


Thanks all for your help,

Erez



On Fri, Oct 31, 2008 at 6:29 PM, Paul A. Rubin [EMAIL PROTECTED] wrote:

 Erez Yerushalmi wrote:

 Dear All,

 I have been working on a document for a long time. I regularly pdf it.

 I didn't do anything to it, and now suddenly screams

 This happens on the first line of the document, with line as standard

 I'm using lyx 1.5.5 , xp.

 See below the error...

 It complies 1 run, and then 2nd run, and then gets stuck...


 Are you using a BibTeX database to add citations?  The fact that this
 occurs during or after the second pass rather than the first suggests that
 something is being added belatedly (like the bibliography) that produces the
 error.  You said you didn't do anything to the document; might you (or
 someone else) have edited the BibTeX file?

 /Paul




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: missing $ inserted : what does that mean?

2008-11-01 Thread Erez Yerushalmi
Dear All,

Thanks for your comments!

I used James' suggestion and deleted each section. My document is more than
120 pages, so I spent a good few hours fixing the problem.

Today I found Paul's comment which was "right on the money"!  This was
exactly the cause.

For some reason, two citations in two separate footnotes went crazy. I can't
even see why in the bibtex file, but when I re-entered them as new citations
in the bibtex database, it works.

Quite annoying.  :-)


Thanks all for your help,

Erez



On Fri, Oct 31, 2008 at 6:29 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

> Erez Yerushalmi wrote:
>
>> Dear All,
>>
>> I have been working on a document for a long time. I regularly pdf it.
>>
>> I didn't do anything to it, and now suddenly screams
>>
>> This happens on the first line of the document, with line as "standard"
>>
>> I'm using lyx 1.5.5 , xp.
>>
>> See below the error...
>>
>> It complies 1 run, and then 2nd run, and then gets stuck...
>>
>>
> Are you using a BibTeX database to add citations?  The fact that this
> occurs during or after the second pass rather than the first suggests that
> something is being added belatedly (like the bibliography) that produces the
> error.  You said you didn't do anything to the document; might you (or
> someone else) have edited the BibTeX file?
>
> /Paul
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


missing $ inserted : what does that mean?

2008-10-31 Thread Erez Yerushalmi
Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as standard

I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

 I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: missing $ inserted : what does that mean?

2008-10-31 Thread James Sutherland

I sometimes have this problem due to what is likely a bug in LyX.

Try the following: segment your document into several documents and  
see which one(s) fail.  Continue removing until you find the offending  
part(s).  Then if you also look at the LaTeX source code you can  
sometimes find the problem.  Ususally for me it is an extra space  
(LyX typically eliminates those, and if it doesn't for some reason,  
things break).


James


On Oct 31, 2008, at 10:21 AM, Erez Yerushalmi wrote:


Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as  
standard


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




Re: missing $ inserted : what does that mean?

2008-10-31 Thread A. Scottedward Hodel
That's a LaTeX error.  Something is odd with the way you're putting in  
your equations.   I often find it useful to export the LyX document as  
LaTeX and then see where the error comes from there.  You can also  
click on the error message in list and see the line in the original  
LyX document that causes the problem.  Either way should give you some  
insight into the problem.


On Oct 31, 2008, at 11:21 AM, Erez Yerushalmi wrote:


Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as  
standard


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar





Re: missing $ inserted : what does that mean?

2008-10-31 Thread Paul A. Rubin

Erez Yerushalmi wrote:

Dear All,

I have been working on a document for a long time. I regularly pdf 
it.


I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as 
standard


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...



Are you using a BibTeX database to add citations?  The fact that this 
occurs during or after the second pass rather than the first suggests 
that something is being added belatedly (like the bibliography) that 
produces the error.  You said you didn't do anything to the document; 
might you (or someone else) have edited the BibTeX file?


/Paul



missing $ inserted : what does that mean?

2008-10-31 Thread Erez Yerushalmi
Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as standard

I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

 I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: missing $ inserted : what does that mean?

2008-10-31 Thread James Sutherland

I sometimes have this problem due to what is likely a bug in LyX.

Try the following: segment your document into several documents and  
see which one(s) fail.  Continue removing until you find the offending  
part(s).  Then if you also look at the LaTeX source code you can  
sometimes find the problem.  Ususally for me it is an extra space  
(LyX typically eliminates those, and if it doesn't for some reason,  
things break).


James


On Oct 31, 2008, at 10:21 AM, Erez Yerushalmi wrote:


Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as  
standard


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




Re: missing $ inserted : what does that mean?

2008-10-31 Thread A. Scottedward Hodel
That's a LaTeX error.  Something is odd with the way you're putting in  
your equations.   I often find it useful to export the LyX document as  
LaTeX and then see where the error comes from there.  You can also  
click on the error message in list and see the line in the original  
LyX document that causes the problem.  Either way should give you some  
insight into the problem.


On Oct 31, 2008, at 11:21 AM, Erez Yerushalmi wrote:


Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as  
standard


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar





Re: missing $ inserted : what does that mean?

2008-10-31 Thread Paul A. Rubin

Erez Yerushalmi wrote:

Dear All,

I have been working on a document for a long time. I regularly pdf 
it.


I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as 
standard


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...



Are you using a BibTeX database to add citations?  The fact that this 
occurs during or after the second pass rather than the first suggests 
that something is being added belatedly (like the bibliography) that 
produces the error.  You said you didn't do anything to the document; 
might you (or someone else) have edited the BibTeX file?


/Paul



missing $ inserted : what does that mean?

2008-10-31 Thread Erez Yerushalmi
Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as "standard"

I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

 I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: missing $ inserted : what does that mean?

2008-10-31 Thread James Sutherland

I sometimes have this problem due to what is likely a bug in LyX.

Try the following: segment your document into several documents and  
see which one(s) fail.  Continue removing until you find the offending  
part(s).  Then if you also look at the LaTeX source code you can  
sometimes find the problem.  Ususally for me it is an "extra" space  
(LyX typically eliminates those, and if it doesn't for some reason,  
things break).


James


On Oct 31, 2008, at 10:21 AM, Erez Yerushalmi wrote:


Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as  
"standard"


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




Re: missing $ inserted : what does that mean?

2008-10-31 Thread A. Scottedward Hodel
That's a LaTeX error.  Something is odd with the way you're putting in  
your equations.   I often find it useful to export the LyX document as  
LaTeX and then see where the error comes from there.  You can also  
click on the error message in list and see the line in the original  
LyX document that causes the problem.  Either way should give you some  
insight into the problem.


On Oct 31, 2008, at 11:21 AM, Erez Yerushalmi wrote:


Dear All,

I have been working on a document for a long time.
I regularly pdf it.

I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as  
"standard"


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...

Any suggestions would be greatful

Erez

*missing $ inserted*
Beta.pdf}

.

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.


*Extra }, or forgotten $.*
Beta.pdf}

.

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.


*Missing $ inserted.*

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and so on...





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


A. Scottedward Hodel [EMAIL PROTECTED]
http://homepage.mac.com/hodelas/tar





Re: missing $ inserted : what does that mean?

2008-10-31 Thread Paul A. Rubin

Erez Yerushalmi wrote:

Dear All,

I have been working on a document for a long time. I regularly pdf 
it.


I didn't do anything to it, and now suddenly screams

This happens on the first line of the document, with line as 
"standard"


I'm using lyx 1.5.5 , xp.

See below the error...

It complies 1 run, and then 2nd run, and then gets stuck...



Are you using a BibTeX database to add citations?  The fact that this 
occurs during or after the second pass rather than the first suggests 
that something is being added belatedly (like the bibliography) that 
produces the error.  You said you didn't do anything to the document; 
might you (or someone else) have edited the BibTeX file?


/Paul