Hi Max, I ran Ghostscript on both the accessible and the untagged version of my file, and I am getting the following in both cases: p. 151: WARNING: pdfi_create_indexed() got 6 values, expected at least 9 values WARNING: Image has unsupported ColorSpace (not a name) The following errors were encountered at least once while processing this file: error executing PDF token circular reference to indirect object error in image colour The following warnings were encountered at least once while processing this file: recoverable image error garbage left on stack Page 151 is one of the critical pages that consistently crashes Preview on the Mac (but only in the accessible version). I regularly use PDF images created/edited with Illustrator, and I leave the Illustrator fork in the PDF. p. 151 contains one of them, but there are many others in that file. Matthias
On Nov 17, 2025, at 7:50 AM, Max Chernoff via ntg-context
wrote: Hi Matthias,
On Sun, 2025-11-16 at 13:50 -0500, Matthias Weber wrote:
That I have not been able to figure out: All viewers I have tried on my Mac crash when opening large PDFs that are compiled this way, typically when I reach a page that contains a figure.
With one exception: Acrobat. I don’t know whether it’s ConTeXt or the readers that struggle with accessible PDFs.
It also only happens with larger PDFs (50+ pages, maybe)
The viewers work fine when I compile the files without the accessibility preamble.
Does GhostScript show any errors/warnings if you run it on one of the PDFs?
$ gs -dNOPAUSE -dBATCH -sDEVICE=nullpage <filename>.pdf
If there are any errors, then that's probably the source of the problem (and so should theoretically be fairly easy to fix); if there aren't any errors, then it'll probably be trickier to figure out what exactly is causing the crashes.
Thanks, -- Max ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________