On Thu, 01 Mar 2007 11:37:24 -0600
Lyx Physicist <[EMAIL PROTECTED]> wrote:

> 

> 
> Hi Paul, 
>    I put that into the preamble and am getting this error...
> You cant use '\spacefactor' in vertical mode
> (Here is the text from the error)
>  \tableofcontents
>                       
> Sorry, but I'm not programmed to handle this case;
> I'll just pretend that you didn't ask for it.
> If you're in the wrong mode, you might be able to
> return to the right one by typing `I}' or `I$' or `I\par'.
> ****
> Missing $ inserted
> **
> \tableofcontents
>                       
> I've inserted a begin-math/end-math symbol since I think
> you left one out. Proceed, with fingers crossed.
> **
> Missing $ inserted
> **
> You cant use '\spacefactor' in vertical mode
> 
> *****************
> And as for the error Im getting from the command line...
>    
> LaTeX Warning: Citation `key-1' on page 2 undefined on input line 192.
> 
> 
> LaTeX Warning: Citation `key-2' on page 2 undefined on input line 208.
> 
> 
> LaTeX Warning: File `"Images/ZnSMn decay".jpg' not found on input line
> 238.
> 
> 
> Error: latex (file "Images/ZnSMn decay".jpg): cannot find image file
>  ==> Fatal error occurred, the output PDF file is not finished!
> *****************
> Which doesnt make sense, because those things are all there and
> defined... Thanks for the help, I hope to hear from you when you get
> back!
> Charles
> 
> 

Hi Charles,

Sorry, but I forgot one line from what I told you to paste into the
preamble. At the very top of what I gave you you need to insert
\makeatletter. (Actualy, you just need to wrap all of the text I have
you by putting at the very beginning \makeatletter and at the end
\makeatother. I wrapped each newcommand in these commands, instead of
all three. It shouldn't matter either way.)

The \makeatletter and \makeatother commands somehow allow you to use
code that you normally couldn't use. 

Regarding the second error, are you sure that you export the latex
file to the same place as the LyX file? Specifically, you should have
a directory called "Images" and inside that directory should be a file
called "ZnSMn decay.jpg" One problem may be that you have a file with
a space in it. File names with spaces in them always give all sorts of
problems on *nix systems.

Let me know. I'll be around today, but then not back until Tuesday.
Sorry about your frustration. Some of these problems should not be
hard to solve as they are. 

Paul

Reply via email to