Not sure if you want to document this, or perhaps only for your own
information, if alt was passed through the following would be enough to
generate tagged pdf usable for a screen reader

texi2any --latex -I . -o asymptote.tex asymptote.texi

to get asymptote.tex then run lualatex through a file say
asymptote-tagged.tex that contains just


\DocumentMetadata{tagging=on,
  pdfstandard=UA-2
}
\AtBeginDocument{\hypersetup{pdftitle=asymptote manual}}
\RequirePackage{unicode-math}
\input{asymptote}


If texinfo has the document title to hand it could probably add that by
default as well but as you see if it doesn't it's not too bad I just need
AtBeginDocument here so the setting is delayed until hyperref package is
loaded.

As you may have seen on github currently that doesn't quite work and you
need some additional patching to make the generated list markup compatible
with the tagged pdf code, but that's on our side and assume it'll get fixed
so the patches are not needed.

David

Reply via email to