Prefer lualatex, xelatex, pdflatex, in that order. #12804