error message from SWP 5.5

wuzhang's picture

Hi folks,

I encountered this error message again and again, and have no idea of how it came up:

) (c:/swp55/TCITeX/tex/latex/threeparttable/threeparttable.sty)
(c:/swp55/TCITeX/tex/latex/contrib/caption/caption.sty
(c:/swp55/TCITeX/tex/latex/contrib/caption/caption3.sty))
(c:/swp55/TCITeX/tex/latex/contrib/booktabs/booktabs.sty)
! Undefined control sequence.
l.67 \DefineVerbatimEnvironment
{Sinput}{Verbatim}{fontshape=sl}

?

Could some experts help me out?

Thanks!

pviton's picture

I think that the

I think that the \DefineVerbatimEnvironment is set up in the fancyvrb package, which you don't seem to have loaded (yet). If you are loading it, make sure that your command comes after the \usepackage command. If this is difficult -- because SWP moves the \usepackage command a bit --- you can always try \RequirePackage in the preamble, which doesn't get moved.

wuzhang's picture

pviton, You're absolutely

pviton,

You're absolutely right: the problem is fixed. Thank you so much!

Wu