在我的书籍项目中,我有 10 个章节和 300 多张图像,并且全部都是彩色(CMYK
)图像,如果我单独运行每个章节,一切都会正常工作,但如果我通过主文件运行所有章节,就会产生错误:
\__morewrites_tex_immediate:w \__morewrites_tex_write:w \g__morewrites_iow \ETC
.
! TeX capacity exceeded, sorry [main memory size=3000000].
\g__morewrites_iow_19_tl ...__morewrites_iow \ETC.
我需要使用LaTeX-dvips-PS2PDF
或XeLaTeX
我正在使用MikTeX2.9
系统Windows10
,有什么方法可以增加内存吗?请指教。
MWE
是
\RequirePackage{scrlfile}
\PreventPackageFromLoading{amssymb}
\documentclass[%
fontsize=10pt,
twoside=true,
open=any,
chapterentrydots=true,
numbers=noenddot
]{kaobook}
\addbibresource{bibliography.bib} % Bibliography
%\usepackage{showframe}
\def\ShowFrameLinethickness{0.125pt}
\begin{document}
\include{Ch01}
\include{Ch02}
...
\include{Ch10}
\end{document}