Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with arabic Kurdish alphabet #10

Open
Mariofis opened this issue Oct 19, 2024 · 2 comments
Open

Issue with arabic Kurdish alphabet #10

Mariofis opened this issue Oct 19, 2024 · 2 comments

Comments

@Mariofis
Copy link

Dear Sir,

there is an issue with the kurdish arabic letter h.

when you write bih the result should be بھ. The result with arabxetex is the single letter b and h; so it is not combining.
Kurdisch.pdf

\documentclass[a4paper,12pt,twoside]{article}
\usepackage{fontspec}
\fontspec[Mapping=tex-text]{Amiri}
\setmainfont{Amiri}
\usepackage{polyglossia}
\setmainlanguage{german}
\usepackage{arabxetex}
\newfontfamily\kurdishfont[Script=Arabic, Scale=1.1]{Amiri}

\begin{document}

\begin{kurdish}[novoc]

bih{}, cih

\end{kurdish}

\end{document}

@fc7
Copy link
Owner

fc7 commented Nov 9, 2024

Thanks for reporting this. I had a quick look at the mapping rules for Kurdish and believe it is caused by:

h	  > U+200C U+06BE ; h always initial form

which seems to have been mistakenly carried over from the rules for Urdu. I am slightly speculating though, as this was written almost 20 years ago. It may take some time until I publish a new version. In the meantime, if you feel brave, you can modify the file arabtex-kurdish.map yourself and compile it to a .tec file with the TECkit utility.

A workaround would be to use e instead of h (which might actually have been the original ArabTeX convention for Kurdish).

@Mariofis
Copy link
Author

Mariofis commented Nov 20, 2024

line 222 und 223 should be:

h h > U+06BE U+0651 ;;SHADDA
h > U+06BE

U+200C has been mistakenly been added

I corrected the map und I use the corrected .tec file on my system. Works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants