summaryrefslogtreecommitdiff
path: root/tex/context/base/node-dum.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-dum.lua')
-rw-r--r--tex/context/base/node-dum.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/tex/context/base/node-dum.lua b/tex/context/base/node-dum.lua
new file mode 100644
index 000000000..f39a0873f
--- /dev/null
+++ b/tex/context/base/node-dum.lua
@@ -0,0 +1,19 @@
+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_handler(head)
+-- lang.hyphenate(head)
+ head = nodes.process_characters(head)
+ nodes.inject_kerns(head)
+ nodes.protect_glyphs(head)
+ head = node.ligaturing(head)
+ head = node.kerning(head)
+ return head
+end