CTAN Comprehensive TeX Archive Network

New on CTAN: lu­avlna

Date: June 1, 2018 6:03:23 PM CEST
Michal Hoftich sub­mit­ted the lu­avlna pack­age. Ver­sion: 0.1b 2018-05-31 Li­cense: lp­pl1.3 Sum­mary de­scrip­tion: Prevent line breaks af­ter sin­gle let­ter words, units, or ada­demic ti­tles An­nounce­ment text:
Ver­sion 0.1: ~~~~~~~~~~~~~ The pur­pose of this new pack­age is to pre­vent line breaks af­ter non­syl­labic prepo­si­tions and sin­gle let­ter con­juc­tions. This be­hav­ior is re­quired by ty­po­graphic norms in some lan­guages such as Czech or Pol­ish. Luavlna can de­tect lan­guages used in the text and in­sert spaces only in parts of the doc­u­ment where lan­guages that re­quire this fea­ture were used. It sup­ports both plain LuaTeX and LuaLaTeX. Ver­sion 0.1a: ~~~~~~~~~~~~~ Added lu­avlna- pre­fix to all Lua mod­ules in or­der to pre­vent pos­si­ble nam­ing clashes with other mod­ules. Ver­sion 0.1b: ~~~~~~~~~~~~~ This is a bug fix re­lease; there was a miss­ing test in the Lua code, which could re­sult in a com­pi­la­tion er­ror.
The pack­age’s Cat­a­logue en­try can be viewed at https://ctan.org/pkg/lu­avlna The pack­age’s files them­selves can be in­spected at http://mir­ror.ctan.org/macros/lu­a­tex/generic/lu­avlna/
Thanks for the up­load. For the CTAN Team Pe­tra Rübe-Pugliese
We are sup­ported by the TeX users groups. Please join a users group; see https://www.tug.org/user­groups.html .

lu­avlna – Prevent line breaks af­ter sin­gle let­ter words, units, or ada­demic ti­tles

In some lan­guages, like Czech or Pol­ish, there should be no sin­gle let­ter words at the end of a line, ac­cord­ing to ty­po­graph­i­cal norms. This pack­age han­dles such sit­u­a­tions us­ing Lua’s call­back mech­a­nism. In do­ing this, the pack­age can de­tect lan­guages used in the text and in­sert spaces only in parts of the doc­u­ment where lan­guages re­quir­ing this fea­ture are used.

Another fea­ture of this pack­age is the in­clu­sion of non-break­able space af­ter ini­tials (like in per­sonal names), af­ter or be­fore aca­demic de­grees, and be­tween num­bers and units.

The pack­age sup­ports both plain Lua and Lua.

BTW: “vlna” is the Czech word for “wave” or “curl” and also de­notes the tilde which, in , is used for “un­break­able spaces”.

Pack­agelu­avlna
Ver­sion0.1b 2018-05-31
Main­tainerMichal Hoftich

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author