<div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 21, 2023 at 10:40 AM luigi scarso <<a href="mailto:luigi.scarso@gmail.com">luigi.scarso@gmail.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>I think we should  start from</div><div><a href="https://tex.stackexchange.com/questions/324559/guidelines-for-using-mylatexformat-with-luatex" target="_blank">https://tex.stackexchange.com/questions/324559/guidelines-for-using-mylatexformat-with-luatex</a></div></div></div></blockquote><div>True! The goal behind my question was a bit more ambitious: Do dump (serialise) the whole state of the luatex engine into a restartable glob. Or even better, to have a tex-server that never leaves memory. This way I can do my type-recompile loop without interrupting by flow.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>(precompiled format it's a bit misleading --  a format it's already a  set of compiled macros. I prefer custom format, as the link says)</div></div></div></blockquote><div>It does not have to be a custom format in a strict TeX-sense, in that it is saved somewhere permanently. I usually work on only one document at a time, so I'm totally happy with one lengthy setup and then fast iterations.</div></div></div>