I have to process a big number of files with the same preamble. Therefore I try to build a custom format file. The biggest »time eater« is font loading in lualatex, so I try to load the fonts in the format file.
I copied lualatex.ini and modified it slightly, so that it loads my preamble just before dumping:
mylualatex.ini:
% [...]
% the next line is added by me
\input mypreamble.tex
% restore \dump for derived formats (mylatex, etc) that might use it
\let\dump\DUMP
\let\DUMP\undefined
\dump
mypreamble.tex:
\documentclass[11pt]{scrartcl}
\usepackage[libertine={Ligatures=TeX,Numbers=OldStyle}]{libertineotf}
When I try to use the generated format file, I get an segfault:
> luatex \&mylualatex.fmt
This is LuaTeX, Version beta-0.70.1-2011061416 (rev 4277)
restricted \write18 enabled.
[3] 4569 segmentation fault luatex \&mylualatex.fmt
TIA, Marcus
