当我在 TeXLive 2019 上使用polyglossia
1.47 版的希伯来语和 LuaLaTeX 时,我收到了一条错误消息,而 1.46 版则不会出现该消息polyglossia
。这是我的 MWE:
%!TEX TS-program = lualatex
%!TEX encoding = UTF-8 Unicode
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\hebrewfont{SBL Hebrew}[Script=Hebrew]
\usepackage{polyglossia}
\setdefaultlanguage[variant=us]{english}
\setotherlanguage{hebrew}
\begin{document}
Text in English and \texthebrew{עברית}. Text...
\end{document}
我收到的信息
Package polyglossia Warning: Hebrew is not supported with LuaTeX.
(polyglossia) I will proceed with the compilation, but
(polyglossia) the output is not guaranteed to be correct
(polyglossia) and may look very wrong. on input line 6.
(/usr/local/texlive/2019/texmf-dist/tex/lualatex/luabidi/luabidi.sty
(/usr/local/texlive/2019/texmf-dist/tex/lualatex/luabidi/luabidi-footnotes.def)
) (/usr/local/texlive/2019/texmf-dist/tex/latex/polyglossia/hebrewcal.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/polyglossia/cal-util.def))
Setting \if@calendar@hebrew
(/usr/local/texlive/2019/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def)
! Too many }'s.
l.120 \fi}
%
! Extra \fi.
l.121 \fi