![如果生成图形列表,Overleaf 会超时](https://linux22.com/image/417695/%E5%A6%82%E6%9E%9C%E7%94%9F%E6%88%90%E5%9B%BE%E5%BD%A2%E5%88%97%E8%A1%A8%EF%BC%8COverleaf%20%E4%BC%9A%E8%B6%85%E6%97%B6.png)
如果我使用该命令\listoffigures
并进行编译,Overleaf 就会超时。我尝试注释掉每个图形,看看其中是否有问题,但无论如何它都会超时。这是我在特定子文件中使用它的方式:
\begin{document}
\thispagestyle{empty}
\listoffigures
\listoftables
\newpage
\hspace{10pt}
\newpage
\end{document}
我只能想象问题源于我的序言,但我不知道为什么。这是我的 main.tex,我编译时省略了所有其他子文件。“00_list_of_tables_and_figures”是前面提到的:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[LGR]{fontenc}
\usepackage[greek]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\newcommand{\R}{\mathbb{R}}
\usepackage{changepage}
\usepackage{anyfontsize}
\usepackage[boxruled,linesnumbered]{algorithm2e}
\usepackage{xcolor}
\newcommand\myworries[1]{\textcolor{red}{#1}}
\usepackage[framemethod=TikZ]{mdframed}
\usepackage{textcomp}
\usepackage{array}
\pagestyle{empty}
\usepackage[nottoc]{tocbibind}
\usepackage{indentfirst}
\newenvironment{theo}[2][]{%
\refstepcounter{theo}
\ifstrempty{#1}%
% if condition (without title)
{\mdfsetup{%
frametitle={%
\tikz[baseline=(current bounding box.east),outer sep=0pt]
\node[anchor=east,rectangle,fill=blue!20]
{\strut \textlatin{Theorem}~\thetheo};}
}%
% else condition (with title)
}{\mdfsetup{%
frametitle={%
\tikz[baseline=(current bounding box.east),outer sep=0pt]
\node[anchor=east,rectangle,fill=blue!20]
{\strut \textlatin{Theorem}~\thetheo:~#1};}%
}%
}%
% Both conditions
\mdfsetup{%
innertopmargin=10pt,linecolor=blue!20,%
linewidth=2pt,topline=true,%
frametitleaboveskip=\dimexpr-\ht\strutbox\relax%
}
\begin{mdframed}[]\relax}{%
\end{mdframed}}
% Expectation symbol
\newcommand{\inlineeqnum}{\refstepcounter{equation}~~\mbox{(\theequation)}}
% Expectation symbol
\DeclareMathOperator*{\E}{\mathbb{E}}
\usepackage{subfiles}
\begin{document}
\newpage
\subfile{sections/00_list_of_tables_and_figures}
\end{document}
任何帮助,将不胜感激