[pdftex] redundant objects with includegraphics

Andreas Matthias amat at kabsi.at
Fri May 4 14:19:32 CEST 2001


From: "Otfried Cheong" <otfried at cs.uu.nl>

> I would just use the \pdximage primitive directly (not that it's a big
> improvement):
> 
> \xpdfimage{foo.pdf}\def\foopages{\the\pdflastximagepages}%
> Result: foo.pdf has \foopages\ page(s).
> ...
> \includepdf[pages=1-\foopages]{foo.pdf}
> 
> Or, even better, ask Andreas to use the primitive in "pdfpages"
> itself, so that the above code becomes:
> 
> \includepdf[pages=1-]{foo.pdf} :-)

I will.
I just didn't kown the primitive \pdflastximagepages before you
mentioned it in this thread.

Greetings,
Andreas





More information about the pdftex mailing list