View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000733 | luatex | luatex bug | public | 2011-11-16 00:12 | 2015-03-26 18:21 |
Reporter | oneiros | Assigned To | Hans Hagen | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.70.1 | ||||
Summary | 0000733: \scantokens behaves differently than in pdfetex | ||||
Description | The implementation of \scantokens seems to be broken; the attached file works perfectly with pdfTeX 1.40.12, but fails with luatex 0.70.1-2011061410 (rev 4277) | ||||
Steps To Reproduce | > etex --ini --etex t.tex This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (INITEX) restricted \write18 enabled. entering extended mode (./t.tex macro:->a b ) No pages of output. Transcript written on t.log. > luatex --ini --etex t.tex This is LuaTeX, Version beta-0.70.1-2011061410 (rev 4277) (INITEX) restricted \write18 enabled. (./t.tex Runaway definition? ->a ! File ended while scanning definition of \x. <inserted text> } l.9 \edef\x{\scantokens{a b\noexpand} } ? x No pages of output. Transcript written on t.log. | ||||
Additional Information | This is discussed on the lualatex-dev list: http://tug.org/pipermail/lualatex-dev/2011-November/001376.html | ||||
Tags | No tags attached. | ||||
|
|
|
These things depends on the macro package and how it defines \obeylines. It also depends on how \everyeof is defined etc. And when you end up with $<nothing>$ the regular message is displayed. \newtoks\mytoks \begingroup \catcode 13 13 \xdef {!}% \global\mytoks{ }% \xdef\xx{\the\mytoks}[\xx]% \everymath{}% \everyeof{?}% \tracingall% ($<\scantokens\expandafter{\expandafter$\the\mytoks$}>$)% ($<\scantextokens\expandafter{\expandafter$\the\mytoks$}>$)% \endgroup% |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-16 00:12 | oneiros | New Issue | |
2011-11-16 00:12 | oneiros | File Added: t.tex | |
2015-03-25 17:17 | Hans Hagen | Note Added: 0001349 | |
2015-03-26 18:21 | Hans Hagen | Status | new => closed |
2015-03-26 18:21 | Hans Hagen | Assigned To | => Hans Hagen |
2015-03-26 18:21 | Hans Hagen | Resolution | open => fixed |