再次:!TeX 容量超出,抱歉 [保存大小=500000](LuaLaTeX、MikTeX)

再次:!TeX 容量超出,抱歉 [保存大小=500000](LuaLaTeX、MikTeX)

编译我的 PhD 文件(使用:LuaLaTeX、MikTeX 2.9)时收到以下错误消息:

! TeX capacity exceeded, sorry [save size=500000].
<to be read again> 
\relax 
l.90    \include{M02Part02}
                       
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.



Here is how much of LuaTeX's memory you used:
 44238 strings out of 479059
 125007,2373549 words of node,token memory allocated 3836 words of node memory still in use:
   14 hlist, 3 vlist, 4 rule, 31 disc, 2 local_par, 3 dir, 56 glue, 5 kern, 5 pe
nalty, 4 margin_kern, 277 glyph, 139 attribute, 97 glue_spec, 22 attribute_list,
 1 temp, 7 if_stack, 1 write nodes
   avail lists: 1:7,2:3461,3:167,4:63,5:660,6:73,7:11166,8:2,9:753,10:32,11:1490
,12:1
 62526 multiletter control sequences out of 65536+200000
 83 fonts using 27566143 bytes
 94i,19n,112p,10600b,499999s stack positions out of 5000i,500n,10000p,200000b,500000s
!  ==> Fatal error occurred, no output PDF file produced!

给你一个 MWE 是完全不可能的(甚至可能没有必要),因为我正在include用命令编译十几个文件。出现错误是因为我正在使用该reledpar包创建一个翻译(左边是拉丁文,右边是德文),其中包括一些index命令和脚注。我想知道为什么 TeX 已经超载了,因为我只想有两三页作为测试的输出。但是,正如我在其他一些帖子中读到的那样,整个文档的大小通常不会导致错误。通常,解决方案只是:“使用 LuaLaTeX!”,我已经在做了!

所以...这也不是扩大 tex 内存的问题也不是这个编译器错误“超出保存大小”甚至也不是尽管系统调用了 LuaLaTeX,但 TeX 容量仍然超出范围对我来说确实有效。增加内存或保存大小没有任何后果。我已经在 TeXstudio 中包含了 shell-escape,直到最近使用该reledpar软件包之前,我都没有遇到任何问题。

请帮忙!

更新 我一步步精简文件。reledpar我认为软件包没有错误,因为一切都运行正常,直到我包含了用 创建的(大型)参考书目biblatex。我猜想这可能会使 TeX 超载,因为我添加了很多样式调整。也许可以找到评论中提到的这个编码错误。

更新 2 我设法以正常方式编译我的文件,只需将 .tex 文件放在新文件夹中,打开它并进行编译。

更新 3 - MWE 我创建了一个 MWE,以便查看您是否遇到相同的错误。昨天它运行得相当正常。但从今天早上开始,我猜问题出在行号上:每次编译都成功一次,生成的 PDF 中的行号不正确,但索引和参考书目创建正确(在日志中:请重新运行 LaTeX)。在第二次运行期间,我收到“保存大小”警告。我希望 MWE 可以正常工作。我没有重现我正在创建的文档的结构,其中包含前言、正文和后记,但我包含了我认为对问题(及其解决方案,也许??)很重要的所有选项。我排除了biblatex肯定不会导致错误的选项,以便更好地概览。

\documentclass[paper=a4, twoside=true, usegeometry, fontsize=12pt, parskip=false, 
captions=signature, 
headings=small, headings=optiontoheadandtoc, chapterprefix=true, appendixprefix=true,
numbers=noendperiod, BCOR=0.5mm, DIV=calc, headinclude=true, footinclude=true, pagesize=auto, 
headsepline=0.25pt, footsepline=false, footbotline=0.25pt, plainfootbotline=true, titlepage=true, 
toc=listof, toc=index, toc=bibliography, toc=graduated, listof=chapterentry, nonumberline, 
chapterentrydots=true, sectionentrydos=true, cleardoublepage=empty, open=right]{scrbook}

% Schrift
\usepackage{microtype} % Verbesserung des Satzspiegels und des Satzes
\usepackage{unicode-math} % lädt auch fontspec mit (Voß Wiss. Arb. S. 30)
\usepackage[utf8]{inputenc} % direkt ä, ö etc. von der Tastatur eingeben

\usepackage{lipsum}
% Sprache
\usepackage[french, italian, english, ngerman]{babel} % ngerman als Hauptsprache
\usepackage[autostyle=true, french=guillemets, english=american, german=quotes]{csquotes}

%Index
\usepackage[splitindex,xindy]{imakeidx}
% reledpar/reledmac

\usepackage[nocritical, noeledsec, noend, noledgroup, series={A}]{reledmac}
\usepackage[advancedshiftedpstarts, nomaxlines]{reledpar}
\renewcommand*{\ledlsnotefontsetup}{\raggedleft\tiny}% left
\renewcommand*{\ledrsnotefontsetup}{\raggedright\tiny}% right
\newcommand{\memorybreak}{\pausenumbering\resumenumbering}

\begin{document}
\chapter{some chapter}
\begin{pages}
\begin{Leftside}\beginnumbering\numberpstarttrue
\pstart[\section{Steph. Doletus Gulielmo Scaevae, s.}]
\ledouternote{Gryph. 3} Vberrimum ad te scribendi argumentum dum undiquaque colligo, \& diutius, quam sperabas, sileo, tuam forte de meo in te amore atque singulari beneuolentia opinionem mirum in modum fallo, neque tardi aut parum diligentis nomen non subeo: sed si qua istiusmodi suspicionem tibi mea tam longa taciturnitate\index{some index} commoui, diligentiam adhibebo, illam ut quam primum\footnoteA{some footnote} deleam.
\pend\endnumbering
\end{Leftside}
\begin{Rightside}\beginnumbering
\numberlinefalse % keine Nummerierung in der Übersetzung
\pstart
some translation
\pend\endnumbering
\end{Rightside}
\end{pages}
\Pages
\printindex
\end{document}

相关内容