CTAN Comprehensive TeX Archive Network

New on CTAN: luavlna

Date: June 1, 2018 6:03:23 PM CEST
Michal Hoftich submitted the luavlna package. Version: 0.1b 2018-05-31 License: lppl1.3 Summary description: Prevent line breaks after single letter words, units, or adademic titles Announcement text:
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 Lua’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 Lua and Lua.

BTW: “vlna” is the Czech word for “wave” or “curl” and also denotes the tilde which, in , is used for “unbreakable spaces”.

Packageluavlna
Version0.1l 2023-06-21
MaintainerMichal Hoftich

Announcements

more

Guest Book Sitemap Contact Contact Author