[Dev-luatex] tex.sprint, -- and \par: Crash
Jonathan Sauer
Jonathan.Sauer at silverstroke.com
Tue May 6 10:01:29 CEST 2008
Hello,
%&luatex
\pdfoutput=1
\directlua0{\unexpanded{
tex.sprint('--') % A
% tex.sprint('-- ') % B
tex.sprint('\\par')
}}
\end
This results in (I'm using the svn trunk as of friday afternoon):
This is LuaTeX, Version snapshot-0.25.3-2008050416 (Web2C 7.5.6)
(DashCrash.tex../../../../src/texk/web2c/luatexdir/font/luafont.c:1691:
failed assertion `cur != null'
TeX returned non zero exit status
Using (B) instead of (A) works.
If line (A) is commented, everything works.
So it seems that there is a problem with a dash followed by a \par
when output using tex.sprint.
Jonathan
More information about the dev-luatex
mailing list