On 6/22/23 18:07, Hans Hagen via ntg-context wrote: > On 6/19/2023 8:41 PM, Henning Hraban Ramm via ntg-context wrote: >> Checking viewer layers: >> >> * \setupviewerlayer doesn’t work; e.g. "state=stop" only works if I put >> it in \defineviewerlayer > in next upload Hans, since this is related to OCG, a minor improvement. /Export (inside /Usage) is actually a dictionary with a single entry (/ExportState) and values /ON and /OFF (from the PDF spec https://raw.githubusercontent.com/adobe/dc-acrobat-sdk-docs/master/docs/standards/pdfstandards/pdf/PDF32000_2008.pdf#search=ExportState): The attached patch fixes this issue. Many thanks for your help, Pablo