On 2015-05-20 01:23, Hans Hagen wrote:
On 5/20/2015 12:04 AM, Wybo Dekker wrote:
Just like in luatex 0.79.1, log files are 1 character too wide.
They should be 79 characters, plus an EOL = 80 characters.

Consider eol a separator (could as well would be cr+lf on windows).

Please compare the two log files for this source:

One can adapt the configuration files for luatex to be one char less
than default if needed. (Fwiw: context sets up lines to be 1000 in length.)

What configuration file(s) are you talking about?
The one I know is texmf.cnf, which sets max_print_line to 79, for all engines. You can change that, of course, but luatex will always use one character more than the other engines.

Even worse: the \message command obeys the max_print_line setting, while luatex takes one character more. As a result, the log file becomes unparsable, having different maximum line lengths in one file.
See the attached source and the pdftex (lines 7&8)/luatex (lines 5&6) logs.

As for the modernization of log files you talked about off the record:
It would be really modern to not impose any maximum line length by set setting max_line_length to, say, 1e9. And to do that for all engines, not just luatex.

--
Wybo
Hello\message{12345678901234567890123456789012345678901234567890123456789012345678901234567890}\bye
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)  (format=luatex 2015.5.19)  20 MAY 2015 11:40
 restricted \write18 enabled.
**t
(./t.tex
1234567890123456789012345678901234567890123456789012345678901234567890123456789
0 [1{/usr/local/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}])<</u
sr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on t.pdf (1 page, 10277 bytes).

PDF statistics: 12 PDF objects out of 1000 (max. 8388607)
 7 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdftex 2015.5.19)  20 MAY 2015 12:39
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**t
(./t.tex
1234567890123456789012345678901234567890123456789012345678901234567890123456789
0 [1{/usr/local/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )</
usr/local/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on t.pdf (1 page, 10448 bytes).
PDF statistics:
 12 PDF objects out of 1000 (max. 8388607)
 7 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to