论文要给老师修改,他那没有lyx.我导出成plainlatex给他,他编译出错.我估计应该是导出的文件头部有啥问题,有经验的告诉我应该改什么.下面是导出文件的头部
%% LyX 2.0.0 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
% !Mode:: "TeX:UTF-8"
\documentclass[UTF8]{ctexart}
\usepackage{lmodern}
\renewcommand{\sfdefault}{lmss}
\renewcommand{\ttdefault}{lmtt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{esint}
\usepackage[authoryear]{natbib}
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\usepackage{breakurl}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}
\theoremstyle{plain}
\newtheorem{cor}{\protect\corollaryname}
\theoremstyle{remark}
\newtheorem{rem}{\protect\remarkname}
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
\setlength{\leftmargin}{\labelwidth}
\addtolength{\leftmargin}{\labelsep}
\renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}
\theoremstyle{plain}
\newtheorem{lem}{\protect\lemmaname}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\newcommand{\E}{\mbox{E}}
\newcommand{\Var}{\mbox{Var}}
\newcommand{\Cov}{\mbox{Cov}}
\newcommand{\diag}{\mbox{diag}}
\newcommand{\tr}{\mbox{tr}}
\newcommand{\bo}{\mbox{\boldmath$o$}}
\newcommand{\bO}{\mbox{\boldmath$O$}}
\newcommand{\btheta}{\mbox{\boldmath$\theta$}}
\newcommand{\bZ}{\mbox{\boldmath$Z$}}
\newcommand{\bW}{{\mbox{\boldmath$W$}}}
\makeatother
\addto\captionsenglish{\renewcommand{\lemmaname}{引理}}
\addto\captionsenglish{\renewcommand{\remarkname}{注释}}
\addto\captions{\renewcommand{\lemmaname}{引理}}
\addto\captions{\renewcommand{\remarkname}{注释}}
\providecommand{\lemmaname}{引理}
\providecommand{\remarkname}{注释}
\addto\captionsenglish{\renewcommand{\corollaryname}{推论}}
\addto\captionsenglish{\renewcommand{\theoremname}{定理}}
\addto\captions{\renewcommand{\corollaryname}{推论}}
\addto\captions{\renewcommand{\theoremname}{定理}}
\providecommand{\corollaryname}{推论}
\providecommand{\theoremname}{定理}
\begin{document}