[luatex] pdfpages and lualatex?
martin at oneiros.de
Thu Dec 16 20:52:59 CET 2010
2010/12/16 Hartmut Henkel <hartmut_henkel at gmx.de>:
> On Tue, 14 Dec 2010, Martin Schröder wrote:
>> Yes, but it's deprecated.
> No! (Until a few days ago i thought the same.) The inheritance of
> Resources from ancestors of a Page is completely legal (with an
> exception for linearized PDF) and regularly in use, and i couldn't find
> any sign of obsolescence in the PDF reference, so it's a must for
You are of course right. There are other page attributes that can be
inherited, btw (see table 30 in the PDF norm).
> Also the warning by pdftex and luatex, "/Resources missing. 'This
> practice is not recommended' (PDF Ref)" in pdftoepdf.cc is a wrong
> citation pulled from another context, therefore i have now removed it
> Btw., what may happen when a Page has its Resources dict, but also some
> Pages dict above contains Resources? Would they be merged somehow by the
"(Required; inheritable) A dictionary containing any resources
required by the page (see 7.8.3, "Resource Dictionaries"). If the
page requires no resources, the value of this entry shall be an
empty dictionary. Omitting the entry entirely indicates that the
resources shall be inherited from an ancestor node in the page tree."
No merging is to be done, just a replacement. Merging would be
interesting, but probably too difficult to implement.
More information about the luatex