[luatex] [EXT] Iteration over the dictionary of a stream
andreas.matthias at gmail.com
Wed Mar 31 17:41:48 CEST 2021
On Wed, Mar 31, 2021 at 5:10 PM Philip Taylor <P.Taylor at rhul.ac.uk> wrote:
> for k, v in pairs (pdfe.dictionarytotable (doc.Pages )) do
Here, you are iterating over a /Page dictionary (doc.Pages), 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
More information about the luatex