Skip to content

Improve Kyrgyz #388

@jbezos

Description

@jbezos

@SpecialCharacter

This issue continues hyphenation/tex-hyphen#68 (comment).

I’m assuming lualatex, which is the recommended engine.

Here is a block for a date variant. I’ve named it tentatively Kyrgyz
(no doubt there is a better name and I just copied the
month names from Wikipedia).

[date.gregorian.Kyrgyz]
date.long = [y]-ж., [d]-[MMMM]
date.short = [d]/[M]/[yy]
months.wide.1  = Үчтүн айы
months.wide.2  = Бирдин айы
months.wide.3  = Жалган куран
months.wide.4  = Чын куран
months.wide.5  = Бугу
months.wide.6  = Кулжа
months.wide.7  = Теке
months.wide.8  = Баш Оона
months.wide.9  = Аяк Оона
months.wide.10 = Тогуздун айы
months.wide.11 = Жетинин айы
months.wide.12 = Бештин айы

The simplest way to use it is (note the name here is all lowecase):

\documentclass{article}

\usepackage[kyrgyz, provide={ calendar=.kyrgyz }]{babel}
\babelfont{rm}{NewComputerModern10}

\begin{document}

\today

\end{document}

Here is an example on how to deal with changes in spelling when hyphenating a word. Very basic and for demonstation purposes:

\documentclass{article}

% hyphenrules=+ creates an empty set of patterns
\usepackage[kyrgyz, provide={ hyphenrules=+ }]{babel}
\babelfont{rm}{NewComputerModern10}

\babelhyphenmins{1}{1}
\babelposthyphenation{kyrgyz}{ оку () я ()  }{
  { no=я, pre=-, post=йа }
}
 
\begin{document}

окуя

\hsize1pt 

окуя

\end{document}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions