CTAN Comprehensive TeX Archive Network

CTAN update: xecjk

Date: July 13, 2026 5:07:35 AM CEST
Liam Huang submitted an update to the xecjk package. Version: 3.10.2 License: lppl1.3c Summary description: Support for CJK documents in XeLaTeX Announcement text:
This release introduces new options for em-dash (破折号) ligature handling and Latin punctuation switching, improves line-breaking and spacing around long punctuation marks, and fixes two `CJKecglue`-related bugs. NEW FEATURES - Add `PoZheHao` character class to support font-level em-dash ligatures (#382). - Add `PoZheHaoLigature` option to enable font-level em-dash ligature support (#382). - Add `LatinPunct` option, allowing shared CJK/Latin curly quotes, middle dots, and ellipses to be switched to their Latin punctuation counterparts (#389, #431). IMPROVEMENTS - Check kinsoku (line-breaking prohibition) rules on both sides of a break point between long punctuation and other punctuation: an opening punctuation mark must not hang at the end of a line, and a closing punctuation mark or `NoBreakLongPunct` must not appear at the start of a line (#456). - Treat `PoZheHao`-class characters as fullwidth closing punctuation (#382). - Change the compression amount between em-dashes to a multi-way maximum, ensuring that two consecutive `U+2014` do not exceed two Chinese character widths in total (#382). - Add a new check to coordinate blank compensation for em-dashes occupying two character widths (#382). - When ligature is not enabled, add one full blank on each side of an em-dash to ensure consecutive em-dashes occupy two character widths (#382). - Restore `PoZheHaoLigature` settings after reset (#382). - Restore `LatinPunct` settings after reset (#389). BUG FIXES - Use `\setlanguage` to actively flush a language whatsit when closing a `\verb` group, fixing the doubled `CJKecglue` issue when a source-code space appears to the right of `\verb` (#919). - Patch `\meta` from the `doc` package to wrap argument content in `\hbox:n`, fixing the spurious `CJKecglue` before the first character inside `\meta` (#951). DOCUMENTATION - Enable `Language` and `PoZheHaoLigature` for the documentation font, so em-dashes are rendered as fullwidth ligature glyphs (#382). - Switch the documentation monospaced font to Zhuque Fangsong and the italic font to LXGW WenKai GB Lite (#908). Source code: https://github.com/CTeX-org/ctex-kit Issue tracker: https://github.com/CTeX-org/ctex-kit/issues
This package is located at https://mirrors.ctan.org/macros/xetex/latex/xecjk More information is at https://ctan.org/pkg/xecjk
Thanks for the upload. For the CTAN Team Manfred Lotz 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 .

xecjk – Support for CJK documents in

xeCJK is a package for typesetting documents in Chinese, Japanese or Korean with . It provides CJK-specific automatic glue between CJK and non-CJK characters, full control over CJK punctuation compression, separate font families for CJK and Latin scripts, and a number of fine-grained typographic refinements for the CJK script.

Packagexecjk
Version3.10.2
Copyright2007–2010 Wenchang Sun
2009–2022 Leo Liu
2012–2022 Qing Lee
2026 Liam Huang
MaintainerLiam Huang
Qing Lee
Leo Liu
Jiang Jiang (inactive)
Wenchang Sun (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author