Problems with LuaTeX 1.08 even on a very simple document
Problems with LuaTeX 1.08 even on a very simple document
I just installed luatex 1.08
released yesterday (the installation is a manual process and replaces the original luatex v1.07 that ships with Texlive 2018) on my on GNU/Linux x86_64 machine and re-generated all formats using fmtutil-sys
.
luatex 1.08
fmtutil-sys
However, this new binary is not able to compile even a simple document such as:
documentclassarticle
begindocument
hello world!
enddocument
The contents of the log file is shown below:
This is LuaTeX, Version 1.08.0 (TeX Live 2019/dev) (format=lualatex 2018.9.1) 1 SEP 2018 13:29
restricted system commands enabled.
**main.tex
(./main.tex
LaTeX2e <2018-04-01> patch level 5
Lua module: luaotfload-main 2017/01/29 2.80001 OpenType layout system.
Lua module: lualibs 2017-02-01 2.5 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2017-02-01 2.5 ConTeXt Lua libraries -- extended co
llection.(using write cache: /home/kg314/.texlive2018/texmf-var/luatex-cache/gen
eric)(using read cache: /usr/local/texlive/2018/texmf-var/luatex-cache/generic /
home/kg314/.texlive2018/texmf-var/luatex-cache/generic)
luaotfload | conf : Root cache directory is /home/kg314/.texlive2018/texmf-var/l
uatex-cache/generic/names.
luaotfload | init : Loading fontloader “fontloader-2017-02-11.lua” from kpse
-resolved path “/usr/local/texlive/2018/texmf-dist/tex/luatex/luaotfload/fontl
oader-2017-02-11.lua”....xmf-dist/tex/luatex/luaotfload/fontloader-2017-02-11.
lua:217: table index is nil
stack traceback:
...xmf-dist/tex/luatex/luaotfload/fontloader-2017-02-11.lua:217: in main chunk
[C]: in function 'require'
...018/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:579: in upvalue 'in
it_main'
...018/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:768: in function 'l
uaotfload-init.lua.main'
...018/texmf-dist/tex/luatex/luaotfload/luaotfload-main.lua:274: in field 'main
'
[directlua]:1: in main chunk.
<everyjob> ...ring \defstring \encodingdefaultOT1')end }
let f@encoding encoding...
l.1
%! TEX program = lualatex
? x
Here is how much of LuaTeX's memory you used:
7 strings out of 494329
100000,89155 words of node,token memory allocated 241 words of node memory still in use:
1 dir, 34 glue_spec nodes
avail lists: 2:12,3:1,4:1
4328 multiletter control sequences out of 65536+600000
14 fonts using 591799 bytes
5i,0n,1p,37b,15s stack positions out of 5000i,500n,10000p,200000b,100000s
warning (pdf backend): no pages of output.
PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 100000000)
What is going wrong here?
1 Answer
1
The fontloader provided by the luaotfload
package (loaded by default in LuaLaTeX) is not compatible with current LuaTeX versions. A newer fontloader fixing this problem can be found at this GitHub repo in the dev-2.9
branch.
luaotfload
dev-2.9
Just download this project and add the texmf
directory to your TEXMFHOME
, then LuaLaTeX works again.
texmf
TEXMFHOME
A step by step guide for Linux:
luaotfload
/home/kg314
git clone -b dev-2.9 --depth=1 https://github.com/u-fischer/luaotfload
texmf.cnf
/usr/local/texlive/2018/texmf.cnf
TEXMFHOME = /home/kg314/luaotfload/texmf/:
As a side note, I tested this on a 250 page thesis document, everything seems to work fine with about 30% speedup! This is great!
– Krishna
Sep 1 at 13:11
You don"t have to modify the system-wide
texmf.cnf
, see Is there a way to create Tex Live or LaTeX virtual environment?.– Henri Menke
Sep 2 at 8:02
texmf.cnf
The answer is no longer valid: the files have been removed from the lua-font-pond. The new files are now in the development branch in github.com/u-fischer/luaotfload/tree/dev-2.9.
– Ulrike Fischer
Sep 20 at 21:03
@UlrikeFischer I changed the answer to point to the new repo.
– Marcel Krüger
Sep 20 at 21:14
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Yes. This works! Is this issue documented anywhere?
– Krishna
Sep 1 at 12:56