Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

! error: (linebreak): invalid list tail, probably missing glue #388

Closed
u-fischer opened this issue Nov 15, 2016 · 6 comments
Closed

! error: (linebreak): invalid list tail, probably missing glue #388

u-fischer opened this issue Nov 15, 2016 · 6 comments
Assignees
Labels

Comments

@u-fischer
Copy link

u-fischer commented Nov 15, 2016

With the following document

\listfiles
\documentclass{article}
\usepackage{luaotfload}
%\font\test={Cambria:mode=base;script=latn;language=DFLT;}
%\font\test={Calibri:mode=base;script=latn;language=DFLT;}
\font\test={SourceSansPro:mode=base;script=latn;language=DFLT;}
\begin{document}

 \test
   iltintin%iltintin %iltinba %atolkinti

\end{document}

I get the error

! error:  (linebreak): invalid list tail, probably missing glue
!  ==> Fatal error occurred, no output PDF file produced!

I'm using a prerelease luaotfload (fontloader-2016-10-21.lua) together with LuaTeX, Version 1.0.0 (MiKTeX 2.9.6100 NEXT).

With the luatex from texlive (LuaTeX, Version 0.95.0) and the same fontloader there is no problem.

The error is related to mode=base. I don't get it with all fonts but the three in the example all show it. It only appears for some combination of chars but I didn't find a understandable pattern.

I got the error also when using the context minimals fontloader, but couldn't reproduce it with context itself.

Edit

It seems to be important that the problematic font with mode base is active at the end of a paragraph:


\documentclass{article}
\usepackage{luaotfload}

\font\testb={SourceSansPro:mode=node;script=latn;language=DFLT;}
\font\test={SourceSansPro:mode=base;script=latn;language=DFLT;}
\begin{document}

\test
   iltintin%iltintin %iltinba %atolkinti
%\par %uncomment to get the error
\testb b   


\end{document}
@phi-gamma
Copy link
Member

I get some of these too under certain circumstances, even with the new loader.
The new release does not appear to fix it. I’ll look into it.

@phi-gamma phi-gamma self-assigned this Jan 29, 2017
@phi-gamma phi-gamma added the bug label Jan 29, 2017
@phi-gamma
Copy link
Member

phi-gamma commented Feb 3, 2017 via email

@phi-gamma
Copy link
Member

phi-gamma commented Feb 3, 2017 via email

@phi-gamma
Copy link
Member

This particular crash should be fixed by this patch:
phi-gamma@9464944

But there’s at least one similar, equally fatal crash out there
that occurs in node mode.

@u-fischer
Copy link
Author

I installed some days ago luatex version 1.0.4 (from w32tex.org) and with it the error seems to be gone. The code compiles with the default fontloader and a current context fontloader.

@u-fischer
Copy link
Author

Closing as it is resolved in newer version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants