代码之家  ›  专栏  ›  技术社区  ›  Tim unnamed eng

乳胶底胶包装

  •  3
  • Tim unnamed eng  · 技术社区  · 15 年前

    当我在乳胶中使用subfig包时,它会给出一些错误:

    Package subfig Warning: Your document class has a bad definition  
     of \endfigure, most likely  
     \let\endfigure=\end@float  
     which has now been changed to  
     \def\endfigure{\end@float}  
     because otherwise subsequent changes to \end@float  
     (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=\end@float  
     which has now been changed to  
     \def\endtable{\end@float}  
     because otherwise subsequent changes to \end@float  
     (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}{\caption@setlistofformat{#1}}
    

    我该怎么解决?

    谢谢和问候!

    1 回复  |  直到 15 年前
        1
  •  2
  •   Rob Hyndman    15 年前

    这看起来像是subfig和旧版本的字幕包之间的冲突。尝试将标题包更新为更新的内容。一般来说,保持所有包都更新到其最新版本是一个好主意。