View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000822 | luatex | luatex bug | public | 2013-04-08 15:53 | 2015-10-06 15:25 |
Reporter | Taco | Assigned To | Hans Hagen | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0000822: 'command' vs 'cmd' confusion in whatsit colorstack node fields | ||||
Description | From Patrick: (this time it's the flollowing code: --------- \catcode`\{=1 \catcode`\}=2 \directlua{ for k,v in pairs(node.fields(8,39)) do print(k,v) end % prints '5 cmd' c = node.new(8,39) c.cmd = 1 } \end --------- which yields ! LuaTeX error [string "\directlua "]:1: You cannot set field cmd in a node of type whatsit | ||||
Additional Information | The problem is with node.setfield(), which expects 'command' here, instead of 'cmd'. 'cmd' is in the manual, so that is what it should be changed to. | ||||
Tags | No tags attached. | ||||
|
"c.cmd" doesn't work anymore (it returns nil, "c.command" should be used instead for getting the value too), even though node.fields still lists it. So it's more than just the manual. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-08 15:53 | Taco | New Issue | |
2013-06-04 17:43 | Paul Isambert | Note Added: 0001093 | |
2015-10-06 15:25 | Hans Hagen | Status | new => closed |
2015-10-06 15:25 | Hans Hagen | Assigned To | => Hans Hagen |
2015-10-06 15:25 | Hans Hagen | Resolution | open => fixed |