diff options
Diffstat (limited to 'tex/context/base/mkxl')
-rw-r--r-- | tex/context/base/mkxl/cont-new.mkxl | 2 | ||||
-rw-r--r-- | tex/context/base/mkxl/context.mkxl | 2 | ||||
-rw-r--r-- | tex/context/base/mkxl/math-del.mklx | 13 | ||||
-rw-r--r-- | tex/context/base/mkxl/math-fnt.lmt | 27 | ||||
-rw-r--r-- | tex/context/base/mkxl/tabl-tbl.mkxl | 8 |
5 files changed, 36 insertions, 16 deletions
diff --git a/tex/context/base/mkxl/cont-new.mkxl b/tex/context/base/mkxl/cont-new.mkxl index 006494969..44470eaf7 100644 --- a/tex/context/base/mkxl/cont-new.mkxl +++ b/tex/context/base/mkxl/cont-new.mkxl @@ -13,7 +13,7 @@ % \normalend % uncomment this to get the real base runtime -\newcontextversion{2022.08.25 17:38} +\newcontextversion{2022.08.25 19:18} %D This file is loaded at runtime, thereby providing an excellent place for hacks, %D patches, extensions and new features. There can be local overloads in cont-loc diff --git a/tex/context/base/mkxl/context.mkxl b/tex/context/base/mkxl/context.mkxl index c873ff912..8baf5a786 100644 --- a/tex/context/base/mkxl/context.mkxl +++ b/tex/context/base/mkxl/context.mkxl @@ -29,7 +29,7 @@ %D {YYYY.MM.DD HH:MM} format. \immutable\edef\contextformat {\jobname} -\immutable\edef\contextversion{2022.08.25 17:38} +\immutable\edef\contextversion{2022.08.25 19:18} %overloadmode 1 % check frozen / warning %overloadmode 2 % check frozen / error diff --git a/tex/context/base/mkxl/math-del.mklx b/tex/context/base/mkxl/math-del.mklx index 875ccdeee..d046a0912 100644 --- a/tex/context/base/mkxl/math-del.mklx +++ b/tex/context/base/mkxl/math-del.mklx @@ -84,4 +84,17 @@ {\popcolor#body}% \fi} +% todo: +% +% \setupmathdelimited +% [topoffset=.2\exheight] +% +% \definemathdelimited +% [fourier] +% [rule=no, +% left=\zerocount, +% right="FE944] % 46 48 +% +% $ \autofences \fourier{(z+\frac12)} + \courier{(z+\frac12)} + \xourier{(z+\frac12)} $ + \protect \endinput diff --git a/tex/context/base/mkxl/math-fnt.lmt b/tex/context/base/mkxl/math-fnt.lmt index 23a69d0ec..1901d79ae 100644 --- a/tex/context/base/mkxl/math-fnt.lmt +++ b/tex/context/base/mkxl/math-fnt.lmt @@ -40,19 +40,22 @@ local function register_extensible(font,char,style,box) local fontdata = chardata[font] local oldchar = fontdata[char] local unicode = oldchar.unicode or char --- we cannot have self referencing t3 fonts -local oldcommands = oldchar.oldcommands -local newcommands = oldchar.commands -if oldcommands then - oldchar.commands = oldcommands -end + -- we cannot have self referencing t3 fonts + local oldcommands = oldchar.oldcommands + local newcommands = oldchar.commands + if oldcommands then + oldchar.commands = oldcommands + end + -- local private = fonts.helpers.setboxdirectly(font,unicode,box) -- we saved a scaled glyph stream so we now use an unscaled one ... local g = new_glyph(font,private,al) local n = new_hlist(g) -if newcommands then - oldchar.commands = newcommands -end + -- + if newcommands then + oldchar.commands = newcommands + end + -- -- local newchar = { -- unicode = unicode, @@ -86,6 +89,10 @@ end return tonode(n) end -experiments.register("math.extensibles", function(v) +directives.register("math.extensibles", function(v) callback.register("register_extensible", v and register_extensible or nil) end) + +-- Default per 2022-08-25 + +callback.register("register_extensible", register_extensible) diff --git a/tex/context/base/mkxl/tabl-tbl.mkxl b/tex/context/base/mkxl/tabl-tbl.mkxl index ac2eae49f..4d4037ff6 100644 --- a/tex/context/base/mkxl/tabl-tbl.mkxl +++ b/tex/context/base/mkxl/tabl-tbl.mkxl @@ -436,11 +436,11 @@ \newconditional\c_tabl_use_size \newconditional\c_tabl_sparse_skips -% \settrue\c_tabl_use_size -% \settrue\c_tabl_sparse_skips +\settrue\c_tabl_use_size % default per 2022-08-25 +\settrue\c_tabl_sparse_skips % default per 2022-08-25 -\installtexexperiment {tabulateusesize} {\settrue\c_tabl_use_size} {\setfalse\c_tabl_use_size} -\installtexexperiment {tabulatesparseskips} {\settrue\c_tabl_sparse_skips} {\setfalse\c_tabl_sparse_skips} +\installtexdirective {tabulateusesize} {\settrue\c_tabl_use_size} {\setfalse\c_tabl_use_size} +\installtexdirective {tabulatesparseskips} {\settrue\c_tabl_sparse_skips} {\setfalse\c_tabl_sparse_skips} \def\tabl_tabulate_set_preamble_step#1#2% only makes sense for many tabulates {\etoksapp\t_tabl_tabulate_preamble{% |