diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-11-23 19:48:34 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-11-23 19:48:34 +0100 |
commit | 18499e46a49b8ccf4346686d1cf626ada33935b8 (patch) | |
tree | bd0ae7b601b323e20954c10c07598637d9403e00 /tex/context/base/mkiv/context.mkxl | |
parent | 4b089e589d39346a66a27d04f9857fe16e4b7b41 (diff) | |
download | context-18499e46a49b8ccf4346686d1cf626ada33935b8.tar.gz |
2020-11-23 18:39:00
Diffstat (limited to 'tex/context/base/mkiv/context.mkxl')
-rw-r--r-- | tex/context/base/mkiv/context.mkxl | 618 |
1 files changed, 0 insertions, 618 deletions
diff --git a/tex/context/base/mkiv/context.mkxl b/tex/context/base/mkiv/context.mkxl deleted file mode 100644 index e28f32f07..000000000 --- a/tex/context/base/mkiv/context.mkxl +++ /dev/null @@ -1,618 +0,0 @@ -%D \module -%D [ file=context, -%D version=2019.07.24, % 2008.28.10, % 1995.10.10, -%D title=\CONTEXT, -%D subtitle=\CONTEXT\ Format Generation, -%D author=Hans Hagen, % ɦɑns ɦɑˈχən -%D date=\currentdate, -%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] -%C -%C This module is part of the \CONTEXT\ macro||package and is -%C therefore copyrighted by \PRAGMA. See mreadme.pdf for -%C details. - -% http://build.contextgarden.net/waterfall?tag=c/lua(meta)tex - -%D Welcome to context, pronounced as kontekst (rather dutch) and not as conτεχt. - -\catcode`\{=1 \catcode`\}=2 \catcode`\#=6 - -%D From the next string (which is set by the script that assembles the distribution) -%D later on we will calculate a number that can be used by use modules to identify -%D the feature level. Starting with version 2004.8.30 the low level interface is -%D english. Watch out and adapt your styles an modules. - -% \everypar{\writestatus{!!!!}{some spurious input in line \the\inputlineno}\wait} - -%D The order of loading will change when all modules have been cleaned up and the -%D dependencies are more consistent. Beware, the version number has to match \type -%D {YYYY.MM.DD HH:MM} format. - -\edef\contextformat {\jobname} -\edef\contextversion{2020.11.19 11:23} - -%overloadmode 1 % check frozen / warning -%overloadmode 2 % check frozen / error -%overloadmode 3 % check frozen, primitive, permanent / warning -\overloadmode 4 % check frozen, primitive, permanent / error - -%D Kind of special: - -\chardef\contextlmtxmode\directlua{tex.print(CONTEXTLMTXMODE or 0)}\relax - -%D For those who want to use this: - -\let\fmtname \contextformat -\let\fmtversion\contextversion - -%D Loading: - -\edef\mksuffix {mkiv} -\edef\contextmark{LMTX} - -\ifx\normalinput\undefined \let\normalinput\input \fi - -\def\loadmarkfile#1{\normalinput{#1.\mksuffix}} -\def\loadmkivfile#1{\normalinput{#1.mkiv}} -\def\loadmkvifile#1{\normalinput{#1.mkvi}} -\def\loadmkxlfile#1{\normalinput{#1.mkxl}} -\def\loadmklxfile#1{\normalinput{#1.mklx}} - -%D First we load the system modules. These implement a lot of manipulation macros. -%D We start with setting up some basic \TEX\ machinery. - -\loadmkxlfile{syst-ini} - -%D We just quit if new functionality is expected. - -\ifnum\luatexversion<200 % also change message - \writestatus{!!!!}{Your luametatex binary is too old, you need at least version 2.00!} - \expandafter\end -\fi - -%D Some checking (more primitives are now defined): - -\ifdefined\defaultinterface \else \def\defaultinterface {english} \fi -%ifdefined\messageinterface \else \let\messageinterface \defaultinterface \fi -\ifdefined\defaultlanguagetag \else \def\defaultlanguagetag{en} \fi - -%D There is only this way to pass the version info to \LUA\ (currently). Hm, we could -%D now put it into the environment. - -\newtoks\contextversiontoks \contextversiontoks\expandafter{\contextversion} - -% \normaleverypar{\wait} % uncomment for test of funny injections - -%D Now the more fundamental code gets defined. - -\loadmkxlfile{norm-ctx} -\loadmarkfile{syst-pln} -\loadmarkfile{syst-mes} - -\loadmkxlfile{luat-cod} -\loadmarkfile{luat-bas} -\loadmarkfile{luat-lib} -\loadmarkfile{luat-soc} - -\loadmkxlfile{catc-ini} -\loadmkxlfile{catc-act} -\loadmkxlfile{catc-def} -\loadmkxlfile{catc-ctx} -\loadmkxlfile{catc-sym} - -\loadmkxlfile{toks-ini} -\loadmkxlfile{cldf-ini} - -% \tracecatcodetables - -%D From here on we have \unexpanded being \normalprotected, as we already had -%D \type {\unexpanded} long before etex came around. - -\loadmarkfile{luat-ini} -\loadmkxlfile{toks-scn} - -\loadmkxlfile{syst-aux} -\loadmkxlfile{syst-lua} -\loadmkxlfile{syst-con} - -\loadmkxlfile{syst-fnt} -\loadmarkfile{syst-rtp} - -\loadmarkfile{luat-usr} - -\loadmklxfile{file-ini} -\loadmklxfile{file-res} -\loadmkxlfile{file-lib} - -\loadmkxlfile{core-lmt} - -%D This needs more checking for clashes: -%D -%D \starttyping -%D \doifelsefileexists{l-macro-imp-codes-luametatex.lua}{\registerctxluafile{l-macro-imp-codes-luametatex}{}}{} -%D \stoptyping - -\loadmkxlfile{supp-dir} - -\loadmkxlfile{char-utf} -\loadmkxlfile{char-ini} -\loadmkxlfile{char-act} - -\loadmkxlfile{mult-ini} -\loadmkxlfile{mult-sys} -\loadmkxlfile{mult-aux} -\loadmkxlfile{mult-def} -%loadmarkfile{mult-chk} -\loadmklxfile{mult-dim} - -\loadmkxlfile{cldf-int} % interface - -\loadmkxlfile{trac-ctx} % maybe move up - -\loadmarkfile{toks-aux} - -\loadmkxlfile{attr-ini} - -\loadmkxlfile{core-ini} -\loadmkxlfile{core-env} - -\loadmkxlfile{layo-ini} - -\loadmkxlfile{node-ini} - -\loadmkxlfile{cldf-bas} % basics / depends on nodes - -\loadmkxlfile{node-fin} -\loadmkxlfile{node-mig} -%loadmkxlfile{node-pag} - -\loadmkxlfile{driv-ini} - -\loadmkxlfile{back-ini} -\loadmkxlfile{back-res} -\loadmkxlfile{back-trf} -\loadmkxlfile{back-out} - -\loadmkxlfile{attr-col} -\loadmkxlfile{attr-lay} -\loadmkxlfile{attr-neg} -\loadmkxlfile{attr-eff} -\loadmkxlfile{attr-mkr} - -\loadmkxlfile{trac-tex} -\loadmkxlfile{trac-deb} % will move up - -\loadmkxlfile{supp-box} - -\loadmarkfile{supp-ran} -\loadmkxlfile{supp-mat} - -\loadmkxlfile{core-uti} -\loadmklxfile{file-job} - -\loadmkxlfile{anch-pos} - -\loadmkxlfile{typo-ini} -\loadmkxlfile{typo-lin} -\loadmarkfile{typo-bld} % par builders - -\loadmkxlfile{typo-inj} - -\loadmklxfile{file-syn} -\loadmklxfile{file-mod} - -\loadmkxlfile{core-sys} -\loadmkxlfile{core-con} - -\loadmarkfile{cont-fil} - -\loadmkxlfile{regi-ini} -\loadmkxlfile{enco-ini} -\loadmkxlfile{hand-ini} - -\loadmkxlfile{lang-ini} -\loadmarkfile{lang-hyp} % also loads dis -\loadmkxlfile{lang-lab} - -\loadmkxlfile{unic-ini} - -\loadmkxlfile{core-two} -\loadmkxlfile{core-dat} - -\loadmkxlfile{colo-ini} -\loadmkxlfile{colo-grp} % optional -\loadmkxlfile{colo-ext} - -\loadmkxlfile{node-bck} % overloads anch-pgr (experimental and undocumented) - -\loadmarkfile{pack-cut} - -\loadmkxlfile{lang-mis} -\loadmkxlfile{lang-url} -\loadmarkfile{lang-def} - -% \loadmkvifile{file-job} % why so late? - -\loadmkxlfile{symb-ini} % brrr depends on fonts - -\loadmarkfile{sort-ini} - -\loadmkvifile{pack-mis} -\loadmkxlfile{pack-ori} -\loadmkxlfile{pack-rul} -\loadmkxlfile{pack-mrl} -\loadmklxfile{pack-bck} -\loadmarkfile{pack-fen} - -\loadmkxlfile{lxml-ini} -\loadmkxlfile{lxml-sor} - -\loadmkvifile{typo-prc} -\loadmkivfile{typo-plc} - -\loadmklxfile{strc-ini} -\loadmkxlfile{strc-tag} -\loadmkxlfile{strc-doc} -\loadmkxlfile{strc-num} -\loadmkxlfile{strc-mar} -\loadmkxlfile{strc-sbe} -\loadmklxfile{strc-lst} -\loadmkxlfile{strc-sec} -\loadmkxlfile{strc-pag} % hm, depends on core-num -\loadmkxlfile{strc-ren} -%loadmarkfile{strc-xml} -\loadmarkfile{strc-def} % might happen later -\loadmklxfile{strc-ref} -%loadmarkfile{strc-reg} -\loadmklxfile{strc-lev} % experiment - -\loadmkxlfile{spac-hor} -\loadmkxlfile{spac-ali} -\loadmarkfile{spac-flr} -\loadmkxlfile{spac-ver} % beware, hooks into strc-sec -\loadmarkfile{spac-lin} -\loadmarkfile{spac-pag} -\loadmkxlfile{spac-par} -\loadmarkfile{spac-def} -\loadmkvifile{spac-prf} -\loadmkxlfile{spac-grd} - -\loadmklxfile{scrn-ini} -\loadmkvifile{scrn-ref} - -\loadmarkfile{pack-obj} - -\loadmklxfile{strc-itm} - -\loadmklxfile{strc-con} -\loadmklxfile{strc-des} -\loadmklxfile{strc-enu} - -\loadmkxlfile{strc-ind} -\loadmkxlfile{strc-lab} -\loadmkxlfile{strc-syn} - -% \loadmarkfile{core-sys} - -\loadmarkfile{page-var} -\loadmklxfile{page-otr} -\loadmkxlfile{page-ini} -\loadmarkfile{page-ins} -\loadmarkfile{page-fac} -\loadmarkfile{page-brk} -\loadmarkfile{page-col} -\loadmarkfile{page-inf} -\loadmarkfile{page-flt} -\loadmkxlfile{page-bck} -\loadmkxlfile{page-not} -\loadmkxlfile{page-one} -\loadmkxlfile{page-lay} -\loadmkvifile{page-box} -\loadmklxfile{page-txt} -\loadmarkfile{page-sid} % when - -\loadmklxfile{strc-flt} - -\loadmarkfile{page-pst} -\loadmkvifile{page-mbk} -%loadmarkfile{page-mul} % \usecolumns[old-multicolumns] -\loadmarkfile{page-mix} -\loadmarkfile{page-smp} -%loadmarkfile{page-set} % \usecolumns[old-columnsets] -\loadmarkfile{page-cst} -\loadmarkfile{page-pcl} % new -\loadmkxlfile{pack-lyr} -\loadmarkfile{pack-pos} -\loadmkvifile{page-mak} -\loadmkxlfile{page-mcl} - -\loadmkxlfile{strc-reg} % uses mixed columns - -\loadmkvifile{page-lin} -\loadmarkfile{page-par} -\loadmarkfile{typo-pag} -\loadmkxlfile{typo-mar} -\loadmarkfile{typo-itm} - -\loadmarkfile{buff-ini} -\loadmkxlfile{buff-ver} -\loadmkvifile{buff-par} - -\loadmarkfile{buff-imp-tex} % optional as also runtime if not loaded -\loadmarkfile{buff-imp-mp} % optional as also runtime if not loaded -\loadmarkfile{buff-imp-lua} % optional as also runtime if not loaded -\loadmarkfile{buff-imp-xml} % optional as also runtime if not loaded - -\loadmarkfile{buff-imp-parsed-xml} % optional -%loadmarkfile{buff-imp-parsed-lua} % optional - -\loadmkxlfile{strc-blk} - -\loadmarkfile{page-imp} -\loadmkvifile{page-sel} % optional -\loadmkvifile{page-inj} % optional - -\loadmklxfile{scrn-pag} -\loadmkvifile{scrn-wid} -\loadmkvifile{scrn-but} -\loadmkvifile{scrn-bar} - -\loadmarkfile{page-com} % optional (after scrn-pag) - -\loadmkxlfile{strc-bkm} % bookmarks - -\loadmkxlfile{java-ini} - -\loadmkvifile{scrn-fld} -\loadmkvifile{scrn-hlp} - -\loadmkxlfile{char-enc} - -\loadmkvifile{font-lib} % way too late but after language -\loadmklxfile{font-fil} -\loadmkvifile{font-var} -\loadmklxfile{font-fea} -\loadmklxfile{font-mat} -\loadmklxfile{font-ini} -\loadmklxfile{font-sym} -\loadmklxfile{font-sty} -\loadmkvifile{font-set} -\loadmklxfile{font-emp} -\loadmkxlfile{font-pre} -\loadmarkfile{font-unk} -\loadmkxlfile{font-tra} -\loadmkxlfile{font-chk} -\loadmarkfile{font-uni} -\loadmklxfile{font-col} -\loadmkvifile{font-gds} -\loadmklxfile{font-aux} -\loadmkvifile{font-sel} - -\loadmarkfile{typo-tal} -\loadmarkfile{typo-par} % par builders (uses fonts) - -\loadmkxlfile{tabl-com} -%loadmarkfile{tabl-pln} - -\loadmkxlfile{tabl-tab} % thrd-tab stripped and merged - -\loadmkxlfile{tabl-tbl} -\loadmkxlfile{tabl-ntb} -\loadmkxlfile{tabl-nte} -\loadmkxlfile{tabl-ltb} -\loadmkxlfile{tabl-frm} -\loadmkxlfile{tabl-tsp} -\loadmklxfile{tabl-xtb} -\loadmkxlfile{tabl-mis} - -\loadmkxlfile{typo-lan} - -\loadmkxlfile{lxml-css} - -\loadmkxlfile{spac-chr} % depends on fonts - -\loadmkxlfile{blob-ini} - -\loadmkxlfile{trac-vis} -\loadmkxlfile{trac-jus} - -\loadmkxlfile{typo-cln} -\loadmarkfile{typo-wrp} -\loadmarkfile{typo-spa} -\loadmkxlfile{typo-krn} -\loadmklxfile{typo-itc} -\loadmkxlfile{typo-dir} -\loadmkxlfile{typo-brk} -\loadmkxlfile{typo-cap} -\loadmarkfile{typo-dig} -\loadmarkfile{typo-rep} -\loadmkvifile{typo-txt} -\loadmarkfile{typo-drp} -\loadmarkfile{typo-fln} -\loadmarkfile{typo-sus} -\loadmkxlfile{typo-lig} -\loadmarkfile{typo-chr} -\loadmarkfile{typo-rub} -\loadmkivfile{typo-fkr} -\loadmkxlfile{typo-pnc} - -\loadmklxfile{type-ini} -\loadmarkfile{type-set} - -\loadmarkfile{scrp-ini} - -\loadmkxlfile{symb-emj} - -\loadmarkfile{lang-tra} % can be optional (discussion with mm sideeffect) -\loadmarkfile{lang-wrd} % can be optional (discussion with mm sideeffect) -\loadmarkfile{lang-rep} % can be optional (bt 2013 side effect) - -\loadmarkfile{prop-ini} % only for downward compatibility - -\loadmkxlfile{mlib-ctx} % messy order - -\loadmkxlfile{meta-ini} -\loadmarkfile{meta-tex} -\loadmarkfile{meta-fun} -\loadmkxlfile{meta-pag} -\loadmarkfile{meta-grd} -\loadmarkfile{meta-fnt} -\loadmarkfile{meta-nod} -\loadmarkfile{meta-lua} -\loadmkxlfile{meta-mac} - -\loadmarkfile{page-mrk} % depends on mp - -\loadmarkfile{page-flw} -\loadmkxlfile{page-spr} -\loadmarkfile{page-plg} -\loadmarkfile{page-str} - -\loadmkxlfile{anch-pgr} % can be moved up (nicer for dependencies) -\loadmklxfile{anch-bck} -\loadmkxlfile{anch-tab} % overloads tabl-tbl -\loadmkxlfile{anch-bar} -%loadmkxlfile{anch-snc} % when needed this one will be redone - -\loadmkxlfile{math-ini} % way after font-pre ! -\loadmkxlfile{math-pln} -\loadmarkfile{math-for} -\loadmarkfile{math-def} % also saves some meanings -\loadmkxlfile{math-ali} -\loadmklxfile{math-stc} -\loadmkxlfile{math-frc} -\loadmarkfile{math-mis} -\loadmarkfile{math-scr} -\loadmarkfile{math-int} -\loadmarkfile{math-del} -\loadmkxlfile{math-fen} -\loadmkvifile{math-acc} -\loadmkvifile{math-rad} -\loadmarkfile{math-inl} -\loadmarkfile{math-dis} -%loadmarkfile{math-lan} -\loadmkxlfile{math-toy} - -\loadmkxlfile{strc-mat} - -\loadmkxlfile{chem-ini} -\loadmkxlfile{chem-str} - -\loadmkxlfile{typo-scr} -\loadmkxlfile{phys-dim} - -\loadmkxlfile{node-rul} % beware, defined \underbar so after math -\loadmklxfile{font-sol} % font solutions - -\loadmklxfile{strc-not} -\loadmklxfile{strc-lnt} -\loadmkxlfile{strc-tnt} -\loadmkxlfile{strc-usr} - -\loadmkxlfile{pack-com} -\loadmkxlfile{typo-del} - -\loadmkxlfile{grph-trf} -\loadmkxlfile{grph-inc} -\loadmkxlfile{grph-fig} -\loadmkxlfile{grph-raw} -\loadmkxlfile{grph-rul} -\loadmkxlfile{grph-pat} - -\loadmkxlfile{pack-box} -\loadmkxlfile{pack-bar} -\loadmarkfile{page-app} -\loadmarkfile{meta-fig} - -\loadmarkfile{page-ffl} - -\loadmarkfile{lang-spa} % will become obsolete - -\loadmarkfile{typo-ovl} % fuzzy project (tracing) code - -% old bibtex support: (will be m-oldbibtex.mkiv) - -% \loadmarkfile{bibl-bib} -% \loadmarkfile{bibl-tra} - -% new bibtex support: - -\loadmkxlfile{publ-ini} -\loadmkxlfile{publ-tra} -\loadmkxlfile{publ-xml} -\loadmarkfile{publ-old} - -%loadmarkfile{x-xtag} % no longer preloaded - -\loadmarkfile{meta-xml} - -\loadmarkfile{cont-log} - -\loadmkxlfile{cldf-ver} % verbatim, this can come late -\loadmkxlfile{cldf-com} % commands, this can come late - -\loadmkxlfile{core-ctx} % this order might change but we need to check depedencies / move to another namespace - -\loadmkxlfile{core-def} - -%usemodule[x][res-04] % xml resource libraries -%usemodule[x][res-08] % rlx runtime conversion -%usemodule[x][res-12] % rli external indentification - -% now we hook in backend code (needs checking) - -\loadmkxlfile{driv-shp} - -\loadmkxlfile{back-exp} -\loadmkxlfile{back-pdf} -\loadmkxlfile{back-mps} -\loadmkxlfile{back-lua} - -\loadmkxlfile{mlib-pdf} -\loadmkxlfile{mlib-pps} -\loadmarkfile{meta-pdf} -\loadmarkfile{meta-blb} -\loadmkxlfile{grph-epd} - -\loadmarkfile{math-inc} % an experiment -\loadmkxlfile{publ-inc} % an experiment - -\loadmkxlfile{task-ini} - -\loadmarkfile{syst-cmp} % compatibility stuff moved here - -\loadmkxlfile{libs-ini} - -\loadmarkfile{cont-run} % the main runner (used in cont-yes.mkiv) - -\setupcurrentlanguage[\defaultlanguagetag] - -\prependtoks - \ctxlua{statistics.starttiming(statistics)}% -\to \everyjob - -\appendtoks - \ctxlua{statistics.stoptiming(statistics)}% -\to \everyjob - -% \appendtoks -% \ctxlua{job.prepare()}% -% \to \everyjob - -% \appendtoks -% \enabletrackers[*]% -% \to \everyjob - -\appendtoks - \ctxlua{statistics.savefmtstatus("\jobname","\contextversion","context.mkxl","\contextbanner")}% can become automatic -\to \everydump - -% some day: -% -% \prependtoks -% \overloadmode 255 -% \to \everyjob - -\overloadmode 0 % for now - -\errorstopmode \dump \endinput |