summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorLifepillar <lifepillar@users.noreply.github.com>2023-12-27 18:49:50 +0100
committerGitHub <noreply@github.com>2023-12-27 18:49:50 +0100
commit0bca4a00188ccde335e0d6a7b7c093998e09182f (patch)
tree0daabf9cf36a8e05f51f39f9e5a734d80f5414a8 /runtime
parentcea3dac76e42c9a33dccbd2f10ef011f0be5c292 (diff)
runtime(context): update ConTeXt keywords and other minor fixes (#13778)
Update to the ConTeXt runtime files. Changes: 1. shared syntax files updated with `mtxrun --script interface --vim` using the latest ConTeXt LMTX. 2. fixed reference to `make` tag in the help file. 3. added `keepend` to mitigate issues with embedded Lua syntax (see below). 4. the latest revision date of each ConTeXt runtime file has been updated to the date of this commit. The issue about embedded Lua was reported by a user: >Take the following valid ConTeXt file: > \starttext > \ctxlua{context("Text generated from Lua.")} > \ctxlua{context("Another text generated from Lua.")} > \stoptext >On my Vim installation (including when I start Vim with `--clean`), the >closing bracket and curly braces on line 2 are highlighted red and the >syntax highlighting after that is off. >I was trying to dig a little bit into what was going on, using the >`synID()` and `synIDattr()` functions. It appears that the closing >bracket on line 2 is matched as a `luaParentError` instead of the end >of the `luaParen` region. Therefore, the `luaParen` region continues >all the way to the end of the file. The closing curly brace on line >2 is matched as a `luaError`, the 2nd `\ctxlua` on line 3 as >`luaParen`, etc. >This issue doesn't occur in a plain Lua file, where the closing bracket >is correctly matched as the end of the `luaParen` region. So it seems >that something goes wrong when the Lua syntax file is included in the >ConTeXt one. By adding `keepend`, the right parenthesis for some reason is still highlighted as a `luaParenError`, but at least the right curly brace should correctly end the Lua block. From what I've seen, I think it is very difficult to embed Lua syntax properly without help from the Lua syntax file (that is, without patching it). It has global rules such as: syn match luaParenError ")" syn match luaError "}" which make it difficult, if not impossible, to contain Lua syntax without `keepend` (and its limitations). Signed-off-by: Lifepillar <lifepillar@lifepillar.me> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/autoload/context.vim2
-rw-r--r--runtime/compiler/context.vim2
-rw-r--r--runtime/doc/ft_context.txt6
-rw-r--r--runtime/ftplugin/context.vim2
-rw-r--r--runtime/indent/context.vim2
-rw-r--r--runtime/syntax/context.vim4
-rw-r--r--runtime/syntax/shared/context-data-context.vim573
-rw-r--r--runtime/syntax/shared/context-data-interfaces.vim2218
-rw-r--r--runtime/syntax/shared/context-data-metafun.vim6
-rw-r--r--runtime/syntax/shared/context-data-tex.vim369
10 files changed, 1603 insertions, 1581 deletions
diff --git a/runtime/autoload/context.vim b/runtime/autoload/context.vim
index fc59309768..07edd9ae4e 100644
--- a/runtime/autoload/context.vim
+++ b/runtime/autoload/context.vim
@@ -3,7 +3,7 @@ vim9script
# Language: ConTeXt typesetting engine
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
-# Latest Revision: 2022 Sep 19
+# Latest Revision: 2023 Dec 26
# Typesetting {{{
import autoload './typeset.vim'
diff --git a/runtime/compiler/context.vim b/runtime/compiler/context.vim
index 4cabf145c5..f600936f1a 100644
--- a/runtime/compiler/context.vim
+++ b/runtime/compiler/context.vim
@@ -3,7 +3,7 @@ vim9script
# Language: ConTeXt typesetting engine
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
-# Latest Revision: 2022 Aug 12
+# Latest Revision: 2023 Dec 26
if exists("g:current_compiler")
finish
diff --git a/runtime/doc/ft_context.txt b/runtime/doc/ft_context.txt
index 6303357ec7..43872529c5 100644
--- a/runtime/doc/ft_context.txt
+++ b/runtime/doc/ft_context.txt
@@ -1,4 +1,4 @@
-*ft_context.txt* For Vim version 9.0. Last change: 2022 Sep 27
+*ft_context.txt* For Vim version 9.0. Last change: 2023 Dec 26
This is the documentation for the ConTeXt filetype plugin.
@@ -103,13 +103,13 @@ Stop all the ConTeXt jobs currently running in the background.
Settings ~
*'b:context_ignore_makefile'*
*'g:context_ignore_makefile'*
-`:make` can be used to (synchronously) typeset a document. If a Makefile exists
+|make| can be used to (synchronously) typeset a document. If a Makefile exists
and this option is not set, standard `make` is used. If this option is set,
`mtxrun` is invoked instead, even if a Makefile exists.
>
g:context_ignore_makefile = 0
<
-NOTE: before using `:make`, set the working directory of the buffer to the
+NOTE: before using |make|, set the working directory of the buffer to the
directory of the file to be typeset.
*'g:context_extra_options'*
diff --git a/runtime/ftplugin/context.vim b/runtime/ftplugin/context.vim
index 75d26cf649..0070f85425 100644
--- a/runtime/ftplugin/context.vim
+++ b/runtime/ftplugin/context.vim
@@ -4,7 +4,7 @@ vim9script
# Language: ConTeXt typesetting engine
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
-# Latest Revision: 2022 Aug 12
+# Latest Revision: 2023 Dec 26
if exists("b:did_ftplugin")
finish
diff --git a/runtime/indent/context.vim b/runtime/indent/context.vim
index 762c5c16a1..9656151e74 100644
--- a/runtime/indent/context.vim
+++ b/runtime/indent/context.vim
@@ -3,7 +3,7 @@ vim9script
# Language: ConTeXt typesetting engine
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
-# Latest Revision: 2022 Aug 12
+# Latest Revision: 2023 Dec 26
if exists("b:did_indent")
finish
diff --git a/runtime/syntax/context.vim b/runtime/syntax/context.vim
index 08ab1f6988..c5bbbb472b 100644
--- a/runtime/syntax/context.vim
+++ b/runtime/syntax/context.vim
@@ -4,7 +4,7 @@ vim9script
# Language: ConTeXt typesetting engine
# Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
# Former Maintainers: Nikolai Weibull <now@bitwi.se>
-# Latest Revision: 2022 Aug 12
+# Latest Revision: 2023 Dec 26
if exists("b:current_syntax")
finish
@@ -90,7 +90,7 @@ syn match contextDirectLua "\\\%(directlua\|ctxlua\)\>\%(\s*%.*$\)\="
\ nextgroup=contextBeginEndLua skipwhite skipempty
\ contains=contextComment
syn region contextBeginEndLua matchgroup=contextSpecial
- \ start="{" end="}" skip="\\[{}]"
+ \ start="{" end="}" skip="\\[{}]" keepend
\ contained contains=@luaTop,@NoSpell
for synname in keys(context_include)
diff --git a/runtime/syntax/shared/context-data-context.vim b/runtime/syntax/shared/context-data-context.vim
index 82cf41b5e5..a8e124f807 100644
--- a/runtime/syntax/shared/context-data-context.vim
+++ b/runtime/syntax/shared/context-data-context.vim
@@ -2,67 +2,66 @@ vim9script
# Vim syntax file
# Language: ConTeXt
-# Automatically generated by mtx-interface (2022-08-12 10:49)
+# Automatically generated by mtx-interface (2023-12-26 16:40)
syn keyword contextConstants zerocount minusone minustwo plusone plustwo contained
syn keyword contextConstants plusthree plusfour plusfive plussix plusseven contained
syn keyword contextConstants pluseight plusnine plusten pluseleven plustwelve contained
syn keyword contextConstants plussixteen plusfifty plushundred plusonehundred plustwohundred contained
syn keyword contextConstants plusfivehundred plusthousand plustenthousand plustwentythousand medcard contained
-syn keyword contextConstants maxcard maxcardminusone zeropoint onepoint halfapoint contained
-syn keyword contextConstants onebasepoint maxcount maxdimen scaledpoint thousandpoint contained
-syn keyword contextConstants points halfpoint zeroskip centeringskip stretchingskip contained
-syn keyword contextConstants shrinkingskip centeringfillskip stretchingfillskip shrinkingfillskip zeromuskip contained
-syn keyword contextConstants onemuskip pluscxxvii pluscxxviii pluscclv pluscclvi contained
-syn keyword contextConstants normalpagebox binaryshiftedten binaryshiftedtwenty binaryshiftedthirty thickermuskip contained
-syn keyword contextConstants directionlefttoright directionrighttoleft endoflinetoken outputnewlinechar emptytoks contained
-syn keyword contextConstants empty undefined prerollrun voidbox emptybox contained
-syn keyword contextConstants emptyvbox emptyhbox bigskipamount medskipamount smallskipamount contained
-syn keyword contextConstants fmtname fmtversion texengine texenginename texengineversion contained
-syn keyword contextConstants texenginefunctionality luatexengine pdftexengine xetexengine unknownengine contained
-syn keyword contextConstants contextformat contextversion contextlmtxmode contextmark mksuffix contained
-syn keyword contextConstants activecatcode bgroup egroup endline conditionaltrue contained
-syn keyword contextConstants conditionalfalse attributeunsetvalue statuswrite uprotationangle rightrotationangle contained
-syn keyword contextConstants downrotationangle leftrotationangle inicatcodes ctxcatcodes texcatcodes contained
-syn keyword contextConstants notcatcodes txtcatcodes vrbcatcodes prtcatcodes nilcatcodes contained
-syn keyword contextConstants luacatcodes tpacatcodes tpbcatcodes xmlcatcodes ctdcatcodes contained
-syn keyword contextConstants rlncatcodes escapecatcode begingroupcatcode endgroupcatcode mathshiftcatcode contained
-syn keyword contextConstants alignmentcatcode endoflinecatcode parametercatcode superscriptcatcode subscriptcatcode contained
-syn keyword contextConstants ignorecatcode spacecatcode lettercatcode othercatcode activecatcode contained
-syn keyword contextConstants commentcatcode invalidcatcode tabasciicode newlineasciicode formfeedasciicode contained
-syn keyword contextConstants endoflineasciicode endoffileasciicode commaasciicode spaceasciicode periodasciicode contained
-syn keyword contextConstants hashasciicode dollarasciicode commentasciicode ampersandasciicode colonasciicode contained
-syn keyword contextConstants backslashasciicode circumflexasciicode underscoreasciicode leftbraceasciicode barasciicode contained
-syn keyword contextConstants rightbraceasciicode tildeasciicode delasciicode leftparentasciicode rightparentasciicode contained
-syn keyword contextConstants lessthanasciicode morethanasciicode doublecommentsignal atsignasciicode exclamationmarkasciicode contained
-syn keyword contextConstants questionmarkasciicode doublequoteasciicode singlequoteasciicode forwardslashasciicode primeasciicode contained
-syn keyword contextConstants hyphenasciicode percentasciicode leftbracketasciicode rightbracketasciicode hsizefrozenparcode contained
-syn keyword contextConstants skipfrozenparcode hangfrozenparcode indentfrozenparcode parfillfrozenparcode adjustfrozenparcode contained
-syn keyword contextConstants protrudefrozenparcode tolerancefrozenparcode stretchfrozenparcode loosenessfrozenparcode lastlinefrozenparcode contained
-syn keyword contextConstants linepenaltyfrozenparcode clubpenaltyfrozenparcode widowpenaltyfrozenparcode displaypenaltyfrozenparcode brokenpenaltyfrozenparcode contained
-syn keyword contextConstants demeritsfrozenparcode shapefrozenparcode linefrozenparcode hyphenationfrozenparcode shapingpenaltyfrozenparcode contained
-syn keyword contextConstants orphanpenaltyfrozenparcode allfrozenparcode mathpenaltyfrozenparcode activemathcharcode activetabtoken contained
-syn keyword contextConstants activeformfeedtoken activeendoflinetoken batchmodecode nonstopmodecode scrollmodecode contained
-syn keyword contextConstants errorstopmodecode bottomlevelgroupcode simplegroupcode hboxgroupcode adjustedhboxgroupcode contained
-syn keyword contextConstants vboxgroupcode vtopgroupcode aligngroupcode noaligngroupcode outputgroupcode contained
-syn keyword contextConstants mathgroupcode discretionarygroupcode insertgroupcode vadjustgroupcode vcentergroupcode contained
-syn keyword contextConstants mathabovegroupcode mathchoicegroupcode alsosimplegroupcode semisimplegroupcode mathshiftgroupcode contained
-syn keyword contextConstants mathleftgroupcode localboxgroupcode splitoffgroupcode splitkeepgroupcode preamblegroupcode contained
-syn keyword contextConstants alignsetgroupcode finrowgroupcode discretionarygroupcode markautomigrationcode insertautomigrationcode contained
-syn keyword contextConstants adjustautomigrationcode preautomigrationcode postautomigrationcode charnodecode hlistnodecode contained
-syn keyword contextConstants vlistnodecode rulenodecode insertnodecode marknodecode adjustnodecode contained
-syn keyword contextConstants ligaturenodecode discretionarynodecode whatsitnodecode mathnodecode gluenodecode contained
-syn keyword contextConstants kernnodecode penaltynodecode unsetnodecode mathsnodecode charifcode contained
-syn keyword contextConstants catifcode numifcode dimifcode oddifcode vmodeifcode contained
-syn keyword contextConstants hmodeifcode mmodeifcode innerifcode voidifcode hboxifcode contained
-syn keyword contextConstants vboxifcode xifcode eofifcode trueifcode falseifcode contained
-syn keyword contextConstants caseifcode definedifcode csnameifcode fontcharifcode overrulemathcontrolcode contained
-syn keyword contextConstants underrulemathcontrolcode radicalrulemathcontrolcode fractionrulemathcontrolcode accentskewhalfmathcontrolcode accentskewapplymathcontrolcode contained
-syn keyword contextConstants applyordinarykernpairmathcontrolcode applyverticalitalickernmathcontrolcode applyordinaryitalickernmathcontrolcode applycharitalickernmathcontrolcode reboxcharitalickernmathcontrolcode contained
-syn keyword contextConstants applyboxeditalickernmathcontrolcode staircasekernmathcontrolcode applytextitalickernmathcontrolcode applyscriptitalickernmathcontrolcode checkspaceitalickernmathcontrolcode contained
-syn keyword contextConstants checktextitalickernmathcontrolcode analyzescriptnucleuscharmathcontrolcode analyzescriptnucleuslistmathcontrolcode analyzescriptnucleusboxmathcontrolcode noligaturingglyphoptioncode contained
-syn keyword contextConstants nokerningglyphoptioncode noexpansionglyphoptioncode noprotrusionglyphoptioncode noleftkerningglyphoptioncode noleftligaturingglyphoptioncode contained
-syn keyword contextConstants norightkerningglyphoptioncode norightligaturingglyphoptioncode noitaliccorrectionglyphoptioncode normalparcontextcode vmodeparcontextcode contained
+syn keyword contextConstants maxcard maxcardminusone maxiterator zeropoint onepoint contained
+syn keyword contextConstants halfapoint onebasepoint maxcount maxdimen scaledpoint contained
+syn keyword contextConstants thousandpoint points halfpoint zeroskip centeringskip contained
+syn keyword contextConstants stretchingskip shrinkingskip centeringfillskip stretchingfillskip shrinkingfillskip contained
+syn keyword contextConstants zeromuskip onemuskip pluscxxvii pluscxxviii pluscclv contained
+syn keyword contextConstants pluscclvi normalpagebox binaryshiftedten binaryshiftedtwenty binaryshiftedthirty contained
+syn keyword contextConstants thickermuskip directionlefttoright directionrighttoleft endoflinetoken outputnewlinechar contained
+syn keyword contextConstants emptytoks empty undefined prerollrun voidbox contained
+syn keyword contextConstants emptybox emptyvbox emptyhbox bigskipamount medskipamount contained
+syn keyword contextConstants smallskipamount fmtname fmtversion texengine texenginename contained
+syn keyword contextConstants texengineversion texenginefunctionality luatexengine pdftexengine xetexengine contained
+syn keyword contextConstants unknownengine contextformat contextversion contextlmtxmode contextmark contained
+syn keyword contextConstants mksuffix activecatcode bgroup egroup endline contained
+syn keyword contextConstants conditionaltrue conditionalfalse attributeunsetvalue statuswrite uprotationangle contained
+syn keyword contextConstants rightrotationangle downrotationangle leftrotationangle inicatcodes ctxcatcodes contained
+syn keyword contextConstants texcatcodes notcatcodes txtcatcodes vrbcatcodes prtcatcodes contained
+syn keyword contextConstants nilcatcodes luacatcodes tpacatcodes tpbcatcodes xmlcatcodes contained
+syn keyword contextConstants ctdcatcodes rlncatcodes escapecatcode begingroupcatcode endgroupcatcode contained
+syn keyword contextConstants mathshiftcatcode alignmentcatcode endoflinecatcode parametercatcode superscriptcatcode contained
+syn keyword contextConstants subscriptcatcode ignorecatcode spacecatcode lettercatcode othercatcode contained
+syn keyword contextConstants activecatcode commentcatcode invalidcatcode tabasciicode newlineasciicode contained
+syn keyword contextConstants formfeedasciicode endoflineasciicode endoffileasciicode commaasciicode spaceasciicode contained
+syn keyword contextConstants periodasciicode hashasciicode dollarasciicode commentasciicode ampersandasciicode contained
+syn keyword contextConstants colonasciicode semicolonasciicode backslashasciicode circumflexasciicode underscoreasciicode contained
+syn keyword contextConstants leftbraceasciicode barasciicode rightbraceasciicode tildeasciicode delasciicode contained
+syn keyword contextConstants leftparentasciicode rightparentasciicode lessthanasciicode morethanasciicode doublecommentsignal contained
+syn keyword contextConstants atsignasciicode exclamationmarkasciicode questionmarkasciicode doublequoteasciicode singlequoteasciicode contained
+syn keyword contextConstants forwardslashasciicode primeasciicode hyphenasciicode percentasciicode leftbracketasciicode contained
+syn keyword contextConstants rightbracketasciicode zeroasciicode nineasciicode alowercaseasciicode zlowercaseasciicode contained
+syn keyword contextConstants hsizefrozenparcode skipfrozenparcode hangfrozenparcode indentfrozenparcode parfillfrozenparcode contained
+syn keyword contextConstants adjustfrozenparcode protrudefrozenparcode tolerancefrozenparcode stretchfrozenparcode loosenessfrozenparcode contained
+syn keyword contextConstants lastlinefrozenparcode linepenaltyfrozenparcode clubpenaltyfrozenparcode widowpenaltyfrozenparcode displaypenaltyfrozenparcode contained
+syn keyword contextConstants brokenpenaltyfrozenparcode demeritsfrozenparcode shapefrozenparcode linefrozenparcode hyphenationfrozenparcode contained
+syn keyword contextConstants shapingpenaltyfrozenparcode orphanpenaltyfrozenparcode allfrozenparcode emergencyfrozenparcode parpassesfrozenparcode contained
+syn keyword contextConstants singlelinepenaltyfrozenparcode activemathcharcode activetabtoken activeformfeedtoken activeendoflinetoken contained
+syn keyword contextConstants batchmodecode nonstopmodecode scrollmodecode errorstopmodecode bottomlevelgroupcode contained
+syn keyword contextConstants simplegroupcode hboxgroupcode adjustedhboxgroupcode vboxgroupcode vtopgroupcode contained
+syn keyword contextConstants aligngroupcode noaligngroupcode outputgroupcode mathgroupcode discretionarygroupcode contained
+syn keyword contextConstants insertgroupcode vadjustgroupcode vcentergroupcode mathabovegroupcode mathchoicegroupcode contained
+syn keyword contextConstants alsosimplegroupcode semisimplegroupcode mathshiftgroupcode mathleftgroupcode localboxgroupcode contained
+syn keyword contextConstants splitoffgroupcode splitkeepgroupcode preamblegroupcode alignsetgroupcode finrowgroupcode contained
+syn keyword contextConstants discretionarygroupcode markautomigrationcode insertautomigrationcode adjustautomigrationcode preautomigrationcode contained
+syn keyword contextConstants postautomigrationcode charnodecode hlistnodecode vlistnodecode rulenodecode contained
+syn keyword contextConstants insertnodecode marknodecode adjustnodecode ligaturenodecode discretionarynodecode contained
+syn keyword contextConstants whatsitnodecode mathnodecode gluenodecode kernnodecode penaltynodecode contained
+syn keyword contextConstants unsetnodecode mathsnodecode overrulemathcontrolcode underrulemathcontrolcode radicalrulemathcontrolcode contained
+syn keyword contextConstants fractionrulemathcontrolcode accentskewhalfmathcontrolcode accentskewapplymathcontrolcode applyordinarykernpairmathcontrolcode applyverticalitalickernmathcontrolcode contained
+syn keyword contextConstants applyordinaryitalickernmathcontrolcode applycharitalickernmathcontrolcode reboxcharitalickernmathcontrolcode applyboxeditalickernmathcontrolcode staircasekernmathcontrolcode contained
+syn keyword contextConstants applytextitalickernmathcontrolcode applyscriptitalickernmathcontrolcode checkspaceitalickernmathcontrolcode checktextitalickernmathcontrolcode analyzescriptnucleuscharmathcontrolcode contained
+syn keyword contextConstants analyzescriptnucleuslistmathcontrolcode analyzescriptnucleusboxmathcontrolcode accenttopskewwithoffsetmathcontrolcode ignorekerndimensionsmathcontrolcode ignoreflataccentsmathcontrolcode contained
+syn keyword contextConstants extendaccentsmathcontrolcode extenddelimitersmathcontrolcode noligaturingglyphoptioncode nokerningglyphoptioncode noexpansionglyphoptioncode contained
+syn keyword contextConstants noprotrusionglyphoptioncode noleftkerningglyphoptioncode noleftligaturingglyphoptioncode norightkerningglyphoptioncode norightligaturingglyphoptioncode contained
+syn keyword contextConstants noitaliccorrectionglyphoptioncode islargeoperatorglyphoptioncode hasitalicshapeglyphoptioncode normalparcontextcode vmodeparcontextcode contained
syn keyword contextConstants vboxparcontextcode vtopparcontextcode vcenterparcontextcode vadjustparcontextcode insertparcontextcode contained
syn keyword contextConstants outputparcontextcode alignparcontextcode noalignparcontextcode spanparcontextcode resetparcontextcode contained
syn keyword contextConstants leftoriginlistanchorcode leftheightlistanchorcode leftdepthlistanchorcode rightoriginlistanchorcode rightheightlistanchorcode contained
@@ -77,54 +76,60 @@ syn keyword contextConstants stopmodeset doifmode doifelsemode doifmodeelse doif
syn keyword contextConstants startmodeset stopmodeset startallmodes stopallmodes startnotallmodes contained
syn keyword contextConstants stopnotallmodes doifallmodes doifelseallmodes doifallmodeselse doifnotallmodes contained
syn keyword contextConstants startenvironment stopenvironment environment startcomponent stopcomponent contained
-syn keyword contextConstants component startproduct stopproduct product startproject contained
-syn keyword contextConstants stopproject project starttext stoptext startnotext contained
-syn keyword contextConstants stopnotext startdocument stopdocument documentvariable unexpandeddocumentvariable contained
-syn keyword contextConstants setupdocument presetdocument doifelsedocumentvariable doifdocumentvariableelse doifdocumentvariable contained
-syn keyword contextConstants doifnotdocumentvariable startmodule stopmodule usemodule usetexmodule contained
-syn keyword contextConstants useluamodule setupmodule currentmoduleparameter moduleparameter everystarttext contained
-syn keyword contextConstants everystoptext startTEXpage stopTEXpage enablemode disablemode contained
-syn keyword contextConstants preventmode definemode globalenablemode globaldisablemode globalpreventmode contained
-syn keyword contextConstants pushmode popmode typescriptone typescripttwo typescriptthree contained
-syn keyword contextConstants mathsizesuffix mathordinarycode mathordcode mathoperatorcode mathopcode contained
-syn keyword contextConstants mathbinarycode mathbincode mathrelationcode mathrelcode mathopencode contained
-syn keyword contextConstants mathclosecode mathpunctuationcode mathpunctcode mathovercode mathundercode contained
-syn keyword contextConstants mathinnercode mathradicalcode mathfractioncode mathmiddlecode mathaccentcode contained
-syn keyword contextConstants mathfencedcode mathghostcode mathvariablecode mathactivecode mathvcentercode contained
-syn keyword contextConstants mathconstructcode mathwrappedcode mathbegincode mathendcode mathexplicitcode contained
-syn keyword contextConstants mathdivisioncode mathfactorialcode mathdimensioncode mathexperimentalcode mathtextpunctuationcode contained
-syn keyword contextConstants mathimaginarycode mathdifferentialcode mathexponentialcode mathellipsiscode mathfunctioncode contained
-syn keyword contextConstants mathdigitcode mathalphacode mathboxcode mathchoicecode mathnothingcode contained
-syn keyword contextConstants mathlimopcode mathnolopcode mathunsetcode mathunspacedcode mathallcode contained
-syn keyword contextConstants mathfakecode mathunarycode constantnumber constantnumberargument constantdimen contained
-syn keyword contextConstants constantdimenargument constantemptyargument luastringsep !!bs !!es contained
-syn keyword contextConstants lefttorightmark righttoleftmark lrm rlm bidilre contained
-syn keyword contextConstants bidirle bidipop bidilro bidirlo breakablethinspace contained
-syn keyword contextConstants nobreakspace nonbreakablespace narrownobreakspace zerowidthnobreakspace ideographicspace contained
-syn keyword contextConstants ideographichalffillspace twoperemspace threeperemspace fourperemspace fiveperemspace contained
-syn keyword contextConstants sixperemspace figurespace punctuationspace hairspace enquad contained
-syn keyword contextConstants emquad zerowidthspace zerowidthnonjoiner zerowidthjoiner zwnj contained
-syn keyword contextConstants zwj optionalspace asciispacechar softhyphen Ux contained
-syn keyword contextConstants eUx Umathaccents parfillleftskip parfillrightskip startlmtxmode contained
-syn keyword contextConstants stoplmtxmode startmkivmode stopmkivmode wildcardsymbol normalhyphenationcode contained
-syn keyword contextConstants automatichyphenationcode explicithyphenationcode syllablehyphenationcode uppercasehyphenationcode collapsehyphenationcode contained
-syn keyword contextConstants compoundhyphenationcode strictstarthyphenationcode strictendhyphenationcode automaticpenaltyhyphenationcode explicitpenaltyhyphenationcode contained
-syn keyword contextConstants permitgluehyphenationcode permitallhyphenationcode permitmathreplacehyphenationcode forcecheckhyphenationcode lazyligatureshyphenationcode contained
-syn keyword contextConstants forcehandlerhyphenationcode feedbackcompoundhyphenationcode ignoreboundshyphenationcode partialhyphenationcode completehyphenationcode contained
-syn keyword contextConstants normalizelinenormalizecode parindentskipnormalizecode swaphangindentnormalizecode swapparsshapenormalizecode breakafterdirnormalizecode contained
-syn keyword contextConstants removemarginkernsnormalizecode clipwidthnormalizecode flattendiscretionariesnormalizecode discardzerotabskipsnormalizecode flattenhleadersnormalizecode contained
-syn keyword contextConstants normalizeparnormalizeparcode flattenvleadersnormalizeparcode nopreslackclassoptioncode nopostslackclassoptioncode lefttopkernclassoptioncode contained
-syn keyword contextConstants righttopkernclassoptioncode leftbottomkernclassoptioncode rightbottomkernclassoptioncode lookaheadforendclassoptioncode noitaliccorrectionclassoptioncode contained
-syn keyword contextConstants defaultmathclassoptions checkligatureclassoptioncode checkitaliccorrectionclassoptioncode checkkernpairclassoptioncode flattenclassoptioncode contained
-syn keyword contextConstants omitpenaltyclassoptioncode unpackclassoptioncode raiseprimeclassoptioncode carryoverlefttopkernclassoptioncode carryoverleftbottomkernclassoptioncode contained
-syn keyword contextConstants carryoverrighttopkernclassoptioncode carryoverrightbottomkernclassoptioncode preferdelimiterdimensionsclassoptioncode noligaturingglyphoptioncode nokerningglyphoptioncode contained
+syn keyword contextConstants component startlocalcomponent stoplocalcomponent startproduct stopproduct contained
+syn keyword contextConstants product startproject stopproject project starttext contained
+syn keyword contextConstants stoptext startnotext stopnotext startdocument stopdocument contained
+syn keyword contextConstants documentvariable unexpandeddocumentvariable setupdocument presetdocument doifelsedocumentvariable contained
+syn keyword contextConstants doifdocumentvariableelse doifdocumentvariable doifnotdocumentvariable startmodule stopmodule contained
+syn keyword contextConstants usemodule usetexmodule useluamodule setupmodule currentmoduleparameter contained
+syn keyword contextConstants moduleparameter everystarttext everystoptext everyforgetall luaenvironment contained
+syn keyword contextConstants startTEXpage stopTEXpage enablemode disablemode preventmode contained
+syn keyword contextConstants definemode globalenablemode globaldisablemode globalpreventmode pushmode contained
+syn keyword contextConstants popmode typescriptone typescripttwo typescriptthree mathsizesuffix contained
+syn keyword contextConstants mathordinarycode mathordcode mathoperatorcode mathopcode mathbinarycode contained
+syn keyword contextConstants mathbincode mathrelationcode mathrelcode mathopencode mathclosecode contained
+syn keyword contextConstants mathpunctuationcode mathpunctcode mathovercode mathundercode mathinnercode contained
+syn keyword contextConstants mathradicalcode mathfractioncode mathmiddlecode mathaccentcode mathfencedcode contained
+syn keyword contextConstants mathghostcode mathvariablecode mathactivecode mathvcentercode mathconstructcode contained
+syn keyword contextConstants mathwrappedcode mathbegincode mathendcode mathexplicitcode mathdivisioncode contained
+syn keyword contextConstants mathfactorialcode mathdimensioncode mathexperimentalcode mathtextpunctuationcode mathimaginarycode contained
+syn keyword contextConstants mathdifferentialcode mathexponentialcode mathellipsiscode mathfunctioncode mathdigitcode contained
+syn keyword contextConstants mathalphacode mathboxcode mathchoicecode mathnothingcode mathlimopcode contained
+syn keyword contextConstants mathnolopcode mathunsetcode mathunspacedcode mathallcode mathfakecode contained
+syn keyword contextConstants mathunarycode mathmaybeordinarycode mathmayberelationcode mathmaybebinarycode mathnumbergroupcode contained
+syn keyword contextConstants mathchemicalbondcode constantnumber constantnumberargument constantdimen constantdimenargument contained
+syn keyword contextConstants constantemptyargument luastringsep !!bs !!es lefttorightmark contained
+syn keyword contextConstants righttoleftmark lrm rlm bidilre bidirle contained
+syn keyword contextConstants bidipop bidilro bidirlo breakablethinspace nobreakspace contained
+syn keyword contextConstants nonbreakablespace narrownobreakspace zerowidthnobreakspace ideographicspace ideographichalffillspace contained
+syn keyword contextConstants twoperemspace threeperemspace fourperemspace fiveperemspace sixperemspace contained
+syn keyword contextConstants figurespace punctuationspace hairspace enquad emquad contained
+syn keyword contextConstants zerowidthspace zerowidthnonjoiner zerowidthjoiner zwnj zwj contained
+syn keyword contextConstants optionalspace asciispacechar softhyphen autoinsertedspace Ux contained
+syn keyword contextConstants eUx startlmtxmode stoplmtxmode startmkivmode stopmkivmode contained
+syn keyword contextConstants wildcardsymbol normalhyphenationcode automatichyphenationcode explicithyphenationcode syllablehyphenationcode contained
+syn keyword contextConstants uppercasehyphenationcode collapsehyphenationcode compoundhyphenationcode strictstarthyphenationcode strictendhyphenationcode contained
+syn keyword contextConstants automaticpenaltyhyphenationcode explicitpenaltyhyphenationcode permitgluehyphenationcode permitallhyphenationcode permitmathreplacehyphenationcode contained
+syn keyword contextConstants forcecheckhyphenationcode lazyligatureshyphenationcode forcehandlerhyphenationcode feedbackcompoundhyphenationcode ignoreboundshyphenationcode contained
+syn keyword contextConstants partialhyphenationcode completehyphenationcode normalizelinenormalizecode parindentskipnormalizecode swaphangindentnormalizecode contained
+syn keyword contextConstants swapparsshapenormalizecode breakafterdirnormalizecode removemarginkernsnormalizecode clipwidthnormalizecode flattendiscretionariesnormalizecode contained
+syn keyword contextConstants discardzerotabskipsnormalizecode flattenhleadersnormalizecode normalizeparnormalizeparcode flattenvleadersnormalizeparcode limitprevgrafnormalizeparcode contained
+syn keyword contextConstants nopreslackclassoptioncode nopostslackclassoptioncode lefttopkernclassoptioncode righttopkernclassoptioncode leftbottomkernclassoptioncode contained
+syn keyword contextConstants rightbottomkernclassoptioncode lookaheadforendclassoptioncode noitaliccorrectionclassoptioncode defaultmathclassoptions checkligatureclassoptioncode contained
+syn keyword contextConstants checkitaliccorrectionclassoptioncode checkkernpairclassoptioncode flattenclassoptioncode omitpenaltyclassoptioncode unpackclassoptioncode contained
+syn keyword contextConstants raiseprimeclassoptioncode carryoverlefttopkernclassoptioncode carryoverleftbottomkernclassoptioncode carryoverrighttopkernclassoptioncode carryoverrightbottomkernclassoptioncode contained
+syn keyword contextConstants preferdelimiterdimensionsclassoptioncode autoinjectclassoptioncode removeitaliccorrectionclassoptioncode operatoritaliccorrectionclassoptioncode shortinlineclassoptioncode contained
+syn keyword contextConstants pushnestingclassoptioncode popnestingclassoptioncode obeynestingclassoptioncode noligaturingglyphoptioncode nokerningglyphoptioncode contained
syn keyword contextConstants noleftligatureglyphoptioncode noleftkernglyphoptioncode norightligatureglyphoptioncode norightkernglyphoptioncode noexpansionglyphoptioncode contained
-syn keyword contextConstants noprotrusionglyphoptioncode noitaliccorrectionglyphoptioncode nokerningcode noligaturingcode frozenflagcode contained
+syn keyword contextConstants noprotrusionglyphoptioncode noitaliccorrectionglyphoptioncode nokerningcode noligaturingcode indecentparpassclasses contained
+syn keyword contextConstants looseparpassclasses tightparpassclasses verylooseparpassclass looseparpassclass semilooseparpassclass contained
+syn keyword contextConstants decentparpassclass almostdecentparpassclasses semitightparpassclass tightparpassclass frozenflagcode contained
syn keyword contextConstants tolerantflagcode protectedflagcode primitiveflagcode permanentflagcode noalignedflagcode contained
syn keyword contextConstants immutableflagcode mutableflagcode globalflagcode overloadedflagcode immediateflagcode contained
syn keyword contextConstants conditionalflagcode valueflagcode instanceflagcode ordmathflattencode binmathflattencode contained
syn keyword contextConstants relmathflattencode punctmathflattencode innermathflattencode normalworddiscoptioncode preworddiscoptioncode contained
-syn keyword contextConstants postworddiscoptioncode continueifinputfile continuewhenlmtxmode continuewhenmkivmode contained
+syn keyword contextConstants postworddiscoptioncode preferbreakdiscoptioncode prefernobreakdiscoptioncode continueifinputfile continuewhenlmtxmode contained
+syn keyword contextConstants continuewhenmkivmode uunit contained
syn keyword contextHelpers startsetups stopsetups startxmlsetups stopxmlsetups startluasetups contained
syn keyword contextHelpers stopluasetups starttexsetups stoptexsetups startrawsetups stoprawsetups contained
syn keyword contextHelpers startlocalsetups stoplocalsetups starttexdefinition stoptexdefinition starttexcode contained
@@ -137,58 +142,68 @@ syn keyword contextHelpers resetmode newsystemmode setsystemmode resetsystemmode
syn keyword contextHelpers popsystemmode globalsetmode globalresetmode globalsetsystemmode globalresetsystemmode contained
syn keyword contextHelpers booleanmodevalue newcount newdimen newskip newmuskip contained
syn keyword contextHelpers newbox newtoks newread newwrite newmarks contained
-syn keyword contextHelpers newinsert newattribute newif newlanguage newfamily contained
-syn keyword contextHelpers newfam newhelp then begcsname autorule contained
-syn keyword contextHelpers strippedcsname checkedstrippedcsname nofarguments firstargumentfalse firstargumenttrue contained
-syn keyword contextHelpers secondargumentfalse secondargumenttrue thirdargumentfalse thirdargumenttrue fourthargumentfalse contained
-syn keyword contextHelpers fourthargumenttrue fifthargumentfalse fifthargumenttrue sixthargumentfalse sixthargumenttrue contained
-syn keyword contextHelpers seventhargumentfalse seventhargumenttrue vkern hkern vpenalty contained
-syn keyword contextHelpers hpenalty doglobal dodoglobal redoglobal resetglobal contained
-syn keyword contextHelpers donothing untraceddonothing dontcomplain moreboxtracing lessboxtracing contained
-syn keyword contextHelpers noboxtracing forgetall donetrue donefalse foundtrue contained
-syn keyword contextHelpers foundfalse inlineordisplaymath indisplaymath forcedisplaymath startforceddisplaymath contained
-syn keyword contextHelpers stopforceddisplaymath startpickupmath stoppickupmath reqno forceinlinemath contained
-syn keyword contextHelpers mathortext thebox htdp unvoidbox hfilll contained
-syn keyword contextHelpers vfilll mathbox mathlimop mathnolop mathnothing contained
-syn keyword contextHelpers mathalpha currentcatcodetable defaultcatcodetable catcodetablename newcatcodetable contained
-syn keyword contextHelpers startcatcodetable stopcatcodetable startextendcatcodetable stopextendcatcodetable pushcatcodetable contained
-syn keyword contextHelpers popcatcodetable restorecatcodes setcatcodetable letcatcodecommand defcatcodecommand contained
-syn keyword contextHelpers uedcatcodecommand hglue vglue hfillneg vfillneg contained
-syn keyword contextHelpers hfilllneg vfilllneg ruledhss ruledhfil ruledhfill contained
-syn keyword contextHelpers ruledhfilll ruledhfilneg ruledhfillneg normalhfillneg normalhfilllneg contained
-syn keyword contextHelpers ruledvss ruledvfil ruledvfill ruledvfilll ruledvfilneg contained
-syn keyword contextHelpers ruledvfillneg normalvfillneg normalvfilllneg ruledhbox ruledvbox contained
-syn keyword contextHelpers ruledvtop ruledvcenter ruledmbox ruledhpack ruledvpack contained
-syn keyword contextHelpers ruledtpack ruledhskip ruledvskip ruledkern ruledmskip contained
-syn keyword contextHelpers ruledmkern ruledhglue ruledvglue normalhglue normalvglue contained
-syn keyword contextHelpers ruledpenalty filledhboxb filledhboxr filledhboxg filledhboxc contained
-syn keyword contextHelpers filledhboxm filledhboxy filledhboxk scratchstring scratchstringone contained
-syn keyword contextHelpers scratchstringtwo tempstring scratchcounter globalscratchcounter privatescratchcounter contained
-syn keyword contextHelpers scratchdimen globalscratchdimen privatescratchdimen scratchskip globalscratchskip contained
-syn keyword contextHelpers privatescratchskip scratchmuskip globalscratchmuskip privatescratchmuskip scratchtoks contained
-syn keyword contextHelpers globalscratchtoks privatescratchtoks scratchbox globalscratchbox privatescratchbox contained
-syn keyword contextHelpers scratchmacro scratchmacroone scratchmacrotwo scratchconditiontrue scratchconditionfalse contained
-syn keyword contextHelpers ifscratchcondition scratchconditiononetrue scratchconditiononefalse ifscratchconditionone scratchconditiontwotrue contained
-syn keyword contextHelpers scratchconditiontwofalse ifscratchconditiontwo globalscratchcounterone globalscratchcountertwo globalscratchcounterthree contained
-syn keyword contextHelpers groupedcommand groupedcommandcs triggergroupedcommand triggergroupedcommandcs simplegroupedcommand contained
-syn keyword contextHelpers simplegroupedcommandcs pickupgroupedcommand pickupgroupedcommandcs mathgroupedcommandcs usedbaselineskip contained
-syn keyword contextHelpers usedlineskip usedlineskiplimit availablehsize localhsize setlocalhsize contained
-syn keyword contextHelpers distributedhsize hsizefraction next nexttoken nextbox contained
-syn keyword contextHelpers dowithnextbox dowithnextboxcs dowithnextboxcontent dowithnextboxcontentcs flushnextbox contained
-syn keyword contextHelpers boxisempty boxtostring contentostring prerolltostring givenwidth contained
-syn keyword contextHelpers givenheight givendepth scangivendimensions scratchwidth scratchheight contained
-syn keyword contextHelpers scratchdepth scratchoffset scratchdistance scratchtotal scratchitalic contained
-syn keyword contextHelpers scratchhsize scratchvsize scratchxoffset scratchyoffset scratchhoffset contained
-syn keyword contextHelpers scratchvoffset scratchxposition scratchyposition scratchtopoffset scratchbottomoffset contained
-syn keyword contextHelpers scratchleftoffset scratchrightoffset scratchcounterone scratchcountertwo scratchcounterthree contained
-syn keyword contextHelpers scratchcounterfour scratchcounterfive scratchcountersix scratchdimenone scratchdimentwo contained
-syn keyword contextHelpers scratchdimenthree scratchdimenfour scratchdimenfive scratchdimensix scratchskipone contained
-syn keyword contextHelpers scratchskiptwo scratchskipthree scratchskipfour scratchskipfive scratchskipsix contained
-syn keyword contextHelpers scratchmuskipone scratchmuskiptwo scratchmuskipthree scratchmuskipfour scratchmuskipfive contained
-syn keyword contextHelpers scratchmuskipsix scratchtoksone scratchtokstwo scratchtoksthree scratchtoksfour contained
-syn keyword contextHelpers scratchtoksfive scratchtokssix scratchboxone scratchboxtwo scratchboxthree contained
-syn keyword contextHelpers scratchboxfour scratchboxfive scratchboxsix scratchnx scratchny contained
-syn keyword contextHelpers scratchmx scratchmy scratchunicode scratchmin scratchmax contained
+syn keyword contextHelpers newinsert newattribute newif newfloat newlanguage contained
+syn keyword contextHelpers newfamily newfam newhelp newuserunit newinteger contained
+syn keyword contextHelpers newdimension newgluespec newmugluespec newposit aliasinteger contained
+syn keyword contextHelpers aliasdimension aliasposit then begcsname autorule contained
+syn keyword contextHelpers tobits tohexa strippedcsname checkedstrippedcsname nofarguments contained
+syn keyword contextHelpers firstargumentfalse firstargumenttrue secondargumentfalse secondargumenttrue thirdargumentfalse contained
+syn keyword contextHelpers thirdargumenttrue fourthargumentfalse fourthargumenttrue fifthargumentfalse fifthargumenttrue contained
+syn keyword contextHelpers sixthargumentfalse sixthargumenttrue seventhargumentfalse seventhargumenttrue doglobal contained
+syn keyword contextHelpers dodoglobal redoglobal resetglobal donothing untraceddonothing contained
+syn keyword contextHelpers dontcomplain moreboxtracing lessboxtracing noboxtracing forgetall contained
+syn keyword contextHelpers donetrue donefalse foundtrue foundfalse inlineordisplaymath contained
+syn keyword contextHelpers indisplaymath forcedisplaymath startforceddisplaymath stopforceddisplaymath startpickupmath contained
+syn keyword contextHelpers stoppickupmath reqno forceinlinemath mathortext thebox contained
+syn keyword contextHelpers htdp unvoidbox hfilll vfilll mathbox contained
+syn keyword contextHelpers mathlimop mathnolop mathnothing mathalpha currentcatcodetable contained
+syn keyword contextHelpers defaultcatcodetable catcodetablename newcatcodetable startcatcodetable stopcatcodetable contained
+syn keyword contextHelpers startextendcatcodetable stopextendcatcodetable pushcatcodetable popcatcodetable restorecatcodes contained
+syn keyword contextHelpers setcatcodetable letcatcodecommand defcatcodecommand uedcatcodecommand hglue contained
+syn keyword contextHelpers vglue hfillneg vfillneg hfilllneg vfilllneg contained
+syn keyword contextHelpers hsplit ruledhss ruledhfil ruledhfill ruledhfilll contained
+syn keyword contextHelpers ruledhfilneg ruledhfillneg normalhfillneg normalhfilllneg ruledvss contained
+syn keyword contextHelpers ruledvfil ruledvfill ruledvfilll ruledvfilneg ruledvfillneg contained
+syn keyword contextHelpers normalvfillneg normalvfilllneg ruledhbox ruledvbox ruledvtop contained
+syn keyword contextHelpers ruleddbox ruledvcenter ruledmbox ruledhpack ruledvpack contained
+syn keyword contextHelpers ruledtpack ruleddpack ruledvsplit ruledtsplit ruleddsplit contained
+syn keyword contextHelpers ruledhskip ruledvskip ruledkern ruledmskip ruledmkern contained
+syn keyword contextHelpers ruledhglue ruledvglue normalhglue normalvglue ruledpenalty contained
+syn keyword contextHelpers filledhboxb filledhboxr filledhboxg filledhboxc filledhboxm contained
+syn keyword contextHelpers filledhboxy filledhboxk scratchstring scratchstringone scratchstringtwo contained
+syn keyword contextHelpers tempstring scratchcounter globalscratchcounter privatescratchcounter scratchfloat contained
+syn keyword contextHelpers globalscratchfloat privatescratchfloat scratchdimen globalscratchdimen privatescratchdimen contained
+syn keyword contextHelpers scratchskip globalscratchskip