
Hi Pablo (and Hans) No, Acrobat reports an empty page when reading the text, and Preview (on the Mac) doesn’t read anything either. I can’t find the text when looking at the pdf in an editor. I’d be happy to use modes to produce different documents for different user groups, this would make it easy to deal with figures. I will also need to deal with equations and tables (and eventually Lua generated content). For equations, I have been able to see the xml attachments, but the Mac software I have available to read PDFs (Preview and Acrobat) doesn’t make much sense of them. Are there any example documents available? Also, is it (currently) easy to generate an epub file with MATHML from a ConTeXt source? Thanks again, Matthias
On Apr 8, 2025, at 1:41 PM, Pablo Rodriguez via ntg-context
wrote: On 4/7/25 22:08, Hans Hagen wrote:
On 4/4/2025 3:37 AM, Matthias Weber wrote:
[...] in order to provide screen readability (but the above doesn’t work, the PDF doesn’t have the alternate text).
This one will add an Alt to the element
\externalfigure[cow][label={this is a cow}]
Matthias,
this should work:
\enabledirectives [backend.usetags=crap] \setuptagging[state=start] \setupstructure[state=start] \setupbackend [format=PDF/A-3a, intent=sRGB IEC61966-2.1, level=0] \setupbackend[format=pdf/ua-1]
\setupexternalfigures[location=default] \starttext \externalfigure[cow][label={this is a cow}] \stoptext
Let us know whether your Acrobat reads the text (but this is validated fine by veraPDF).
I hope it helps,
Pablo ___________________________________________________________________________________ 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 ___________________________________________________________________________________