[tex-k] Extra space before page number after \batchmode
igor.liferenko at gmail.com
Fri Aug 7 04:20:59 CEST 2020
Hi Andreas and Karl,
>> without a newline after '\batchmode'; looks not good.
> No, it doesn't look good, but it has always been that way, in
> (presumably) all implementations. Knuth's decision. -k
It's not Knuth's decision. It's misconception.
In my implementation it works right - i.e., it prints newline before
I can just give an iron argument:
In all implementations there is newline after:
1) write(term_out,'! End of file on the terminal... why?');
(i.e., "Transcript written ...")
But in tex.web there is NOT!
What does it mean? It means that on PDP-10 (where TeX
was developed) newline was automatically printed on terminal
after program exit. It follows that after "\batchmode"
newline also must be printed exactly because the program
As for answer #6  - there is meant the <return> produced by print_ln in
print("..."); print_ln; update_terminal; return;
The fact that newline is not printed is pointed out because
otherwise there would have been an empty line before shell
prompt, which does not look good.
More information about the tex-k