View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000023 | luatex | luatex bug | public | 2008-03-17 13:58 | 2008-09-30 11:49 |
Reporter | Taco | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 0.30.0 | Fixed in Version | 0.30.0 | ||
Summary | 0000023: conflict between tex.sprint and \input catcodes | ||||
Description | With the lua code tex.sprint(<catcode table>, "\input x.tex ") the first line of x.tex will also be read using <catcode table>. | ||||
Additional Information | The problem here is that the internal variable that keeps track of "specialness" of the catcode table for lua-created input lines is cleared only at the end of the line, and that condition is not triggered by tex.sprint. A quick and simple solution is not possible because a less obvious problem is that that "specialness" should really be part of the input_stack structure. Otherwise in aa\directlua{tex.sprint(<catcode table>, "\input x.tex ")}bb the catcode table will be reset before 'bb'. | ||||
Tags | No tags attached. | ||||
|
\startluacode io.savedata("crap.tex","$ oeps $\n\\starttyping\n% oeps oeps\n\\stoptyping") \stopluacode \starttext \def\test {\bgroup \setcatcodetable\xmlcatcodes \ctxlua{tex.sprint(tex.ctxcatcodes,"\\input crap.tex ")}% \egroup} \test \stoptext |
|
fixed by #1517 |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-03-17 13:58 | Taco | New Issue | |
2008-03-17 13:58 | Taco | Status | new => assigned |
2008-03-17 13:58 | Taco | Assigned To | => Taco |
2008-03-21 13:55 | Taco | Target Version | 0.25.1 => 0.30.0 |
2008-09-29 12:54 | Hans Hagen | Note Added: 0000065 | |
2008-09-29 15:09 | Taco | Status | assigned => resolved |
2008-09-29 15:09 | Taco | Fixed in Version | => 0.30.0 |
2008-09-29 15:09 | Taco | Resolution | open => fixed |
2008-09-29 15:09 | Taco | Note Added: 0000066 | |
2008-09-30 11:49 | Taco | Status | resolved => closed |