如何在一个档案中包含多个档案

如何在一个档案中包含多个档案

首先,如果我写错了什么或写得不恰当,我深表歉意,但这是我在这里的第一篇帖子,我没有找到关于如何使用这个论坛的教程。现在,让我们来看看这个问题:我试图在一个档案中包含许多档案,但我可以包含直到档案“2014.02”。以下是我的代码:

\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc} 
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage{graphicx}
\usepackage{bussproofs}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{empheq,amsmath}
\usepackage{MnSymbol}
\everymath{\displaystyle}
\graphicspath{{img/}}
\begin{document}

{\huge \textbf{Test}}
\include{1995.02/1995.02}
\include{1996.01/1996.01}
\include{1996.02/1996.02}
\include{1997.01/1997.01}
\include{1997.02/1997.02}
\include{1998.01/1998.01}
\include{1998.02/1998.02}
\include{1999.01/1999.01}
\include{1999.02/1999.02}
\include{2000.01/2000.01}
\include{2000.02/2000.02}
\include{2001.01/2001.01}
\include{2001.02/2001.02}
\include{2002.01/2002.01}
\include{2002.02/2002.02}
\include{2003.01/2003.01}
\include{2003.02/2003.02}
\include{2004.01/2004.01}
\include{2004.02/2004.02}
\include{2005.01/2005.01}
\include{2005.02/2005.02}
\include{2006.01/2006.01}
\include{2006.02/2006.02}
\include{2007.01/2007.01}
\include{2007.02/2007.02}
\include{2008.01/2008.01}
\include{2008.02/2008.02}
\include{2009.01/2009.01}
\include{2009.02/2009.02}
\include{2010.01/2010.01}
\include{2010.02/2010.02}
\include{2011.01/2011.01}
\include{2011.02/2011.02}
\include{2012.01/2012.01}
\include{2012.02/2012.02}
\include{2013.01/2013.01}
\include{2013.02/2013.02}
\include{2014.01/2014.01}
\include{2014.02/2014.02}
\include{2015.01/2015.01}
\include{2015.02/2015.02}
\include{2016.01/2016.01}
\include{2016.02/2016.02}
\include{2017.01/2017.01}
\include{Observations/Observations}
\end{document}

提前致谢!

编辑:

我发现了我的错误:我在档案“2014.02.tex”的末尾添加了“\end{document}”。这就是生成的 PDF 直到“Observations”才显示档案“2015.01.tex”的原因。

非常感谢那些试图帮助我的人!

相关内容