TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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
@PatrickGundlach: I think your comment is an answer. – Marco Daniel Mar 4 '12 at 13:43
@PatrickGundlach: tracker.luatex.org/view.php?id=746 – Martin 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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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