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:


% [...]
% the next line is added by me
\input mypreamble.tex

% restore \dump for derived formats (mylatex, etc) that might use it



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

  • 1
    I think this has been mentioned on the luatex mailing list before, but lacks an entry on the bug tracker. I doubt that the font information will be stored in the format file. – topskip Mar 3 '12 at 22:06
  • Thanks Patrick, sad to hear. I think I'll go with pdftex, which is fast enough for my purpose. – mhobel Mar 3 '12 at 22:27
  • 1
    @PatrickGundlach: I think your comment is an answer. – Marco Daniel Mar 4 '12 at 13:43
  • @PatrickGundlach: tracker.luatex.org/view.php?id=746 – Reinstate Monica - M. Schröder Mar 4 '12 at 19:59

The issue with luatex crashing has been fixed in LuaTeX SVN. See http://tracker.luatex.org/view.php?id=787

It still won't help with font loading though.


This is a currently known error that has been encountered and reported by Martin Schröder. So you are currently out of luck.

Besides that, I am pretty sure (well 99.9% sure) that your fonts won't be dumped into the format.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.