node-tex.lmt /size: 1293 b    last modification: 2021-10-28 13:51
1if not modules then modules = { } end modules ['node-tex'] = {
2    version   = 1.001,
3    comment   = "companion to node-ini.mkiv",
4    author    = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
5    copyright = "PRAGMA ADE / ConTeXt Development Team",
6    license   = "see context related readme files"
7}
8
9builders          = builders        or { }
10local kernel      = builders.kernel or { }
11builders.kernel   = kernel
12
13local nuts        = nodes.nuts
14
15local hyphenate   = language.hyphenate
16
17local collapsing  = nuts.collapsing
18local hyphenating = nuts.hyphenating
19local ligaturing  = nuts.ligaturing
20local kerning     = nuts.kerning
21
22function kernel.collapsing(head)
23    return (collapsing(head)) -- for now we don't pass the three character numbers
24end
25
26function kernel.hyphenating(head)
27    return (hyphenating(head))
28end
29
30function kernel.ligaturing(head)
31    return (ligaturing(head))
32end
33
34function kernel.kerning(head)
35    return (kerning(head))
36end
37
38callbacks.register('collapse'  , false, "normal collapsing routine, called elsewhere")
39callbacks.register('hyphenate' , false, "normal hyphenation routine, called elsewhere")
40callbacks.register('ligaturing', false, "normal ligaturing routine, called elsewhere")
41callbacks.register('kerning'   , false, "normal kerning routine, called elsewhere")
42