• CTAN update: LuaCJK

    From CTAN Announcements@petra@ctan.org to ctan-ann on Sun Nov 15 19:20:50 2026
    From Newsgroup: comp.text.tex

    Mingyu Xia submitted an update to the

    LuaCJK

    package.

    Version: 0.0.2 2026-11-15
    License: lppl1.3c

    Summary description: A LuaTeX CJK typesetting package

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

    - `Baseline` shifts the glyphs of the font that declares it, so
    two CJK fonts whose baselines do not match can be set side by side.

    - `\LuaCJKnobreak` also forbids the break at a `discretionary`,
    so an explicit hyphen or an automatic hyphenation point inside
    the argument no longer breaks the line.

    - Restore `\CJKfamilydefault` when `\normalfont` or `\textnormal`
    runs, so that the default font command overrides a family chosen
    earlier in the group; `\CJKfamilydefault` follows `\CJKrmdefault`
    until the document sets it.

    - The fallback list is resolved again at every font selection,
    so the fallback follows the series, shape, and size of the text.

    - A CJK character in a formula takes the face of the math version:
    the bold face of the family under `\boldmath` when the family
    has one, and the upright shape instead of the shape of the text.

    - `\CJKfontspec` and `\newCJKfontfamily` take their options after
    the font name as well.

    - The space in front of `\textbf` and its siblings is still the
    inter-character glue: LaTeX moves a space across the italic
    correction of a text font command, and the move leaves the glue
    with the subtype of a skip the document wrote.

    - `AllowBreakBetweenPuncts` no longer lets a closing mark start
    a line or an opening mark end one, and a mark inside a box
    takes part in the prohibitions.

    - The hang of a mark is the blank its font carries, read from
    the outline, so the ink of a line-final or line-initial mark
    stands on the measure instead of half an em inside it; a file
    that cannot be read falls back to half the advance.

    - The hanging of a mark takes part in line breaking, so a line
    that ends at a closing mark or begins with an opening mark
    holds the mark the margin allows; the ink of that mark stands
    outside the line, and `PunctBoundWidth` decides how much of
    the advance stays inside.

    - The double rule takes `format` like the other decorations,
    and a rule or a symbol that carries no `format` follows the
    color of the surrounding text.

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

    The packagerCOs Catalogue entry can be viewed at
    https://ctan.org/pkg/luacjk

    The packagerCOs files themselves can be inspected at
    https://mirrors.ctan.org/macros/luatex/latex/luacjk/

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

    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
    --- Synchronet 3.22a-Linux NewsLink 1.2