View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000002 | luatex | luatex bug | public | 2008-02-12 16:34 | 2008-03-17 14:06 |
Reporter | arthur | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.20.2 | ||||
Summary | 0000002: texio.write truncates strings at a fixed position | ||||
Description | On some architectures, texio.write truncates strings at a fixed position, and inserts a line feed (usually every 80 characters, including the latter). Messages from LuaTeX and macro packages that are output with this function then seem to be cut arbitrarily. The error has been reported on Intel Mac (strings truncated each 79 characters + line feed) and PowerPC Mac (255 chars + line feed). To reproduce it: try \directlua0{texio.write_nl("term and log", "Rinderkennzeichnungs- und Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz")} in *plain* LuaTeX (on a single line, obviously). On Intel Mac, the word is cut before the ‘a’ in “Übertragung”. | ||||
Additional Information | By “character”, I probably mean byte. | ||||
Tags | No tags attached. | ||||
|
Could this be a result of max_print_line in texmf.cnf? |
|
Yes, indeed. So it's not a LuaTeX but at all, after all ... And thanks! It has annoyed me for quite a while, but I didn't know where it came from (and various people I showed it couldn't find out either). |
|
Martin is right, this is not really a bug. It is a side-effect of texio.write being a front-end to tex's own logging routine. The effect is not architecture-dependant, it depends on the value of max_print_line in texmf.cnf. |
|
Not a luatex bug, but a web2c feature. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-02-12 16:34 | arthur | New Issue | |
2008-02-12 17:26 | oneiros | Note Added: 0000001 | |
2008-02-12 17:34 | arthur | Note Added: 0000002 | |
2008-02-12 17:37 | Taco | Note Added: 0000003 | |
2008-02-12 17:37 | oneiros | Status | new => closed |
2008-02-12 17:37 | oneiros | Note Added: 0000004 | |
2008-02-12 17:37 | oneiros | Resolution | open => fixed |
2008-02-12 17:37 | Taco | Note Edited: 0000003 | |
2008-02-16 09:03 | Taco | Status | closed => resolved |
2008-02-16 09:03 | Taco | Assigned To | => Taco |
2008-03-17 14:06 | Taco | Status | resolved => closed |