
On 2/14/2025 11:36 AM, Steffen Wolfrum wrote:
Am 13.02.2025 um 17:37 schrieb Hans Hagen
: On 2/13/2025 3:28 PM, Steffen Wolfrum wrote:
Am 12.02.2025 um 16:13 schrieb Hans Hagen via ntg-context
: On 2/12/2025 3:48 PM, Steffen Wolfrum wrote:
«Tagged PDF» still is broken: \setupbackend[ format={pdf/a-1b:2005}, profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=Coated FOGRA39 (ISO 12647-2:2004), level=0] \setupstructure[state=start,method=auto] \setupbackend[export=yes] \starttext TEST \stoptext
define broken ... you're not enabling tagging and enabling export will disable some other features so you get a different pdf anyway When I run this test files with e.g. ConTeXt ver: 2022.07.06 21:42 LMTX then opening the PDF in Acrobat Reader it says: Document Properties > Tagged PDF : »Yes«. When I use the current ConText its says »No«. And the publishing houses demand Tagged PDF (because of accessibility).
whatever that means ... for printing it doesn't matter ... for viewinfb they have to provide the tools and i bet they don't give you a full acrobat prescription
(of course not)
anyway, you don't read what we answer ... you need to enable tagging and not confuse it with exporting .. think something
\setuptagging [state=start]
\setupbackend [format=ua2]
\starttext TEST \stoptext
instead.
Hans
Does that mean that this example should provide the urgently desired alt-text:
\setuptagging [state=start]
\setupbackend [format=ua2]
\setupexternalfigures[location=default]
\starttext \startPDFalternativetext{this is a cow} \externalfigure[cow] \stopPDFalternativetext \stoptext
Really?! If so, I will send it to the publishers so they can check if it fulfills their needs.
I assume you can try and did so because you indicated that your viewer gave some report. Of course you need to make sure not to introduce unwanted spaces (as in your example). We can actually put an Alt on a specific image element (by setting label={...}) but for now it's disabled for now. Last time we checked some validators didn't like it and viewerd didn't do anything useful with it so ity made no sense to waste more time on it. Just putting stuff in a pdf for the sake of having something is is tricky because who knows what future validation makes of it. It's a mess (and always has been and likely will be). 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 -----------------------------------------------------------------