我想将文档的一个部分拆分成两个部分,所以我像往常一样在新部分开始的地方写入 \section{title}。我收到了这条巨大的错误消息(与我和我的文档相关的名称已被编辑):
! \OML/cmm/m/it/12 p[]\U/msb/m/n/12 Z[] \OT1/cmr/m/n/12 : \OML/cmm/m/it/12 f[][]\OT1/cmr/m/n/12 (\OML/cmm/m/it/12 f\OT1/cmr/m/n/12 )
\OMS/cmsy/m/n/12 [][41]Underfull \hbox (badness 10000) in paragraph at lines 1575--1576[][42] ("(...).bbl")
[43]Package atveryend Info: Empty hook 'BeforeClearDocument' on input line 1585.Package atveryend Info: Empty hook 'AfterLastShipout'
on input line 1585.("(...).aux")Package atveryend Info: Executing hook 'AtVeryEndDocument' on input line 1585.Package
atveryend Info: Executing hook 'AtEndAfterFileList' on input line 1585.Package rerunfilecheck Info: File '"(...)".out'
has not changed.(rerunfilecheck) Checksum: D75D04EAB87035039D02780E45EA715F;2097.LaTeX Warning: There were undefined references.Package
atveryend Info: Empty hook `AtVeryVeryEnd' on input line 1585.)Here is how much of TeX's memory you used:21000 strings out of 493323395671
string characters out of 3139054484122 words of memory out of 300000023933 multiletter control sequences out of 15000+20000019068 words of
font info for 76 fonts, out of 3000000 for 90001141 hyphenation exceptions out of 819169i,14n,92p,1257b,968s stack positions out of
5000i,500n,10000p,200000b,50000s<(...)\MiKTeX\2.9\fonts\pk\ljfour\public\bbm\dpi600\bbm8.pk>
<(...)\MiKTeX\2.9\fonts\pk\ljfour\public\bbm\dpi600\bbm12.pk><(...)/MiKTeX 2.9/fonts/
type1/public/amsfonts/cm/cmbx10.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Program Files/MiKTeX 2.9/
fonts/type1/public/amsfonts/cm/cmex10.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><(...)/
MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi12.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi6.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi8.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr12.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr17.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr6.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr8.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy6.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti10.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti12.pfb><(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti8.pfb>
<(...)/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msbm10.pfb>Output written on "(...)" (43 pages,
505706 bytes).PDF statistics:752 PDF objects out of 1000 (max. 8388607)227 named destinations out of 1000 (max. 500000)237 words of extra
memory for PDF output out of 10000 (max. 10000000)
奇怪的是,如果:我在文档的另一个地方执行此操作(我现在就在最后一个小节之前执行此操作),我开始一个 \section*,或者我开始一个 \subsection,则不会发生这种情况。我曾尝试作弊并在另一个地方开始该小节,然后复制文本主体,但之后我得到了相同的错误。我看到错误消息中提到了内存,所以我应该指出文档应该非常轻量:没有图像或图表...
编辑我分别编译了文档的各部分,以下是似乎导致问题的代码。
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{bbm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{tabto}
\TabPositions{2 cm, 4 cm, 6 cm, 8 cm}
\usepackage{tkz-berge}
\usepackage[justification=centering]{caption}
\usepackage{tikz-cd}
\usepackage{tocloft}
\setlength\cftbeforetoctitleskip{5cm}
\setlength\cftaftertoctitleskip{2cm}
\usepackage{appendix}
\usepackage{enumerate}
\usepackage{hyperref}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem*{definition*}{Definition}
\newtheorem*{lemma*}{Lemma}
\newtheorem*{proposition*}{Proposition}
\newtheorem*{theorem*}{Theorem}
\newtheorem*{corollary*}{Corollary}
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
\theoremstyle{remark}
\newtheorem*{notation}{Notation}
\theoremstyle{definition}
\newtheorem{comment}[theorem]{Comment}
\newtheorem{question}[theorem]{Question}
\DeclareMathOperator{\im}{im}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\Ab}{Ab}
\DeclareMathOperator{\Tor}{Tor}
\begin{document}
\section{Section 1}
\subsection{Subsection 1}
\begin{definition}
For $k \geq 0$, define $C^n_b(G, \mathbb{Z}_p)_k := \{ f : G^{n+1} \to p^{-k} \mathbb{Z}_p : f \text{ is continuous and } \im ( \delta f) \subset \mathbb{Z}_p \}.$
Define $C^n_b(G, \mathbb{Z}_p)_\infty := \{ f : G^{n+1} \to \mathbb{Q}_p : f \text{ is continuous and bounded and } \im (\delta f) \subset \mathbb{Z}_p \},$ which is the directed union of the $C^n_b(G, \mathbb{Z}_p)_k$.
\end{definition}
\end{document}
现在,如果我编译它,我会收到相同的错误消息,如果我用 section* 或 subsection 替换 section,该错误消息不会消失。但是,如果我从定义中删除一些小东西,例如,第一个C^n_b(G, \mathbb{Z}_p)_k
或第一个\im
,或第一个\delta
... 出于某种原因,似乎只有当所有内容放在一起时,我才会收到错误,所以我无法找出可能导致问题的一件事......