Hello, LuaTeX's \scantokens behave differently than eTeX's, as mentionned in [issue 733 in the bug tracker](http://tracker.luatex.org/view.php?id=733). The issue 733 does not explicitly say what goes wrong, so I though I'd provide a shorter example of the problem: pdftex '\newlinechar10 \scantokens{\show^^JX}Y' shows "the letter X", while using luatex I get "the letter Y". What happens is that LuaTeX's \scantokens only reads the first line of the pseudo file written by \scantokens. Regards, Bruno PS: I tried directly commenting on issue 733 but couldn't find how, please let me know if this mailing list is not the correct place.
On Wed, Aug 12, 2015 at 1:38 AM, Bruno Le Floch
Hello,
LuaTeX's \scantokens behave differently than eTeX's, as mentionned in [issue 733 in the bug tracker](http://tracker.luatex.org/view.php?id=733). The issue 733 does not explicitly say what goes wrong, so I though I'd provide a shorter example of the problem:
pdftex '\newlinechar10 \scantokens{\show^^JX}Y'
shows "the letter X", while using luatex I get "the letter Y". What happens is that LuaTeX's \scantokens only reads the first line of the pseudo file written by \scantokens.
Regards,
Bruno
PS: I tried directly commenting on issue 733 but couldn't find how,
Hm, perhaps because the item is marked as fixed, so it's not possible to add notes anymore.
-- luigi
Hm, perhaps because the item is marked as fixed, so it's not possible to add notes anymore.
Sorry about that. I now see that it was marked as fixed indeed. Do you know how long I should expect until the fixed version of LuaTeX gets into TeXLive? The bug is still present in LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238), with libpng 1.6.17; zlib 1.2.8; poppler version 0.32.0; mplib version 1.999. Regards, Bruno
participants (2)
-
Bruno Le Floch
-
luigi scarso