package conflict between polyglossia and arabTeX

package conflict between polyglossia and arabTeX

I have the following MWE:

\documentclass[12pt]{article}
\usepackage{arabtex}
\usepackage{polyglossia}

\setdefaultlanguage{french}
 \begin{document}

 \setarab
 \fullvocalize
 \transtrue
 \arabtrue

 \RL{kw}
 \end{document}

When I try to compile it, i get:

! LaTeX Error: Command \nobreakspace unavailable in encoding U.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

 l.17  \RL{kw}

Some Arabic sequences are impossible to write when polyglossia is used in the preamble with the in-understandable message about \nobreakspace without more explanations.

So how can I conciliate polyglossia with arabtex packages?

답변1

It seams that the problem only occur with french as main language.

So, for the moment I bypass the bugg with :

{\selectlanguage{english} \RL{kw}}

But it’s ugly and a little bit hacky…

Note that it isn’t work with \setlanguage{arabic}.

관련 정보