Thread View: comp.text.tex
1 messages
1 total messages
Started by CTAN Announcements
Sun, 15 Nov 2026 18:20
CTAN update: LuaCJK
Author: CTAN Announcements
Date: Sun, 15 Nov 2026 18:20
Date: Sun, 15 Nov 2026 18:20
79 lines
5360 bytes
5360 bytes
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 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