CCNUthesis icon indicating copy to clipboard operation
CCNUthesis copied to clipboard

本科模版在一些 `input` 后面使用 `\chapter` 会报错

Open xkwxdyy opened this issue 2 years ago • 1 comments

d453e15bc01e213007d8024224d3f58d3a636980 中

\documentclass[type = bachelor]{CCNUthesis}



\begin{document}

\input{./body/chapter1.tex}
% \input{./body/chapter3.tex}
% \input{./body/chapter4.tex}
\chapter{test}

\end{document}

除了 \input{./body/chapter2.tex} 其他均会报错

Something's wrong--perhaps a missing \item.

xkwxdyy avatar Jun 20 '22 03:06 xkwxdyy

很奇怪,把离 \chapter 最近的 \input 改成 \include 就不会报错

\documentclass[type = bachelor]{CCNUthesis}

\usepackage{mathtools}


\begin{document}

\input{./body/chapter1.tex}
\input{./body/chapter3.tex}
\include{./body/chapter4.tex}
\chapter{test}

\end{document}

xkwxdyy avatar Jun 20 '22 04:06 xkwxdyy