blob: 274e0cdd604ba6d34f7a397362a723670a305477 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
if not modules then modules = { } end modules ['node-dum'] = {
version = 1.001,
comment = "companion to luatex-*.tex",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
nodes = nodes or { }
function nodes.simple_font_dummy(head,tail)
return tail
end
function nodes.simple_font_handler(head)
local tail = node.slide(head)
-- lang.hyphenate(head,tail)
head = nodes.process_characters(head,tail)
nodes.inject_kerns(head)
nodes.protect_glyphs(head)
tail = node.ligaturing(head,tail)
tail = node.kerning(head,tail)
return head
end
|