View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000551 | luatex | documentation | public | 2011-01-07 12:25 | 2015-10-20 18:22 |
| Reporter | Taco | Assigned To | Taco | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0000551: token library documentation is bad | ||||
| Description | From Philipp Stefani: - token.get_next() removes the next token, which is not documented - the meaning of the entries of the token tables is undocumented - the documented values for the "mode" key in the semantic nest level tables are wrong: \def\printmode#1{% \directlua{% tex.sprint(tostring(tex.nest[tex.nest.ptr].mode) .. [[ 0000001]]) }% } \printmode{= 1 = vertical} % print 1, correct \vbox{ \printmode{= -1 = internal vertical} % prints -1, correct } a \printmode{= 127 = horizontal} % prints 118 \hbox{ \printmode{= -127 = restricted horizontal} % prints -118 } $$ \printmode{= 253 = display math} % prints 235 $$ $ \printmode{= -253 = inline math} % prints -235 $ \bye Please use symbolic constants instead of magic numbers for such things. TeX has already too many magic numbers, and this unfortunate tradition should not continue. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-01-07 12:25 | Taco | New Issue | |
| 2011-01-07 12:27 | Taco | Description Updated | |
| 2011-02-10 09:37 | Taco | Status | new => assigned |
| 2011-02-10 09:37 | Taco | Assigned To | => Taco |
| 2015-10-20 18:22 | Hans Hagen | Note Added: 0001439 | |
| 2015-10-20 18:22 | Hans Hagen | Status | assigned => closed |
| 2015-10-20 18:22 | Hans Hagen | Resolution | open => fixed |