The lua-uni-algos Package
Author: Marcel Krüger
License: LPPL v1.3
A collection of small Lua modules implementing some if the most generic Unicode algorithms for use with LuaTeX. This package tries to reduce duplicated work by collecting a set of small utilities which can be used be useful for many LuaTeX packages dealing with Unicode strings. There is no user-level functionality provided.
Additional Unicode algorithms will be added in the future, if you need a specific algorithm feel free to open an issue on GitHub.
Given that this package provides Lua modules, it is only useful in Lua(HB)TeX. Additionally, it expects an up-to-date version of the
unicode-data package to be present.
If you found a bug, please open an issue on GitHub.
In most cases it is best to use an official release provided by your TeX distribution. If you want to install an experimental build directly from the repository, use
Download the contents of this package in one zip archive (81.4k).
lua-uni-algos – Unicode algorithms for LuaTeX
Lua code working with Unicode data has to deal with quite some challenges. For example there are many canonically equivalent sequences which should be treated in the same way, and even identifying a single character becomes quite different once you have to deal with all kinds of combining characters, emoji sequences and syllables in different scripts.
Therefore lua-uni-algos wants to build a collection of small libraries implementing algorithms to deal with lots of the details in Unicode, such that authors of LuaTeX packages can focus on their actual functionality instead of having to fight against the peculiarities of Unicode.
Given that this package provides Lua modules, it is only useful in Lua(HB)TeX. Additionally, it expects an up-to-date version of the unicode-data package to be present.
This package is intended for package authors only; no user-level functionality provided.
|Licenses||The LaTeX Project Public License 1.3|
|Copyright||2020–2022 Marcel Krüger|
|Contained in||TeX Live as lua-uni-algos|
MiKTeX as lua-uni-algos