CTAN Comprehensive TeX Archive Network

CTAN update: Lua-CN

Datum: 9. August 2026 08:41:27 MESZ
Frank Lin submitted an update to the LuaTeX-CN bundle. Version: 0.4.1 License: apache2 Summary description: A LuaTeX based package to handle Chinese text typesetting Announcement text:
luatex-cn 0.4.1 -- first update on CTAN since 0.3.1. luatex-cn typesets Chinese with LuaLaTeX in both writing directions: faithful reproduction of classical (guji) page layouts, and modern Chinese typesetting following the W3C Requirements for Chinese Text Layout (clreq). Highlights since 0.3.1: * Unified entry point: \usepackage{luatex-cn} now loads the new horizontal clreq pipeline by default (options are passed through, e.g. [style=taiwan]); the [vertical] option or any ltc-* document class selects the vertical engine, with 0.3.x semantics unchanged. * Horizontal clreq pipeline (new): CJK-Western spacing (1/4 em, compressible to 1/8, stretchable to 1/2, with the exceptions clreq specifies), punctuation width adjustment with Mainland China / Taiwan / untouched presets, quote-style conversion, four-level line-breaking prohibitions and non-separation rules, intra-line compression/stretching in clreq priority order, half-width punctuation at line end, hanging punctuation, interlinear marks (proper-name mark, book-title mark, emphasis dots), word-aligned pinyin ruby, paragraph/page controls (orphan handling, hanging indentation, last-line alignment). * Vertical clreq conformance: 1/4 em CJK-Western boundary spacing, \Sideways (rotated Western text), \CombineUpright (tate-chu-yoko), hanging punctuation at column end, clreq-conformant emphasis dots per document class. * A shared rules kernel used by both directions (single source for the clreq punctuation table, space-distribution solver and prohibition rules), a published conformance matrix (doc/CLREQ-CONFORMANCE.md), and 119 PDF-content-stream metric assertions run in CI. * Installation-free fonts: \setmainfont with a bare font file name, registry aliases, and a helper script that installs fonts into TEXMFHOME without touching the system font library. * Typesetting additions from the 0.3.x series: tables with cross-page support and horizontal bands, European-style genealogy charts, gongche (traditional musical notation), illustration pages, colophon (paiji) boxes, multi-level headings, and a modern vertical book layout in the style of Zhonghua Shuju (footnotes, first-line indentation, alternating running heads). * 0.4.1 fixes: Western words in annotations/textboxes are no longer hyphenated and mis-columned; in fixed-grid mode \Sideways now sizes rotated words by their advance width. Full changelog: https://github.com/open-guji/luatex-cn/blob/main/CHANGELOG.md
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luatex-cn The package’s files themselves can be inspected at https://mirrors.ctan.org/language/chinese/luatex-cn/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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

Lua-CN – A Lua based package to handle Chinese text typesetting

A Lua package for Chinese character typesetting, covering horizontal/vertical, traditional/modern layout. Currently focus on Ancient Book replication. Implemented core logic of vertical typesetting, decorative elements of traditional Chinese books, and interlinear notes.

PaketLuaTeX-CN
Version0.4.1
Copyright2026 Open-Guji
BetreuerSheldon Li
Frank Lin

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren