[luatex] pdfpages and lualatex?

Hartmut Henkel hartmut_henkel at gmx.de
Tue Dec 14 01:31:02 CET 2010


On Tue, 14 Dec 2010, Hartmut Henkel wrote:
> On Mon, 13 Dec 2010, Martin Schröder wrote:
>
> > 2010/12/13 stefano franchi <stefano.franchi at gmail.com>:
> > > pages and a page of text). In Lualatex, on the other hand, the two
> > > titlepages are blank.
> >
> > The pdf produced by luatex is broken: The xobjects referenced in obj
> > 49 of testpage.pdf (which is referenced in obj 4) are lost.
>
> yes, that's because testpage.pdf doesn't contain any /Resources info in
> the /Page dictionary (that doesn't look good). This file
>
>   \pdfcompresslevel=0 \pdfminorversion=3
>   \hbox{\pdfximage width 100mm page 1{testpage.pdf}\pdfrefximage\pdflastximage}
>   \bye
>
> gives
>
>   LuaTeX warning: PDF inclusion: /Resources missing. 'This practice is not recommended' (PDF Ref.)

ah, the /Resources 49 0 R are in the /Pages dictionary, somehow one
level higher than usual (is this allowed? Maybe, but not checked yet).
So one needs to pick the resources from there. No idea yet how this can
be done.

Regards, Hartmut


More information about the luatex mailing list