2010-04-08 160 views
3

當我使用乳膠subfig包,它提供了一些錯誤:subfig包乳膠

Package subfig Warning: Your document class has a bad definition 
of \endfigure, most likely 
\let\endfigure=\[email protected] 
which has now been changed to 
\def\endfigure{\[email protected]} 
because otherwise subsequent changes to \[email protected] 
(like done by several packages changing float behaviour) 
can't take effect on \endfigure. 
Please complain to your document class author. 


Package subfig Warning: Your document class has a bad definition 
of \endtable, most likely 
\let\endtable=\[email protected] 
which has now been changed to 
\def\endtable{\[email protected]} 
because otherwise subsequent changes to \[email protected] 
(like done by several packages changing float behaviour) 
can't take effect on \endtable. 
Please complain to your document class author. 

(/usr/share/texmf/tex/latex/caption/caption.sty 
     `rotating' package detected 
     `float' package detected 
) 

LaTeX Warning: You have requested, on input line 139, version 
       `2005/06/26' of package caption, 
       but only version 
       `1995/04/05 v1.4b caption package (AS)' 
       is available. 

! Undefined control sequence. 
l.163 \DeclareCaptionOption 
          {listofformat}{\[email protected]{#1}} 

我怎樣才能解決呢?

感謝和問候!

+0

當報告膠乳問題時,錯誤日誌通常不是必需的。請提供您正在使用的代碼,以及與該問題無關的包註釋。 – Mica 2010-04-08 16:16:16

回答

2

它看起來像是subfig和caption包的舊版本之間的衝突。嘗試將您的標題包更新爲更新的內容。通常,將所有軟件包更新爲最新版本是個不錯的主意。