On Sun, 14 May 2000 21:46:18 +0000, Herbert Voss said:

Thanks. I got the first and last things to work, but hacking the class
for report when it came to the numbers of images... Nopes. :) Really
irritating. Anyhow, here's the original code as it came from my Debian
package:

\newcounter{figure}[chapter]
\renewcommand \thefigure
        {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}

so, I commented this out, and added 

\newcounter{fig}
\renewcommand\thefigure{\refstepcounter{fig}\arabic{fig}}

(Please note that I didn't have a \setcounter{figure}[chapter] in my
class-file.)
Basically, when I run LyX and then do a preview in DVI-mode, I get a lot
of errors. Basically, if all the {fig} are changed to {figure}, then I
get 5 errors:

Missing \endcsname inserted.
\caption
{(my imagetexts come here)}
The control sequence marked <to be read again> shound not appera between
csname and \endcsname.

I'm attaching a copy of my report.cls - maybe it could clear things up.
:)

TIA,
--- 
::[ martin h�gman ]::[ [EMAIL PROTECTED] ]::

report.cls

Reply via email to