accessibility
accessibility copied to clipboard
port to luatex
Right now the package runs on pdftex only. But this converter is obsolete, we should use luatex, don't we? I like how easily OT fonts can be used with luatex. So please make the package work with luatex.
But this converter is obsolete
pdfTeX is not obsolete, but I agree that it would be good to support LuaTeX.
I tried the following in my LuaLaTeX document but got a cryptic error that I haven't yet figured out how to debug (! A <box> was supposed to be here.
):
\usepackage{luatex85}
\usepackage[tagged,highstructure]{accessibility}
I don't get the same error. With this minimal example
\documentclass{scrreprt}
\usepackage[tagged]{accessibility}
\usepackage{luatex85}
\begin{document}
Text.
\end{document}
I get an error ! Undefined control sequence
in accessibility.sty
line 65 trying to run it through luatex.
The \usepackage{luatex85}
line must go before the \usepackage{accessibility}
line, not after.
Great! We're a big step forward then. No error anymore using LuaTeX 1.11.2.
\documentclass{scrreprt}
\usepackage{luatex85}
\usepackage[tagged]{accessibility}
\usepackage{hyperxmp}
\usepackage[pdfa=true]{hyperref}
\usepackage{polyglossia}
\hypersetup{%
pdflang={de},
pdfdisplaydoctitle=true,
}
\setmainlanguage{german}
\begin{document}
Text.
\end{document}
Validates like this:
I think that this should be looked at again after we deal with #12 and #34 (i.e. MVP functionality of the accessibility
package).
It's likely that this could become it's own little mini-project, so I have added a new milestone (port to luatex).
I agree.