Hans,

many thanks for having added the alternate descriptions functionality to
ConTeXt.

I attach the patch, since the entry reads /AltText instead of /Alt.

At least, /Alt is the right value in PDF-1.7
(https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#nameddest=G13.2262140).

I cannot check PDF-2.0, but it would be weird to break
backward-compatibility here.

Many thanks for your help,

Pablo
--- mkxl/lpdf-ini.lmt	2024-09-28 09:22:59.608344589 +0200
+++ lpdf-ini.lmt	2024-09-28 09:43:46.317239076 +0200
@@ -1400,7 +1400,7 @@
     local f_actual_text_b_not = formatters["/Span << /ActualText <feff%s> >> BDC"]
     local f_actual_text       = formatters["/Span <</ActualText %s >> BDC"]
 
-    local f_alternative_text  = formatters["/Span <</AltText %s >> BDC"]
+    local f_alternative_text  = formatters["/Span <</Alt %s >> BDC"]
 
     local s_actual_text_e     <const> = "EMC ET"
     local s_actual_text_e_not <const> = "EMC"
_______________________________________________
dev-context mailing list -- dev-context@ntg.nl
To unsubscribe send an email to dev-context-le...@ntg.nl

Reply via email to