Change first item in alph counter for Algeria, Morocco and Tunisia.
In North African countries we usually use letter أ rather then ا as first element in arabic alph counter, please kindly take this into consideration.
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\begin{document}
\abjadmaghribi{1} % this should be أ not ا
\end{document}
Should be fixed for the next version (with respective locale option set).
Please text if possible.
Error Undefined control sequence \InitializeGlossOptions appears
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage[locale=algeria]{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\begin{document}
test
\end{document}
You need to download at least polyglossia.sty and arabicnumbers.sty as well. Best is to test on the whole development repository.
For this example alph counter in second list appears ا, isn't supposed to be أ ?
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage[locale=algeria]{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\begin{document}
\begin{enumerate}
\item
\begin{enumerate}
\item
\end{enumerate}
\end{enumerate}
\end{document}
This employs the \adjad counter (not \abjadmaghribi). I have added a new commit that addresses the other counter, too. Please test again.
Same issue.
Same issue.
I don't understand. Here is the output I get from your test document:
I just realized I gave priority to the initialized key values rather than the users ones in my latest commit, it might be the problem if you are experiencing the problem with a less minimal document, for example with
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage[locale=algeria]{arabic}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\begin{document}
\selectlanguage{arabic}
\begin{enumerate}
\item
\begin{enumerate}
\item
\end{enumerate}
\end{enumerate}
\end{document}
should be fixed now.
Sorry @jspitz it was my fault, the code work fine, thanks.