我在 Overleaf 上有一个很长的 tex 文件,刚开始的时候,不知怎么的,编译失败了。我把它简化成了一个最小的工作示例
\documentclass{article}
%%%%%%%%%%%%%%%%%% Pre-Load Packages Order %%%%%%%%%%%%%%%%%%%
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage[mode=buildnew,subpreambles=true,group=false]{standalone} % For side loaded Tikz Figures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{TBD}
\author{Me!}
\begin{document}
\maketitle
blah blah blah
\end{document}
我收到以下错误:
Extra }, or forgotten \endgroup.
l.555 }
%
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
但是,如果我删除选项“subpreambles=true”,错误就会消失。这是为什么呢?