*Issue resolved. The mistake was an extra \end{document} in the subfile. So for other new users that could be an error giving that error message.
Original post:
I'm new to Latex and would appriciate any help I could get.
I'm attempting to use the subfiles package but am running into some problems. The subfile compiles without errors.
The error is:
"Extra /endgroup
/Subfile@Subfiles...}{\filename@base}\endgroup
1.28\subfile{Sections/04 eksamen}"
I've tried changing the name of the file, but with no success.
I have the following main.tex code:
Code: Select all
\documentclass{article}
\usepackage{subfiles}
\begin{document}
\maketitle
\newpage
\subfile{Sections/04 eksamen}
\end{document}
and the following