diff options
Diffstat (limited to 'tex/context/base/mkxl/font-imp-math.lmt')
-rw-r--r-- | tex/context/base/mkxl/font-imp-math.lmt | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tex/context/base/mkxl/font-imp-math.lmt b/tex/context/base/mkxl/font-imp-math.lmt index 3077d0dcd..677bff91a 100644 --- a/tex/context/base/mkxl/font-imp-math.lmt +++ b/tex/context/base/mkxl/font-imp-math.lmt @@ -53,6 +53,7 @@ registerotffeature { } } + -- this will become a mode in the engine local function initialize(tfmdata,value) @@ -180,7 +181,7 @@ end -- } -- } -local specification = { +registerotffeature { name = "compactmath", description = "use one math font", initializers = { @@ -189,8 +190,6 @@ local specification = { } } -registerotffeature(specification) - -- The problem is that the traditional code path doesn't add an italic to the subscript, -- simply because it assumes that the width has that already subtracted. So, we cannot -- compensate in the following way. We're stuck with the fact that the texgyre fonts @@ -232,7 +231,7 @@ local function initialize(tfmdata,value) end end -local specification = { +registerotffeature { name = "oldmath", description = "deal with fake opentype fonts", -- manipulators = { @@ -245,8 +244,6 @@ local specification = { } } -registerotffeature(specification) - local function initialize(tfmdata,value) if type(value) == "string" then local rawdata = tfmdata.shared.rawdata @@ -260,7 +257,7 @@ local function initialize(tfmdata,value) end end -local specification = { +registerotffeature { name = "mathcontrol", description = "control specific old/new math handling", initializers = { @@ -268,5 +265,3 @@ local specification = { node = initialize, } } - -registerotffeature(specification) |