# low level (visible) support macros, english only

keywordclass.macros.context.undocumented.support=\
    doif doifelse doifnot \
    doifnothing doifsomething doifelsenothing \
    doifvalue doifnotvalue doifelsevalue \
    doifdefined doifundefined doifundefinedelse doifdefinedelse \
    doifinset doifinsetelse doifnotinsetelse \
    doifcommon doifnotcommon doifcommonelse \
    doifnextcharelse \
    doiffieldelse \
    ifdefined ifundefined ifconditional \
    setstrut setfontstrut strut begstrut endstrut strutdepth strutheight showstruts verticalstrut \
    newcounter increment decrement doglobal \
    expanded protect unprotect unprotected unexpanded \
    digits \
    snaptogrid \
    hpos vpos \
    readfile \
    donothing \
    doiftextelse doiftext \
    forgetall setlocalhsize localhsize \
    dogotopar dowithnextbox dowithnextboxcontent nextbox \
    tbox bbox sbox struttedbox \
    definemeasure definehspace hspace dontleavehmode \
    convertargument convertcommand \
    appendtoks prependtoks to at and \
    scratchcounter scratchbox scratchdimen scratchskip \
    zeropoint zerocount zerodimen \
    empty emptytoks plusone plustwo \
    setvalue setxvalue setevalue setgvalue letvalue letgvalue globalletvalue getvalue \
    beforesplitstring aftersplitstring splitstring \
    processcommalist processcommacommand commalistelement \
    processaction processallactionsinset processfirstactioninset \
    iftrialtypesetting \
    startbaselinecorrection stopbaselinecorrection \
    startnointerference stopnointerference \
    dorecurse dostepwiserecurse doloop exitloop \
    doifnotflagged doifflagged setflag

# xml specific commands, english only

keywordclass.macros.context.undocumented.xml=\
    defineXMLsave defineXMLgsave defineXMLenvironment defineXMLargument \
    defineXMLignore defineXMLcommand defineXMLgrouped defineXMLpickup defineXMLnested \
    defineXMLstore defineXMLenvironmentsave defineXMLprocess defineXMLsingular \
    saveXMLelement defineXMLgstore saveXMLasdata gsaveXMLasdata defineXMLsavecontent \
    doifXMLdataelse doifXMLdata saveXMLdata processXMLelement startXMLdata stopXMLdata \
    XMLflush flushXMLelement XMLerase \
    XMLpar XMLop doifXMLparelse doifXMLop \
    defXMLstring \
    processXMLbuffer useXMLfilter \
    countXMLchildren \
    startXMLignore stopXMLignore startXMLmapping stopXMLmapping \
    processXMLfile processXMLfilegrouped

# metafun specific commands, english only

keywordclass.macros.context.undocumented.metafun=\
    startMPgraphic stopMPgraphic includeMPgraphic useMPlibrary setupMPvariables \
    startMPenvironment stopMPenvironment startMPinclusions stopMPinclusions \
    MPcolor MPvar MPx MPy MPw MPh MPd MPp \
    starttypescript stoptypescript usetypescript loadmapfile \
    startMPdrawing stopMPdrawing MPdrawingdonetrue getMPdrawing resetMPdrawing \
    startuseMPgraphic stopuseMPgraphic startusableMPgraphic stopusableMPgraphic useMPgraphic \
    startuniqueMPpagegraphic stopuniqueMPpagegraphic uniqueMPpagegraphic \
    startreusableMPgraphic stopreusableMPgraphic reuseMPgraphic \
    startuniqueMPgraphic stopuniqueMPgraphic uniqueMPgraphic

# modules

keywordclass.macros.context.undocumented.modules=\
    setupFLOWcharts setupFLOWshapes setupFLOWlines \
    startFLOWchart stopFLOWchart FLOWchart includeFLOWchart startFLOWcell stopFLOWcell

# english only commands

