🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by CTAN Announcements Sat, 28 Nov 2026 07:49
CTAN update: LuaCJK
#437
Author: CTAN Announcements
Date: Sat, 28 Nov 2026 07:49
114 lines
7144 bytes
Mingyu Xia submitted an update to the

                   LuaCJK

package.

Version:  0.1.1 2026-11-26
License:  lppl1.3c

Summary description:  A LuaTeX CJK typesetting package

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

 - With `breaklines`, a run of CJK characters inside an `lstlisting`
   block is set one character at a time, so a line breaks between
   two of them; the run is still one token, so `emph` and `keywords`
   still highlight the whole word.

 - A declared sub-block adds its ranges to the CJK character class,
   so a block declared outside the built-in CJK ranges (the circled
   numbers `U+2460` to `U+2473`, say) reaches the font the family
   gives it instead of staying in the Latin font.

 - `PunctFamily` expands the family name it is given, so a family
   can be named by `\CJKsfdefault` or another macro that holds the name.

 - `\LuaCJKdisable` and `\LuaCJKenable` end the value of the attribute
   they set, so a digit that follows either command stays in the text
   instead of joining the value.

 - Every `\LuaCJKnobreak` marks its argument as a span of its own,
   so two arguments beside each other keep the line break between them,
   while an argument written inside another one still belongs to
   the span around it.

 - The span identifier of `\LuaCJKnobreak` ends its value, so an
   argument that begins with a digit keeps it.

 - A family that `PunctFamily` names but no declaration provides
   warns once, so the fallback of the punctuation to the text font
   is no longer silent.

 - The `Baseline` of a family lifts a CJK character that is already
   set in the family's own font, which is what a document that selects
   that font itself with `\fontspec` gets.

 - A source space between two long punctuation marks adds no advance
   and no stretch, so justification cannot pull a run of dashes
   or ellipses apart.

 - `CJLineBreak` reads the settings of the character that would
   start the line, so a group that selects `strict` no longer forbids
   a break in front of a small kana written outside it.

 - A word space between two punctuation marks is a break point again:
   the two are not adjacent, so the rule that keeps two adjacent
   marks together does not read them as a pair.

 - A paragraph that begins with a box hangs the opening mark inside
   it as well, so `\mbox` around the mark leaves its blank in the
   indentation, as a line of plain text does.

 - A mark inside a box hangs only when nothing inked stands between
   it and the edge of that box, so `\fbox` and `\framebox` stop at
   the alignment edge instead of moving their whole frame past it,
   while `\mbox` around a mark keeps its blank in the margin.

 - A space in front of a mark that begins a line the document
   broke keeps the discard of the line head: the rule that carries
   the hang stands where the line begins and not at the break,
   so the line is no longer set the width of that space further in.

 - A box at the end of a paragraph no longer hides its characters
   from `CheckSingle`: the character a `\underline` or an `\mbox`
   ends with is the last character of the paragraph, and the
   characters a box holds count as the one unit they travel as.

 - Provide `\LuaCJKfntefsetup` with the key `commute`, which packs
   the inks of a group of nested decorations into the band their
   own positions make, so the nesting order decides which ink is
   below which instead of every ink keeping the height its keys give.

 - A decoration draws with the settings of its own call, so a `skip`,
   a `subtract`, or a `hidden` reaches a span that another decoration
   of the same kind built the type for, a decoration nested inside
   another one keeps its own inset, and a key that the command
   does not use is accepted and ignored instead of being handed
   to `lua-ul`.

 - A decoration nested inside `\CJKunderdot` keeps the dots:
   the span of the dots is measured with the pair of an inner
   decoration stepped over, and the dots of a call no longer
   depend on which decoration the characters inside it belong to.

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

The package’s Catalogue entry can be viewed at
   https://ctan.org/pkg/luacjk

The package’s 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads