• New on CTAN: turkce-sayi

    From CTAN Announcements via ctan-ann@erik@ctan.org to ctan-ann on Sat Jun 13 13:57:07 2026
    From Newsgroup: comp.text.tex

    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 rCo 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+fme/yumu+fama), two-way and four-way vowel harmony (|+nl|+ uyumu), and buffer-letter insertion or
    vowel drop (kayna+ft-#rma/d|++fme). 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} % raA 3'te (sertle+fme: |+|o ends in |o) \trkappend{6}{'de} % raA 6'da (vowel harmony: alt-# has back vowel)
    \trkappend{2}{'inci} % raA 2'nci (vowel drop: iki ends in vowel) \trkpageref{sec:intro}{'de} % raA 5'te (suffix determined at compile time)
    \trkref{sec:results}{'inci} % raA 3'|+nc|+ (section number resolved automatically)
    \trkbibref{smith2021}{'de} % raA [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
    --- Synchronet 3.22a-Linux NewsLink 1.2