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

Support for XeLaTeX #4

Open
kyuilisworking opened this issue Apr 25, 2021 · 1 comment
Open

Support for XeLaTeX #4

kyuilisworking opened this issue Apr 25, 2021 · 1 comment

Comments

@kyuilisworking
Copy link

Is there a plan to support XeTeX / XeLaTeX in the future as well? I'd also like to help out - if there is some documentation on how other projects are structured in general (for pdftex and luatex), that would help me get started.

@holzschu
Copy link
Owner

As for the how to do it, it’s relatively simple: cross compile to an arm64 binary (using cross-compiling tools), add dependency to ios_system for input, output and file system communication, and make sure memory is released when the command leaves.

For XeTeX, the problem is in the first step: it has a strong dependency on frameworks and libraries that are specific to OS X, and so it cannot be cross-compiled for arm64. Luatex code is much better for cross-compiling.

To the best of my knowledge, luatex abilities are a superset of those of XeTeX (anything XeTeX can do, luatex can also do), so there is little to be gained by adding XeTeX.

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

No branches or pull requests

2 participants