Article View: comp.text
Article #4480Common TeX annoyance bug
From: Mark Davies
Date: Sat, 27 Feb 1988 03:10
Date: Sat, 27 Feb 1988 03:10
35 lines
1468 bytes
1468 bytes
Common TeX 2.1 has an annoyance bug in that it prints what should be the
first line of output as two lines. eg.
This is Common TeX, Version 2.1.1 (preloa
ded format=lplain 88.1.19)
I finally got sufficiently bugged with this to sit down and track it down.
Turns out the problem is the variable term_offset wasn't getting reset in
the dumped latex. A quick check of tex.web showed that tally and
file_offset should probably be reset as well. The following patch fixes.
*** tex.c~ Fri Dec 4 15:38:58 1987
--- tex.c Sat Feb 27 14:04:08 1988
***************
*** 61,68 ****
if (ready_already != 314159)
initialize();
ready_already = 314159;
- print(banner);
selector = TERM_ONLY;
if (format_ident == 0)
print(" (no format preloaded)");
else print_str(format_ident);
--- 61,69 ----
if (ready_already != 314159)
initialize();
ready_already = 314159;
selector = TERM_ONLY;
+ tally = 0; term_offset = 0; file_offset = 0;
+ print(banner);
if (format_ident == 0)
print(" (no format preloaded)");
else print_str(format_ident);
--
Domainised: mark@comp.vuw.ac.nz Bang form: ...!uunet!vuwcomp!mark
Technical Details
Message-ID:
<13306@comp.vuw.ac.nz>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!munnari!vuwcomp!markShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!munnari!vuwcomp!mark From: mark@comp.vuw.ac.nz (Mark Davies) Newsgroups: comp.text Subject: Common TeX annoyance bug Message-ID: <13306@comp.vuw.ac.nz> Date: 27 Feb 88 03:10:41 GMT Organization: Comp Sci, Victoria Univ., Wellington, New Zealand Lines: 35