Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port to luatex #33

Open
viktoriasee opened this issue Feb 10, 2020 · 6 comments
Open

port to luatex #33

viktoriasee opened this issue Feb 10, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@viktoriasee
Copy link
Collaborator

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.

@rhansen
Copy link

rhansen commented Feb 10, 2020

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}

@viktoriasee
Copy link
Collaborator Author

viktoriasee commented Feb 10, 2020

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.

@rhansen
Copy link

rhansen commented Feb 10, 2020

The \usepackage{luatex85} line must go before the \usepackage{accessibility} line, not after.

@viktoriasee
Copy link
Collaborator Author

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:
pac3-latex-accessibility-minimal_v2

@viktoriasee viktoriasee added the enhancement New feature or request label Feb 12, 2020
@AndyClifton
Copy link
Owner

AndyClifton commented Feb 12, 2020

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).

@AndyClifton AndyClifton added this to the Port to Luatex milestone Feb 12, 2020
@viktoriasee
Copy link
Collaborator Author

I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants