Re: How to get tagging off in new LaTeX
David Carlisle <[email protected]>
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <CAEW6iOjCkVC_PYyV+2mPKXUbunKxP13AjsC5iO38fmd=Mq5Cuw@mail.gmail.com> |
On Sun, 2 Nov 2025 at 19:53, Norbert Preining <[email protected]> wrote: > Thanks David! > > A follow-up question from my side: > > > > henceforth has been: how can I make sure the new tagging feature is > > > completely off for now -- until I get a better hold of what tagging is > and > > OTOH - how do I enable all features that are currently available to > create tagged PDF? > \DocumentMetadata{tagging=on} will enable all the features that are stable enough to include in that default, there are some options, notably how mathematics is tagged so you might want additional keys such as tagging-setup={math/setup=mathml-AF,math/alt/use=false} to request MathML as Associated Files (embedded in the PDF) and to not use the Alt attribute with a text fallback. or you might want to add pdfstandard = ua-2, to assert that the document conforms to the PDF/UA-2 accessibility standard. (LaTeX will adjust things slightly if you add such a key but it is mainly an assertion of author intent, that structures are appropriately tagged and images have suitable alt texts etc, that latex can't enforce, so mainly these keys are just embedding the declaration in the pdf that the file (should) conform to that standard. so if you start off \DocumentMetadata{ lang = en, pdfstandard = ua-2, pdfstandard = a-4, tagging=on, } \documentclass{article} \usepackage{unicode-math} then you will get tagged pdf and (as unicode-math is also loaded) automatic conversion to MathML embedded as associated files, and the file will declare its main language as English and that it is intended to conform to UA-2 accessibility standard and A-4 archival standard. A short quick guide with interactive examples is at https://latex3.github.io/tagging-project/documentation/usage-instructions If people want to skip the full manuals David > > Thanks > > Norbert > > -- > DI Dr Norbert Preining https://www.preining.info > arXiv / Cornell University + IFMGA Guide + TU Wien + TeX Live > GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 >