New on CTAN: luavlna
Version 0.1: ~~~~~~~~~~~~~ The purpose of this new package is to prevent line breaks after nonsyllabic prepositions and single letter conjuctions. This behavior is required by typographic norms in some languages such as Czech or Polish. Luavlna can detect languages used in the text and insert spaces only in parts of the document where languages that require this feature were used. It supports both plain LuaTeX and LuaLaTeX. Version 0.1a: ~~~~~~~~~~~~~ Added luavlna- prefix to all Lua modules in order to prevent possible naming clashes with other modules. Version 0.1b: ~~~~~~~~~~~~~ This is a bug fix release; there was a missing test in the Lua code, which could result in a compilation error.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/luavlna The package’s files themselves can be inspected at http://mirror.ctan.org/macros/luatex/generic/luavlna/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .
luavlna – Prevent line breaks after single letter words, units, or academic titles
In some languages, like Czech or Polish, there should be no single letter words at the end of a line, according to typographical norms. This package handles such situations using LuaTeX’s callback mechanism. In doing this, the package can detect languages used in the text and insert spaces only in parts of the document where languages requiring this feature are used.
Another feature of this package is the inclusion of non-breakable space after initials (like in personal names), after or before academic degrees, and between numbers and units.
The package supports both plain LuaTeX and LuaLaTeX.
BTW: “vlna” is the Czech word for “wave” or “curl” and also denotes the tilde which, in TeX, is used for “unbreakable spaces”.
- 2023-03-30 CTAN update: luavlna
- 2022-08-18 CTAN update: luavlna
- 2021-03-03 CTAN update: luavlna
- 2021-01-11 CTAN Update: luavlna
- 2020-06-03 CTAN Update: luavlna
- 2019-11-08 CTAN update: luavlna
- 2019-10-30 CTAN update: luavlna
- 2019-10-23 CTAN update: luavlna