Fix the behaviour of constructions like \e{index \i{term}} -- the index tag
[sgt/halibut] / bk_pdf.c
index 319e8fb..bdce859 100644 (file)
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -487,11 +487,6 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
        rdaddsc(&rs, text);
 
        if (o->stream.text) {
-           char buf[100];
-           sprintf(buf, "stream%06d", o->number);
-           fp = fopen(buf, "wb");
-           fwrite(o->stream.text, 1, o->stream.pos, fp);
-           fclose(fp);
            zcontext = deflate_compress_new(DEFLATE_TYPE_ZLIB);
            deflate_compress_data(zcontext, o->stream.text, o->stream.pos,
                                  DEFLATE_END_OF_DATA, &zbuf, &zlen);