diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-11-05 13:35:55 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-11-05 13:35:55 +0100 |
commit | ce22f093d2d9af63927792e2a821e81a49a2ca10 (patch) | |
tree | 6957d03f5c5723a60e62716250c8e2d0e772c9d0 /tex/context/base/mkxl/font-imp-math.lmt | |
parent | ca2f0f64dbb46140d36db84ac6e1b6079a386cfa (diff) | |
download | context-ce22f093d2d9af63927792e2a821e81a49a2ca10.tar.gz |
2021-11-05 12:35:00
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) |