diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-08 20:55:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-08 20:55:17 +0000 |
commit | f03a7a678fbbe006c2272f28b48465f049327d40 (patch) | |
tree | d65edf6c8010b255ea5163499dd2447c5215fbe4 /Master/texmf-dist/doc/luatex | |
parent | a17b01b849389432a2351e5fa26f64a77b87550a (diff) |
lua-uni-algos (8aug21)
git-svn-id: svn://tug.org/texlive/trunk@60194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex')
-rw-r--r-- | Master/texmf-dist/doc/luatex/lua-uni-algos/README.md | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.pdf | bin | 71584 -> 71964 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex | 10 |
3 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/luatex/lua-uni-algos/README.md b/Master/texmf-dist/doc/luatex/lua-uni-algos/README.md index 239d76212a2..71f4ecb2e4e 100644 --- a/Master/texmf-dist/doc/luatex/lua-uni-algos/README.md +++ b/Master/texmf-dist/doc/luatex/lua-uni-algos/README.md @@ -1,12 +1,12 @@ # The lua-uni-algos Package -Version: v0.3 +Version: v0.4 -Date: 2021-07-05 +Date: 2021-08-08 Author: Marcel Krüger -License: LPPL v1.3c +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. diff --git a/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.pdf b/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.pdf Binary files differindex 38265c35d3e..38b62137980 100644 --- a/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.pdf +++ b/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.pdf diff --git a/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex b/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex index 58ae2fabc6f..2b290c7b7c5 100644 --- a/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex +++ b/Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex @@ -2,7 +2,7 @@ \usepackage{doc, shortvrb, metalogo, hyperref, fontspec} % \setmainfont{Noto Serif} % \setmonofont{FreeMono} -\title{Unicode algorithms for Lua\TeX\thanks{This document corresponds to \pkg{lua-uni-algos} v0.3.}} +\title{Unicode algorithms for Lua\TeX\thanks{This document corresponds to \pkg{lua-uni-algos} v0.4.}} \author{Marcel Krüger\thanks{E-Mail: \href{mailto:tex@2krueger.de}{\nolinkurl{tex@2krueger.de}}}} \MakeShortVerb\| \newcommand\pkg{\texttt} @@ -51,12 +51,18 @@ NFKD: Äpfel... (This example is shown in Latin Modern Mono which has the (for this purpose) very useful property of not handling combining character very well. In a well-behaving font, the `...C` and `...D` lines should look the same.) -Additionally for NFC direct normalization of Lua\TeX\ node lists is supported. +Additionally for direct normalization of Lua\TeX\ node lists is supported. There are two functions |normalize.node.NFC| and |normalize.direct.NFC| taking upto four parameters: The first parameter is the head of the node list to be converted. The second parameter is the font id of the affected character nodes. Only non-protected glyph nodes of the specified font will be normalized. Pass |nil| for the font to normalize without respecting the font in the process. The third parameter is an optional table. If it is not |nil|, normalization is supressed if it might add glyph which map to |false| (or |nil|) in this table. If the forth argument is |true|, normalization will never join two glyph nodes with different attributes. +For NFD and NFKD equivalent functions exists without the last parameter (since they never compose nodes, they never have to deal with composing nodes with different +attributes. + +NFKC is not supported for node list normalization since the author is not convinced that there is any usecase for it. (Probably there isn't any usecase for node list +NFKD normalization either, but that was easy to implement while NFKC would need separate data tables. + \section{Case folding} For case folding load the Lua module |lua-uni-case|. You can either load it directly with |