! 缺少插入 \endcsname。\放松

! 缺少插入 \endcsname。\放松

我已经在 LaTex Texshop 上写论文一段时间了,今天早上我又看到了这些错误消息。我认为这与 hyperref 有关,因为当我禁用此包时,文档解析得很好,但我没有 hyper ref 功能……救命。

! Missing \endcsname inserted.
<to be read again> 
                   \relax 
l.131 \begin{document}

? 
! Missing \endcsname inserted.
<to be read again> 
                   \relax 
l.131 \begin{document}

? 
! Extra \endcsname.
\check@bm@number ...0\else \csname B_#1\endcsname 
                                                  \fi 
l.131 \begin{document}

? 
! Missing \endcsname inserted.
<to be read again> 
                   \relax 
l.131 \begin{document}

? 
(./TEO-2013_Fall-Dissertation-jdm.out)
! Argument of \@@BOOKMARK has an extra }.
<inserted text> 
                \par 
l.131 \begin{document}

? 
Runaway argument?
! Paragraph ended before \@@BOOKMARK was complete.
<to be read again> 
                   \par 
l.131 \begin{document}

? 
! Extra \fi.
\@begindocumenthook ...apper {\ReadBookmarks }\fi 
                                                  \Hy@pdfstringtrue \PDF@Set...
l.131 \begin{document}

我正在使用包含多个章节的论文模板。这是我的文件的基本内容。

\documentclass[11pt]{report}        
\usepackage{covington}
\usepackage[margin=1.25in]{geometry} 
\geometry{letterpaper}                  
\usepackage{lscape}
\usepackage{graphicx}
\usepackage{mdwlist}
\usepackage[table]{xcolor}
\usepackage{phonrule}
\usepackage{qtree}
\usepackage{tipa}
\usepackage{metre}
\usepackage{tone}
\usepackage{hyperref}
\usepackage{movie15}
\usepackage{natbib}
\usepackage{longtable}
\usepackage{multicol}
\usepackage{utdiss2-05}         
\usepackage{graphicx}
\usepackage{vowel}
\usepackage{amssymb}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{titlesec}
\setcounter{secnumdepth}{3}
\usepackage{qtree}
\usepackage{amsmath,amsthm,amsfonts,amscd} 
\usepackage{verbatim}       % Allows quoting source with commands.
\usepackage{makeidx}        % Package to make an index.
\usepackage{enumerate}
\usepackage{url}        % Allows good typesetting of web URLs.
\usepackage{draftcopy}      % Uncomment this line to have 
\newcommand{\latexe}{{\LaTeX\kern.125em2%
                      \lower.5ex\hbox{$\varepsilon$}}}
\newcommand{\amslatex}{\AmS-\LaTeX{}}
\chardef\bslash=`\\ % \bslash makes a backslash (in tt fonts)
\newcommand{\cn}[1]{\texttt{\bslash #1}}
\makeatletter       
\def\square{\RIfM@\bgroup\else$\bgroup\aftergroup$\fi
  \vcenter{\hrule\hbox{\vrule\@height.6em\kern.6em\vrule}%
                                              \hrule}\egroup}
\makeatother
\makeindex    % Make the index
\begin{document}

\copyrightpage       % Produces the copyright page.

\commcertpage       % Produces the Committee Certification
            %   of Approved Version page (doctoral)
            %   or Signature page (masters).
            %       20 Mar 2002 cwm

\titlepage              % Produces the title page.

\begin{dedication}
\index{Dedication@\emph{Dedication}}%

\end{dedication}


\tableofcontents  
\listoftables   
\listoffigures

\include{chapter-1-}

\include{chapter-2-}

\include{chapter-3-} 

\include{chapter-4-}

\include{chapter-5-}

\include{chapter-6-}

\include{chapter-7-}

\include{chapter-8-}

\include{chapter-9-}

\include{chapter-10-}


%\appendices
%index{Appendices@\emph{Appendices}}%

%\include{chapter-appendix1}

%\include{chapter-appendix2}

%\include{chapter-appendix3}


\begin{singlespacing}

%\renewcommand
%\bibname{References}
%\addcontentsline{toc}{section}{References}
%\bibliographystyle{language}  % Here the bibliography           %
%\bibliography{diss}        % is inserted.               %
%\index{References@\emph{References}}%  
\bibliographystyle{language}
\bibliography{jdm1-diss}
\end{singlespacing}


\printindex%    

\begin{vita}
\end{vita}

\end{document}

相关内容