It seems that currently pdftex deletes/re-reads documents when they are to be multiply included, see the log for a 4-page pdf file, its page 1 included by: \pdfximage width \hsize page 1 {prod_brochure.pdf} \hbox{\pdfrefximage\pdflastximage} \vfill\eject \pdfximage width \hsize page 1 {prod_brochure.pdf} \hbox{\pdfrefximage\pdflastximage} \vfill\eject \end See the log below. Shouldn't such a request include the file only once, and later only make a reference to the first page object? When I uncomment the (pdf_doc->occurence)--; line, I get much smaller file size, 120278 bytes in this case. Is the occurence stuff broken, or do I do something wrong? Greetings Hartmut Log (with #define DEBUG): This is pdfTeX, Version 3.14159-1.10a (Web2C 7.4.5) (./y.tex{/usr/local/teTeX/share/texmf/pdftex/config/pdftex.cfg} Creating ./prod_brochure.pdf (0) Reading information on ./prod_brochure.pdf [1{/usr/local/t eTeX/share/texmf/dvips/config/pdftex.map} <./prod_brochure.pdf Decrementing ./prod_brochure.pdf (-1)
Deleting ./prod_brochure.pdf ] Creating ./prod_brochure.pdf (0) Reading information on ./prod_brochure.pdf [2 <./prod_bro chure.pdf Decrementing ./prod_brochure.pdf (-1)
Deleting ./prod_brochure.pdf ] ){/usr/local/teTeX/share/texmf/dvips/tetex/f7b6d320.enc} Output written on y.pdf (2 pages, 229447 bytes). Transcript written on y.log.