14

This is a somewhat open-ended, but nonetheless well-posed and important question. The latest LaTeX news (#40, 2024-11-01) contain the following important update regarding engine support (my emphasis):

With XeTeX, it is impossible to reliably produce tagged PDFs due to engine limitations. The increasing importance of tagged PDFs means that this requires a move away from XeTeX. We will continue to address issues with XeTeX support in team-maintained LaTeX code on a best-effort basis. No new functionality will be added for XeTeX by the LaTeX team. It is likely that over time functionality may become more restricted, and users are urged to migrate XeTeX documents to LuaTeX.

My question is simple:

  1. What are the best current practices for this migration?
  2. What possible pitfalls are there; in particular, what incompatibilities (packages etc.) exist that users need to be aware of, and how can these be solved?

N.B.: I realize that this question is less specific than the how do I do X using Y that's most common on tex.sx, but since many users will eventually (have to) make this move, it's worth answering in one central place, possibly as a community wiki.

Related questions that are sufficiently old that the answers may or may not be valid anymore:

9
  • 1
    As far as I know it is only highly specialised xelatex uses that might have issues under LuaLaTeX (as some macros may be named differently). Commented Nov 6, 2024 at 7:35
  • 6
    @daleif there are at least two quite common cases affected: xecjk user (which need to change to luatexja) and user of polyglossia + bidi (eg xepersian). Commented Nov 6, 2024 at 7:46
  • 1
    @UlrikeFischer that's what I mean by specialised. Commented Nov 6, 2024 at 7:54
  • 4
    @cfr It's not always clear - but here yes that might be useful - although I think a '2024 question' (this one) as a jumping off point makes some sense Commented Nov 6, 2024 at 8:54
  • 9
    Since one of the affected packages is babel, I am preparing a guide: latex3.github.io/babel/guides/migrating-xetex-luatex.html Commented Nov 6, 2024 at 16:09

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.