[luatex] [EXT] Iteration over the dictionary of a stream

Philip Taylor P.Taylor at Hellenic-Institute.Uk
Wed Mar 31 18:02:17 CEST 2021


Andreas Matthias wrote:

> Here, you are iterating over a /Page dictionary (doc.Pages[1]), which
> is a real dictionary.
> No issues when iterating over real dictionaries with pdfe.dictionarytotable().
>
> But the /Contents entry of this dictionary refers to a stream. And the
> first part of a stream object is a dictionary. But you cannot use
> pdfe.dictionarytotable() in this case.

OK, understood.  In that case, is there a Lua selector for  'the first 
part of a stream object', and if so, do you need to explicit deploy it ?
-- 
/Philip Taylor/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20210331/65335d35/attachment.html>


More information about the luatex mailing list.