2

The alphabet in the albanian language is :

A B C Ç D DH E Ë F G GJ H I J K L LL M N NJ O P Q R RR S SH T TH U V X XH Y Z ZH

This is the code I am trying

\documentclass{article}
\usepackage[paperwidth=140mm,paperheight=210mm,top=25mm,bottom=20mm,left=20mm,right=20mm]{geometry}
\usepackage{kantlipsum}
\usepackage[xindy]{imakeidx}

\makeindex[columns=2, title=Indeks]
\indexsetup{othercode=\footnotesize}

\begin{document}

\kant[1-2] Centurion\index{Centurion} is writing something,
Dhimitër\index{Dhimitër} finished writing.

\kant[3-6] Çarli\index{Çarli} is writing something,
Dhimitër\index{Dhimitër} finished writing.

\kant[7-9] Eugen\index{Eugen} is writing something,
Genadios\index{Genadios} finished writing.

\printindex

\end{document} 

And this is the result :

enter image description here

The letter Ç should appear between C and D (even merged with C would be fine)

I tried xindy -M texindy -L turkish -C utf8 sample.idx but xindy wasnt recognized in windows' cmd (xindy: The script engine could not be found. xindy: Data: scriptEngine="perl.exe"), so I am using makeindex sample (MikTeX 2.9)

I hope this is not a duplicate.

  • 3
    You need to install Perl to get xindy to work (see tex.stackexchange.com/q/158796). makeindex doesn't support UTF-8. – Nicola Talbot Nov 19 '17 at 16:09
  • It worked. Is there a command to eliminate the letters A B C Ç before the words ? – alfred Nov 19 '17 at 16:39
1

Solved by installing Perl as suggested by Nicola Talbot and using

xindy -M texindy -L albanian -C utf8 sample.idx <- replace sample by your file name between compilations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.