[NTG-pdftex] endstream

Hartmut Henkel hartmut_henkel@gmx.de
Sat, 8 May 2004 13:20:55 +0200 (CEST)


On Sat, 8 May 2004, Hans Hagen wrote:

> When embedding a file using \pdfobj file {...} i get
>
> whateverendstream
>
> is this valid? shouldn't endstream be on its own line?

valid, as the Length tells exactly where the data end

"It is also an error if the stream contains too _much_ data, with the
exception that there may be an extra end-of-line marker in the PDF file
before the keyword 'endstream'." PDF ref. 1.4 p. 37

But somehow having endstream on its own line would be nicer.

Regard, Hartmut