I am facing a weird problem. Files that compiled correctly on earlier versions of TeXLive
do not work on TeXLive 2019
. The problem seems to be with babel
and arabic
(or a modified persian).
See this example:
% !TEX TS-program = LuaLaTeX
\documentclass{article}
\usepackage[arabic]{babel}
\begin{document}
سلام.
\end{document}
gives this error:
This is LuaTeX, Version 1.10.0 (TeX Live 2019/W32TeX)
restricted system commands enabled.
(./x.tex
LaTeX2e <2018-12-01>
luaotfload | main : initialization completed in 0.235 seconds
(c:/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(c:/texlive/2019/texmf-dist/tex/latex/base/size10.clo))
(c:/texlive/2019/texmf-dist/tex/generic/babel/babel.sty
(c:/texlive/2019/texmf-dist/tex/generic/babel/switch.def)
(c:/texlive/2019/texmf-dist/tex/generic/babel/luababel.def)
(c:/texlive/2019/texmf-dist/tex/latex/arabi/arabic.ldf
(c:/texlive/2019/texmf-dist/tex/generic/babel/babel.def
(c:/texlive/2019/texmf-dist/tex/generic/babel/luababel.def))
Loading the definitions for the LaTeX{} Arabic encoding
(c:/texlive/2019/texmf-dist/tex/latex/arabi/laeenc.def)
Loading the Common definitions for Arabic and Farsi
(c:/texlive/2019/texmf-dist/tex/latex/arabi/arabicore.sty
Arabi Core switching commands v1.0 2006/01/01 (may still change)
! String contains an invalid utf-8 sequence.
l.137 \ifcase#1\or
��������� � \ \or �����������^^@�^^@^^@
?