On 1/5/2026 9:19 PM, Matthias Weber wrote:
Dear all,

This is not a bug report, but just for the record, for those of us who spend 
our time adding alternate texts:

Alternative texts may not contain math (\im{}), but if you use parentheses, 
they must be balanced:

\setupbackend[format=pdf/ua-2]
\setuptagging
  [state=start,
   preset=basic,
   level=2,
        option=interaction,
   comment={Cows}]
\setupexternalfigures[location=default]

\starttext
\externalfigure[cow][width=5cm,alternativetext={Half-open interval (0,1]}]

\stoptext

VeraPDF aborts the validation and returns  the cryptic message:

Exception: Caught unexpected runtime exception during validation caused by 
exception: Error while parsing object : 26 0 caused by exception: invalid pdf 
dictionary(object key = 26 0 obj, offset = 6789)

so it took me a while to track down the issue.

You can collect potential issues so that Mikael and I can look at it when we're in the mood (better then do a few at the same time). We're currently more into typesetting-fun-mode.

Wrt links: the tag spec is a conceptual mess in that department. We try to get around it as good as we can. Just don't use too many special references when tagging, play safe. After all, one can make a 'stupid' tagged version and a 'nice and clever' untagged one. (Maybe we should have some option to disable the tricky interactive features when tagging.)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
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
___________________________________________________________________________________

Reply via email to