[tex-k] Re: dvips premature end of file in binary section
Tomas G. Rokicki
Thu, 1 Feb 2001 17:42:31 -0800 (PST)
Well, what I'm saying is, if the DSC comment is %%BeginBinary, we
have to respect the binary nature of the file and skip so many
characters without interpretation. So the file must not be subjected
to any sort of line terminator modification. This in turn means that
the file must be treated as binary, even if every character in it is
within seven-bit ASCII.
-K is a bad idea in general, so it is turned off by default and not
So my position remains; if a file contains %%BeginBinary, it must be
treated with all the respect due a binary file, just like a .jpg or
.gif, and not transferred in ASCII mode or otherwise munged, just
so that the byte counts remain consistent.
But perhaps I'm misunderstanding your reply or the original problem.