tex.sprint, -- and \par: Crash
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
Jonathan Sauer wrote:
So it seems that there is a problem with a dash followed by a \par when output using tex.sprint. Too complex; you need only a 6-byte input file for the crash. :-)
Of course: With the right format, you can simply say "\crash".
I just meant that %&luatex --\par crashes just as easily. Best wishes, Taco
Hello,
So it seems that there is a problem with a dash followed by a \par
when output using tex.sprint. Too complex; you need only a 6-byte input file for the crash. :-)
Of course: With the right format, you can simply say "\crash".
I just meant that
%&luatex --\par
crashes just as easily.
I know (since the tracker contains the simpler input file). I just forgot the ;-) Continuing this line of thought, you could add \crash to \everyjob while building the format and then crash with an empty input file ...
Best wishes, Taco
Jonathan
On 5/6/08, Taco Hoekwater
Jonathan Sauer wrote:
So it seems that there is a problem with a dash followed by a \par when output using tex.sprint. Too complex; you need only a 6-byte input file for the crash. :-)
Of course: With the right format, you can simply say "\crash".
I just meant that
%&luatex --\par
crashes just as easily.
Btw: at BachoTeX they seemed to be a bit worried abut the future of "TeX Beauties and Oddities" since you fix the bugs as soon as one discovers them (which wasn't the case with the old TeX). So one cannot even demonstrate the weird behaviour any more as it gets fixed in the meantime, before the presentation starts :) Mojca
"Mojca Miklavec"
On 5/6/08, Taco Hoekwater
wrote: Jonathan Sauer wrote:
So it seems that there is a problem with a dash followed by a \par when output using tex.sprint. Too complex; you need only a 6-byte input file for the crash. :-)
Of course: With the right format, you can simply say "\crash".
I just meant that
%&luatex --\par
crashes just as easily.
Btw: at BachoTeX they seemed to be a bit worried abut the future of "TeX Beauties and Oddities" since you fix the bugs as soon as one discovers them (which wasn't the case with the old TeX).
So one cannot even demonstrate the weird behaviour any more as it gets fixed in the meantime, before the presentation starts :)
Oh, I don't think that there is any danger of that: for one thing, the main focus of this thing is TeX, not LuaTeX. I think that the vast majority of the entries did not even employ eTeX, and certainly not PDFTeX. There will likely come a point of time when LuaTeX deserves a contest of its own, but that would be a different league altogether. -- David Kastrup
Hello,
Btw: at BachoTeX they seemed to be a bit worried abut the future of "TeX Beauties and Oddities" since you fix the bugs as soon as one discovers them (which wasn't the case with the old TeX).
Not all the pearls have been due to bugs in TeX. So I think that even with LuaTeX, there will be enough hacks/tricks to invent.
So one cannot even demonstrate the weird behaviour any more as it gets fixed in the meantime, before the presentation starts :)
Well, you could always tie Taco up (and maybe gag him as well in case he has voice recognition on his computer): No fixes ;-)
Mojca
Jonathan
participants (4)
-
David Kastrup
-
Jonathan Sauer
-
Mojca Miklavec
-
Taco Hoekwater