View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000649 | luatex | feature request | public | 2011-05-10 15:56 | 2014-03-30 12:02 |
Reporter | Paul Isambert | Assigned To | Hans Hagen | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 0.66.0 | ||||
Summary | 0000649: Use control sequence names in node.has_attribute and others. | ||||
Description | It'd be useful if one could use the name of a control sequence defined with \attributedef in node.has_attribute (as can be done in the tex.attribute table), e.g.: \attributedef\myattr=100 \directlua{ ... node.has_attribute(a_node, "myattr") ... } and similarly with node.set_attribute and node.unset_attribute. (Currently, the string is ignored and the value of attribute 0 is returned.) | ||||
Tags | No tags attached. | ||||
|
that would slow down the (often critical) attr access code ... it's no big deal for a macro package to pass the number that relates to a such names to lua and then use a wrapper around has_attribute that uses that info ... also, we try to avoid too many dependencies like that in the lua-node-access code which is geared for speed |
|
not needed |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-10 15:56 | Paul Isambert | New Issue | |
2011-05-10 19:51 | Taco | Status | new => assigned |
2011-05-10 19:51 | Taco | Assigned To | => Taco |
2014-03-30 12:02 | Hans Hagen | Note Added: 0001268 | |
2014-03-30 12:02 | Hans Hagen | Note Added: 0001269 | |
2014-03-30 12:02 | Hans Hagen | Status | assigned => closed |
2014-03-30 12:02 | Hans Hagen | Assigned To | Taco => Hans Hagen |
2014-03-30 12:02 | Hans Hagen | Resolution | open => fixed |