3

i am receiving this problem when attempting to add an existing PDF into a latex document

pdfTeX warning: /usr/texbin/pdflatex (file ./filename.pdf): PDF inclusion
: invalid other resource which is no dict (key 'ProcSets', type <array>); ignored.

Any help on this, happening on 2 different file i am trying to include in the PDF output

migrated from stackoverflow.com Jan 19 '14 at 21:34

This question came from our site for professional and enthusiast programmers.

  • Post the code that you use to add this document to the existing one. – Aleksander Lidtke Jan 17 '14 at 23:17
  • 1
    Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Jan 19 '14 at 21:35
4

PDF spec says, that all entries (resource types) in Resources dictionary must be (sub-)dictionaries themselves, except Procset entry, which is array. On the other hand, unknown entries in any dictionary are ignored.

In your file, there's ProcSets (see the difference?) entry. It's not dictionary, hence the warning. It's unknown key, therefore ignored. You can safely ignore it, too. Anyway, ProcSet entry is optional and obsolete since 1.4 -- i.e. for more than 10 years. It's interesting, still, what application creates such files?

  • I believe it might be ICopy as I have the same problem. – Carel Jan 24 '16 at 23:12
  • 1
    I got this error with Chrome using Print to pdf. – Marijn May 19 '17 at 12:35
0

As noted in the other answer ProcSet is obsolete in PDF, and ProcSets is a mis-spelling anyway: it will be ignored by compliant readers. I suspect PDF files containing the ProcSets resource are created with Skia/PDF -- code here:

https://github.com/google/skia/blob/master/src/pdf/SkPDFResourceDict.cpp.

This is the case with PDF files exported from Draw.IO, anyway.

In summary, you can ignore the message: pdfTeX will not copy the offending resource into its output, but that does no damage. I have modified my own installation of pdfTeX to correct ProcSets to ProcSet in order to quieten the warning.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy