Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xkwxdyy opened this issue Jun 20, 2022 · 1 comment
Open

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

xkwxdyy opened this issue Jun 20, 2022 · 1 comment

Comments

@xkwxdyy
Copy link
Owner

xkwxdyy commented Jun 20, 2022

d453e15

\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
Copy link
Owner Author

xkwxdyy commented Jun 20, 2022

很奇怪,把离 \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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant