From 725d3ea39e6df5a7e274f320b6e52976d093e45e Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Fri, 2 Apr 2010 23:35:49 +0200
Subject: Import ConTeXt math modules

Modules that provide OpenType and Unicode math related functionality,
not very tested yet, but it seems to magically fix some of unicode-math
issues.

May be it should be trimmed a bit, since a good chunk of the code is of
no use to us.
---
 luaotfload.dtx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 3f5d59d..f1ffad9 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -460,12 +460,17 @@ end
 
 tex.attribute[0] = 0
 
+luaotfload.loadmodule('char-ini.lua')
+luaotfload.loadmodule('char-utf.lua')
+
 luaotfload.loadmodule('node-res.lua')
+luaotfload.loadmodule('node-pro.lua')
 luaotfload.loadmodule('node-inj.lua')
 luaotfload.loadmodule('node-fnt.lua')
 luaotfload.loadmodule('node-dum.lua')
 
 luaotfload.loadmodule('font-ini.lua')
+luaotfload.loadmodule('font-enc.lua')
 luaotfload.loadmodule('font-tfm.lua')
 luaotfload.loadmodule('font-cid.lua')
 luaotfload.loadmodule('font-map.lua')
@@ -483,6 +488,14 @@ luaotfload.loadmodule('font-dum.lua')
 luaotfload.loadmodule('font-nms.lua')
 luaotfload.loadmodule('font-clr.lua')
 
+luaotfload.loadmodule('math-ini.lua')
+luaotfload.loadmodule('math-dim.lua')
+luaotfload.loadmodule('math-ent.lua')
+luaotfload.loadmodule('math-ext.lua')
+luaotfload.loadmodule('math-vfu.lua')
+luaotfload.loadmodule('math-map.lua')
+luaotfload.loadmodule('math-noa.lua')
+
 %    \end{macrocode}
 %
 %    Finally two functions 
@@ -551,6 +564,10 @@ end
 \newluatexattribute\otfl@cursdone
 \newluatexattribute\otfl@kernpair
 \newluatexattribute\otfl@color
+\newluatexattribute\otfl@mathalphabet
+\newluatexattribute\otfl@mathgreek
+\newluatexattribute\otfl@mathsize
+\newluatexattribute\otfl@mathpunctuation
 
 %    \end{macrocode}
 %
-- 
cgit v1.2.3

