> 
> Hi Charles,
> 
> First, I realize I spoke too soon when I said the fix would be easy. I
> have just done some experimentation and it seems that the command
> \thispagestyle does not work with the \tableofcontents \listoflists
> and \listoffigures environments. That is because you have to issue
> these commands *after* you issue the \chapter command, but the chapter
> command is issued internally in the tableofcontents etc commands. So
> we have to redefine these commands in the preamble like this:
> 
> \renewcommand\tableofcontents{%
>     [EMAIL PROTECTED]
>       [EMAIL PROTECTED]
>     \else
>       [EMAIL PROTECTED]
>     \fi
>     \chapter*{\contentsname
>     \thispagestyle{empty}
>         [EMAIL PROTECTED]
>            \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
>     [EMAIL PROTECTED]
>     [EMAIL PROTECTED]
>     }
>     \makeatother
>     \makeatletter
> 
> \renewcommand\listoftables{%
>     [EMAIL PROTECTED]
>       [EMAIL PROTECTED]
>     \else
>       [EMAIL PROTECTED]
>     \fi
>     \chapter*{\listtablename}%
>     \thispagestyle{empty}
>       [EMAIL PROTECTED]
>           \MakeUppercase\listtablename}%
>          {\MakeUppercase\listtablename}%
>     [EMAIL PROTECTED]
>     [EMAIL PROTECTED]
>     }
>     \makeatother
> 
> \makeatletter
> \renewcommand\listoffigures{%
>     [EMAIL PROTECTED]
>       [EMAIL PROTECTED]
>     \else
>       [EMAIL PROTECTED]
>     \fi
>     \chapter*{\listfigurename}%
>       [EMAIL PROTECTED]
>               {\MakeUppercase\listfigurename}%
>     [EMAIL PROTECTED]
>     [EMAIL PROTECTED]
>     }
>     \makeatother
> 
> Now get rid of the \thispagestyle commands you already issued. 
> 
> It is strange that you are getting an error message when you try to
> run latex on your document. Could you paste the error for me? We want
> to fix this so we can get latex to run 3 times and see if we can fix
> your other problem.
> 




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

Reply via email to