You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
With luaotfload v2.7 (from TeXLive 2016 pretest), I cannot anymore mix RTL and LTR text in one and the same paragraph, namely without inserting blank lines before \textdir TRT and the like.
Here is a mwe:
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\begin{document}
\section*{This works:}
English text: hello, world.
\textdir TRT\arabicfont
دَخَكَ مُبتَسِمًا
\textdir TLT\normalfont
English text back again.
\section*{But this doesn't}
English text: hello, world.
\textdir TRT\arabicfont
دَخَكَ مُبتَسِمًا
\textdir TLT\normalfont
English text back again.
\end{document}
This mwe gives me the following error: [...]texmf/tex/luatex/luaotfload/fontloader-2016-04-27.lua:13071: attempt to index local 'i' (a nil value)
Furthermore, if I force the compilation, I get this:
Which is wrong, for we should read the last line as follows:
English text: hello, world. دَخَلَ مُبتَسِمًا English text back again.
Many thanks in anticipation for your help. -- Robert
With luaotfload v2.7 (from TeXLive 2016 pretest), I cannot anymore mix RTL and LTR text in one and the same paragraph, namely without inserting blank lines before
\textdir TRTand the like.Here is a mwe:
This mwe gives me the following error:
[...]texmf/tex/luatex/luaotfload/fontloader-2016-04-27.lua:13071: attempt to index local 'i' (a nil value)Furthermore, if I force the compilation, I get this:

Which is wrong, for we should read the last line as follows:
Many thanks in anticipation for your help. -- Robert