miktex: Forest-Tex-Kapazität überschritten

miktex: Forest-Tex-Kapazität überschritten

Dies ist eine Folgefrage zuWaldtex-Kapazität überschritten [Speichergröße=50000]darauf gibt es zwei Antworten. Beide lösen das OP-Problem mit dem Vorschlag, die OP- latexVerteilung auf zu aktualisieren texlive 2018.

ich teste dieses (vergrößerte) Gesamtstrukturbeispiel mit der aktuellen Version miktex(gestern aktualisiert) und erhalte einen ähnlichen Fehler:

! TeX capacity exceeded, sorry [save size=50000].
\pgf@process #1->{
                  #1\global \pgf@x =\pgf@x \global \pgf@y =\pgf@y }
l.982 \end{forest}

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:
 85529 strings out of 494300
 244514,1373583 words of node,token memory allocated 204422 words of node memory still in use:
   4591 hlist, 2 rule, 517 disc, 2 dir, 5492 glue, 668 kern, 6951 glyph, 11477 a
ttribute, 52 glue_spec, 11477 attribute_list, 1 temp, 27 if_stack, 1 write, 6882
 pdf_literal, 2 pdf_colorstack nodes
   avail lists: 1:9,2:79,3:18,4:1,5:12,6:6,7:17,8:1,9:8,10:1,12:1
 89047 multiletter control sequences out of 65536+200000
 26 fonts using 5681863 bytes
 184i,9n,190p,1590b,50000s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!

wie kann man davon überzeugt werden, miktexdies zu kompilierenWaldtex-Kapazität überschritten [Speichergröße=80000]Dokument ohne Fehler?

Aus .logder Datei kopiere ich Folgendes in den Lua-bezogenen Teil:

This is LuaTeX, Version 1.09.2 (MiKTeX 2.9.6960 64-bit)  (format=lualatex 2019.2.26)  26 FEB 2019 14:07
 restricted system commands enabled.
**showframe-color.tex
(C:/Users/Zarko/Downloads/LaTeX-SE/SE-tests/showframe-color.tex
LaTeX2e <2018-12-01>
Lua module: luaotfload-main 2019-01-28 2.95 luaotfload entry point
Lua module: luaotfload-init 2019-01-28 2.95 luaotfload submodule / initializatio
n
Lua module: lualibs 2019-01-28 2.63 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2019-01-28 2.63 ConTeXt Lua libraries -- extended c
ollection.
Lua module: luaotfload-log 2019-01-28 2.95 luaotfload submodule / logging
Lua module: luaotfload-parsers 2019-01-28 2.95 luaotfload submodule / filelist
Lua module: luaotfload-configuration 2019-01-28 2.95 luaotfload submodule / conf
ig file reader
luaotfload | conf : Root cache directory is C:/Users/Zarko/AppData/Local/MiKTeX/
2.9/luatex-cache/generic/names.
luaotfload | init : Loading fontloader “fontloader-2019-01-28.lua” from kpse
-resolved path “C:/Users/Zarko/AppData/Local/Programs/MiKTeX 2.9/tex/luatex/lu
aotfload/fontloader-2019-01-28.lua”.
Lua-only attribute luaotfload@state = 1
Lua-only attribute luaotfload@noligature = 2
Lua-only attribute luaotfload@syllabe = 3
luaotfload | init : Context OpenType loader version “3.107”
Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
Lua module: luaotfload-loaders 2019-01-28 2.95 luaotfload submodule / callback h
andling
Inserting `luaotfload.define_font' at position 1 in `define_font'.
Lua module: luaotfload-database 2019-01-28 2.95 luaotfload submodule / database
Lua module: luaotfload-colors 2019-01-28 2.95 luaotfload submodule / color
Lua-only attribute luaotfload_color_attribute = 4
Lua module: luaotfload-resolvers 2019-01-28 2.95 luaotfload submodule / resolver
s
luaotfload | conf : Root cache directory is C:/Users/Zarko/AppData/Local/MiKTeX/
2.9/luatex-cache/generic/names.
Lua module: luaotfload-features 2019-01-28 2.95 luaotfload submodule / features
Lua module: luaotfload-letterspace 2019-01-28 2.95 luaotfload submodule / color
Lua module: luaotfload-auxiliary 2019-01-28 2.95 luaotfload submodule / auxiliar
y functions
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_
font'.
Inserting `luaotfload.aux.patch_cambria_domh' at position 2 in `luaotfload.patch
_font'.
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in `luaotfload.patch_fon
t_unsafe'.
Inserting `luaotfload.aux.set_capheight' at position 3 in `luaotfload.patch_font
'.
Inserting `luaotfload.rewrite_fontname' at position 4 in `luaotfload.patch_font'
.
luaotfload | main : initialization completed in 1.477 seconds

Antwort1

Es ist möglich, die Werte in MiKTeX zu erhöhen

Für PdfLaTeX können Sie Ihre Laufzeitkompilierungswerte ändern, indem Sie beispielsweise die zusätzliche Option in Ihrem Editor hinzufügen pdfLaTeX -save-size=80000 andere Optionen wie -shell-escape oder -synctex= …

Allerdings konnte ich die gleiche temporäre Einstellung nicht in der LuaLaTeX-Befehlszeile meines Editors verwenden

Ich musste zu meinem Konfigurationsordner navigieren und es wird für jeden Benutzer anders
seinNICHT der intexmfs\install\miktex\config
Ich verwende eine portable Installation, also für mich
es befindet sich unter texmfs\config\miktex\configBeachten Sie, dass auf Ihrem System mehrere Dateien mit dem gleichen Namen wie LuaLaTeX.ini verteilt sind.

Es sollte sich im Ordner mit etwa einem Dutzend Dateien befinden

console.ini formate.ini sprachen.ini ... ... yap.ini

Wenn Sie keine Datei mit dem Namen lualatex.ini haben, fügen Sie sie hinzu (wenn sie viel Inhalt hat, ist sie möglicherweise die falsche, überprüfen Sie sie daher anhand der angrenzenden Dateien).

Wenn Sie mit der korrekten Position zufrieden sind, fügen Sie diese Zeile hinzu. save_size=1000000 Die Kompilierung sollte nun funktionieren. Bei mir hat es funktioniert.

PS: Bitte haben Sie Geduld, es kommt während der Kompilierung zu einigen Minuten Pause aufgrund der Datenmenge.

verwandte Informationen