\@makecaption 的问题

\@makecaption 的问题

我可以在自己的系统上编译 .tex 文件,但是当我将文件夹传输到外部服务器并运行同一个文件时,出现以下错误:

! LaTeX Error: \@makecaption undefined.

随后出现一连串的超链接警告。

这是外部服务器上安装的字幕包的问题吗?我该怎么做才能跟踪此问题?

我的序言是:

% mn2esample.tex
%
% v2.1 released 22nd May 2002 (G. Hutton)
%
% The mnsample.tex file has been amended to highlight
% the proper use of LaTeX2e code with the class file
% and using natbib cross-referencing. These changes
% do not reflect the original paper by A. V. Raveendran.
% 
% Previous versions of this sample document were
% compatible with the LaTeX 2.09 style file mn.sty
% v1.2 released 5th September 1994 (M. Reed)
% v1.1 released 18th July 1994
% v1.0 released 28th January 1994

\documentclass[useAMS,usenatbib]{mn2e}

% If your system does not have the AMS fonts version 2.0 installed, then
% remove the useAMS option.
%
% useAMS allows you to obtain upright Greek characters.
% e.g. \umu, \upi etc.  See the section on "Upright Greek characters" in
% this guide for further information.
%
% If you are using AMS 2.0 fonts, bold math letters/symbols are available
% at a larger range of sizes for NFSS release 1 and 2 (using \boldmath or
% preferably \bmath).
%
% The usenatbib command allows the use of Patrick Daly's natbib.sty for
% cross-referencing.
%
% If you wish to typeset the paper in Times font (if you do not have the
% PostScript Type 1 Computer Modern fonts you will need to do this to get
% smoother fonts in a PDF file) then uncomment the next line
% \usepackage{Times}

%%%%% AUTHORS - PLACE YOUR OWN MACROS HERE %%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{units}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{units}
%\usepackage{deluxetable}
\usepackage[singlelinecheck=false]{caption}
\usepackage{threeparttable}
\usepackage{subfigure}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{ulem}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}

答案1

我删除了\usepackage{caption}序言中的那行,但运行起来没有错误。

相关内容