keywordclass.macros.context.undocumented.common=\
    start stop \
    ConTeXt \
    environment component product project \
    starttextdata stoptextdata \
    definedfont definefontsynonym setupfontsynonym \
    vfilll hfilll \
    startmode startnotmode stopmode stopnotmode doifmode doifnotmode doifmodeelse enablemode disablemode \
    resetlayer definelayer placelayer flushlayer tightlayer setuplayer setlayer setlayerframed \
    definelayerpreset \
    overlayfigure overlaybutton \
    startsetups stopsetups startlocalsetups stoplocalsetups setups \
    setvariables setevariables setgvariables setxvariables getvariable \
    loadmapfile definetypeface usetypescript usetypescriptfile \
    useJSscripts startJSscripts stopJSscripts startJSpreamble stopJSpreamble startJScode stopJScode \
    showfont showaccents showcharacters \
    showlayoutcomponents showgridsnapping showgridboxes \
    startTEXpage stopTEXpage startMPpage stopMPpage \
    bTABLE eTABLE bTR eTR bTD eTD bTH eTH setupTABLE \
    bTABLEhead eTABLEhead bTABLEnext eTABLEnext bTABLEfoot eTABLEfoot bTABLEbody eTABLEbody \
    NC NR VL HL AR SR FR MR LR EQ

# dutch commands (nl)

keywordclass.macros.context.undocumented.main.nl=\
    starttekst stoptekst startstandaardopmaak stopstandaardopmaak \
    definieerlayout \
    definieerplaats \
    omgeving onderdeel projekt produkt \
    startopsomming stopopsomming stelopsommingin definieeritemgroep \
    stelnummeringin

# english commands (en)

keywordclass.macros.context.undocumented.main.en=\
    starttext stoptext startstandardmakeup stopstandardmakeup \
    placefigure definelayout setupencoding \
    defineframedcontent startframedcontent stopframedcontent \
    getfiguredimensionsonly defineexternalfigure \
    definemainfield \
    includemenu \
    starthanging stophanging \
    setupattachments \
    definepagebreak \
    startitemize stopitemize \
    startfrontmatter stopfrontmatter startbackmatter stopbackmatter \
    startbodymatter stopbodymatter startappendices stopappendices \
    definetextbackground setuptextbackground starttextbackground stoptextbackground \
    definepushbutton definepushsymbol \
    setcollector definecollector flushcollector

# german commands (de)

keywordclass.macros.context.undocumented.main.de=\

# czech commands (cz)

keywordclass.macros.context.undocumented.main.cz=\

# italian commands (it)

keywordclass.macros.context.undocumented.main.it=\

# romanian commands (ro)

keywordclass.macros.context.undocumented.main.ro=\

# common undocumented macros

keywordclass.macros.context.undocumented.base=\
    $(keywordclass.macros.context.undocumented.support) \
    $(keywordclass.macros.context.undocumented.xml) \
    $(keywordclass.macros.context.undocumented.metafun) \
    $(keywordclass.macros.context.undocumented.modules) \
    $(keywordclass.macros.context.undocumented.common)

# language specific undocumented macros

keywordclass.macros.context.undocumented.nl=\
    $(keywordclass.macros.context.undocumented.base) \
    $(keywordclass.macros.context.undocumented.main.nl)

keywordclass.macros.context.undocumented.en=\
    $(keywordclass.macros.context.undocumented.base) \
    $(keywordclass.macros.context.undocumented.main.en)

keywordclass.macros.context.undocumented.de=\
    $(keywordclass.macros.context.undocumented.base) \
    $(keywordclass.macros.context.undocumented.main.de)

keywordclass.macros.context.undocumented.cz=\
    $(keywordclass.macros.context.undocumented.base) \
    $(keywordclass.macros.context.undocumented.main.cz)

keywordclass.macros.context.undocumented.it=\
    $(keywordclass.macros.context.undocumented.base) \
    $(keywordclass.macros.context.undocumented.main.it)

keywordclass.macros.context.undocumented.ro=\
    $(keywordclass.macros.context.undocumented.base) \
    $(keywordclass.macros.context.undocumented.main.ro)