diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-05-09 17:39:46 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-05-09 17:39:46 +0200 |
commit | 4396699cb99f42f6378ed7229788bbceb898851a (patch) | |
tree | 27558ace7551b158ad0d515aa7e761caef844e96 /tex/context/base/mkxl/toks-aux.lmt | |
parent | a2ebcf294b4f2b10a3ecef1d1d3c7de7694c498c (diff) | |
download | context-4396699cb99f42f6378ed7229788bbceb898851a.tar.gz |
2021-05-09 17:14:00
Diffstat (limited to 'tex/context/base/mkxl/toks-aux.lmt')
-rw-r--r-- | tex/context/base/mkxl/toks-aux.lmt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/toks-aux.lmt b/tex/context/base/mkxl/toks-aux.lmt index 4f9ed7eb1..46d42dfdc 100644 --- a/tex/context/base/mkxl/toks-aux.lmt +++ b/tex/context/base/mkxl/toks-aux.lmt @@ -135,6 +135,8 @@ local hyphenationcodes = { } local frozenparcodes = { } local flagcodes = { } local normalizecodes = { } +-- local parcontextcodes = { } +-- local parbegincodes = { } for k, v in next, tex.getgroupvalues() do groupcodes[k] = gsub(v,"[_ ]","") end for k, v in next, tex.gethyphenationvalues() do hyphenationcodes[k] = gsub(v,"[_ ]","") end @@ -143,6 +145,8 @@ for k, v in next, tex.getdiscoptionvalues() do discoptioncodes[k] = gsub(v,"[_ for k, v in next, tex.getfrozenparvalues() do frozenparcodes[k] = gsub(v,"[_ ]","") end for k, v in next, tex.getflagvalues() do flagcodes[k] = gsub(v,"[_ ]","") end for k, v in next, tex.getnormalizevalues() do normalizecodes[k] = gsub(v,"[_ ]","") end +-- for k, v in next, tex.getparcontextvalues() do parcontextcodes[k] = gsub(v,"[_ ]","") end +-- for k, v in next, tex.getparbeginvalues() do parbegincodes[k] = gsub(v,"[_ ]","") end if environment.initex then @@ -155,6 +159,8 @@ if environment.initex then for k, v in next, frozenparcodes do texintegerdef("frozen" .. v .. "code", k,"immutable") end for k, v in next, flagcodes do texintegerdef(v .. "flagcode", k,"immutable") end for k, v in next, normalizecodes do texintegerdef(v .. "code", k,"immutable") end + -- for k, v in next, parcontextcodes do texintegerdef(v .. "parcontextcode", k,"immutable") end + -- for k, v in next, parbegincodes do texintegerdef(v .. "parbegincode", k,"immutable") end end @@ -165,6 +171,8 @@ hyphenationcodes = utilities.storage.allocate(table.swapped(hyphenationcodes frozenparcodes = utilities.storage.allocate(table.swapped(frozenparcodes, frozenparcodes)) flagcodes = utilities.storage.allocate(table.swapped(flagcodes, flagcodes)) normalizecodes = utilities.storage.allocate(table.swapped(normalizecodes, normalizecodes)) +-- parcontextcodes = utilities.storage.allocate(table.swapped(parcontextcodes, parcontextcodes)) +-- parbegincodes = utilities.storage.allocate(table.swapped(parbegincodes, parbegincodes)) tex.groupcodes = groupcodes tex.glyphoptioncodes = glyphoptioncodes @@ -173,3 +181,5 @@ tex.hyphenationcodes = hyphenationcodes tex.frozenparcodes = frozenparcodes tex.flagcodes = flagcodes tex.normalizecodes = normalizecodes +-- tex.parcontextcodes = parcontextcodes +-- tex.parbegincodes = parbegincodes |