# CTeX-org/ctex-kit

Chinese typesetting infrastructure for LaTeX — ctex, xeCJK, and satellite packages (XeLaTeX / LuaLaTeX / pdfLaTeX / upLaTeX)

Repository: https://github.com/CTeX-org/ctex-kit
Canonical: https://ross.abutalabs.com/products/ctex-kit
Homepage: https://ctan.org/pkg/ctex
Language: TeX
License Family: other
Topics: latex, ctex, chinese, cjk, expl3, l3build, lualatex, tex, typesetting, xecjk, xelatex
Last push: 2026-08-22T13:40:03+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4189, "days_push": 11, "days_rel": 11, "gap_med": 3.0, "n_releases_24m": 15}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1052, forks 126 (observed 2026-08-28T04:03:23.330565+00:00)

## What it is
CTeX-kit is a collection of LaTeX packages, scripts, and resources providing Chinese typesetting infrastructure, including the core ctex document classes and xeCJK font management package. It supports multiple TeX engines (XeLaTeX, LuaLaTeX, pdfLaTeX, upLaTeX) with unified Chinese font configuration, punctuation kerning, and Chinese-style formatting.

## Use cases
- typeset a Chinese document in LaTeX
- add pinyin annotations above Chinese characters
- format numbers and dates in Chinese style
- compress CJK punctuation spacing in LaTeX
- mix Chinese and Western text with proper spacing and line spacing
- use Chinese fonts with XeLaTeX or LuaLaTeX
- write a Chinese thesis or book with ctexart/ctexbook classes

## When to choose
- you need reliable, actively maintained Chinese typesetting in LaTeX across multiple TeX engines
- you want Chinese-style section headings, fonts, and punctuation handled automatically
- you need satellite features like pinyin annotation or Chinese numerals

## When to avoid
- you are not typesetting CJK content
- you use a word processor or non-TeX typesetting workflow
- you need a different CJK language's typographic conventions (e.g., Japanese vertical typesetting)

## Facets
- artifact type: library
- maturity: active
- function: templating, internationalization, documentation, developer-tools
- domain: documentation, text-editors, developer-tools
- platform: windows, cross-platform, cli
- tags: latex, chinese-typesetting, cjk, xelatex, lualatex, tex, punctuation-kerning, pinyin, font-configuration, localization, linux, macos

## Member repositories
- CTeX-org/ctex-kit (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:23.330565+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:59:40.425870+00:00, confidence not recorded.
  - readme: https://github.com/CTeX-org/ctex-kit (fetched 2026-08-28T04:03:23.330565+00:00, sha 1ffea0fe235f)
  - homepage: https://ctan.org/pkg/ctex (fetched 2026-08-29T13:00:56.303928+00:00, sha 9d3f65cad098)
- Data as of 2026-08-30T08:39:29.467469+00:00.
