New on CTAN: turkce-sayi

CTAN Announcements via ctan-ann via ctan-ann <[email protected]> Sat, 13 Jun 2026 13:57:07 +0200 (CEST)
Newsgroups gmane.comp.tex.ctan.announce
Organization CTAN
Message-ID <[email protected]>
Sonat Süer submitted the

                 turkce-sayi

package.

Version number: 1.0 2026-06-11
License type: lppl1.3c

Summary description: Automatic Turkish suffix handling for reference numbers

Announcement text:
----------------------------------------------------------------------


Automatic Turkish suffix harmony for numbers in LuaLaTeX

When a number in a Turkish document is produced by a cross-reference (\ref, 
\pageref, \cite), the correct form of any attached suffix depends on how that 
number is pronounced — information that is unavailable at editing time. 
Hardcoding a suffix works for some numbers but silently produces wrong output 
for others.

turkce-sayi resolves this at compile time via LuaTeX. It looks up the 
phonological properties of the number's Turkish name and applies four 
transformation rules: consonant hardening/softening (sertleşme/yumuşama), 
two-way and four-way vowel harmony (ünlü uyumu), and buffer-letter insertion or 
vowel drop (kaynaştırma/düşme). Invariant morphemes such as -ki, -ken, and -yor 
are detected and vowel harmony is reset at their position so that subsequent 
morphemes harmonise correctly. The package requires LuaLaTeX.

Examples:

\trkappend{3}{'de}               % → 3'te   (sertleşme: üç ends in ç)
\trkappend{6}{'de}               % → 6'da   (vowel harmony: altı has back vowel)
\trkappend{2}{'inci}             % → 2'nci  (vowel drop: iki ends in vowel)
\trkpageref{sec:intro}{'de}      % → 5'te   (suffix determined at compile time)
\trkref{sec:results}{'inci}      % → 3'üncü (section number resolved automatically)
\trkbibref{smith2021}{'de}       % → [3]'te (citation number resolved from .aux)


----------------------------------------------------------------------

This package is located at
    https://mirrors.ctan.org/macros/luatex/latex/turkce-sayi

More information is at
    https://www.ctan.org/pkg/turkce-sayi

------------------------------------------------------------------------

    Thanks for the upload.

      For the CTAN Team
     Erik Braun

------------------------------------------------------------------------

CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs
_______________________________________________
ctan-ann mailing list -- [email protected]
To unsubscribe send an email to [email protected]