diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-05 20:55:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-05 20:55:05 +0000 |
commit | 4146adb3d1685849c396efde0ec536b1eb6c874e (patch) | |
tree | d44929eca64b956414f570a4a78fc3312f041551 /Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex | |
parent | ed74a8842dbbe9c47599815fbe999e7b78f4270c (diff) |
lua-uni-algos (5jul21)
git-svn-id: svn://tug.org/texlive/trunk@59846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex')
-rw-r--r-- | Master/texmf-dist/doc/luatex/lua-uni-algos/lua-uni-algos.tex | 8 |
1 files changed, 7 insertions, 1 deletions
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 8f7627c04c7..58ae2fabc6f 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} +\title{Unicode algorithms for Lua\TeX\thanks{This document corresponds to \pkg{lua-uni-algos} v0.3.}} \author{Marcel Krüger\thanks{E-Mail: \href{mailto:tex@2krueger.de}{\nolinkurl{tex@2krueger.de}}}} \MakeShortVerb\| \newcommand\pkg{\texttt} @@ -51,6 +51,12 @@ 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. +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. + \section{Case folding} For case folding load the Lua module |lua-uni-case|. You can either load it directly with |