miktex: se excedió la capacidad de forest tex

miktex: se excedió la capacidad de forest tex

esta es la pregunta de seguimiento paraSe superó la capacidad de tex forestal [tamaño de guardado=50000]que reciben dos respuestas. Ambos resuelven el problema de operación con la sugerencia de actualizar la latexdistribución de operación a texlive 2018.

Pruebo este ejemplo de bosque (ganado) con uno reciente miktex(actualizado ayer) y recibo un error similar:

! 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!

cómo convencerse miktexpara compilar estoSe superó la capacidad de tex forestal [tamaño de guardado=80000]documento sin error?

Del .logarchivo copio lo siguiente a la parte relacionada con lua:

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

Respuesta1

Es posible aumentar los valores en MiKTeX.

Para PdfLaTeX, puede cambiar los valores de compilación del tiempo de ejecución agregando la opción adicional en su editor, por ejemplo pdfLaTeX -save-size=80000 otras opciones como -shell-escape o -synctex=…

Sin embargo, no pude usar la misma configuración temporal en la línea de comando LuaLaTeX de mi editor.

Tuve que navegar a mi carpeta de configuración y será diferente para cada usuario
.NO el que está entexmfs\instalar\miktex\config
Utilizo instalación portátil, así que para mí
está en texmfs\config\miktex\configTenga cuidado, hay varios archivos con el mismo nombre de LuaLaTeX.ini repartidos por su sistema.

Debería estar en la carpeta con aproximadamente una docena de archivos.

console.ini formatos.ini idiomas.ini ... ... yap.ini

Si no tiene un archivo llamado lualatex.ini, agréguelo (si tiene mucho contenido, puede ser el incorrecto, verifique con los archivos adjuntos)

Si está satisfecho con que sea la ubicación correcta, agregue esta línea save_size=1000000 y la compilación ahora debería funcionar, así fue para mí.

PD: tenga paciencia, se detiene durante un par de minutos durante la compilación debido a la gran cantidad de datos.

información relacionada