diff options
Diffstat (limited to 'tex/context/base/xtag-mmc.tex')
-rw-r--r-- | tex/context/base/xtag-mmc.tex | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/tex/context/base/xtag-mmc.tex b/tex/context/base/xtag-mmc.tex index 9da718b27..c8623487f 100644 --- a/tex/context/base/xtag-mmc.tex +++ b/tex/context/base/xtag-mmc.tex @@ -1,5 +1,5 @@ %D \module -%D [ file=xtag-mmc, +%D [ filefile=xtag-mmc, %D version=2000.12.20, %D title=\CONTEXT\ XML Support, %D subtitle=Math ML, @@ -43,7 +43,7 @@ \remapXMLsequence [cn] [CPA] \MMLcCN \remapXMLsequence [csymbol] [CPA] \MMLcCSYMBOL -\setupMMLappearance[polar][\c!variant=\v!a] % a|b|c +\setupMMLappearance[polar][\c!alternative=\v!a] % a|b|c \def\MMLcpolar#1% {\doifdefinedelse{MMLcdopolar\@@MMLpolarvariant} @@ -66,10 +66,10 @@ % float will be obsolete, an is replace by e-notation -\setupMMLappearance[float][\c!symbool=\v!nee] % \v!ja|dot +\setupMMLappearance[float][\c!symbol=\v!no] % \v!yes|dot \def\MMLcfloat#1% - {\doifelse\@@MMLfloatsymbool\v!nee + {\doifelse\@@MMLfloatsymbool\v!no {{\rm#1}} % make sure that e shows up ok {% we should ignore \entities ! \beforesplitstring#1\at e\to\first @@ -83,10 +83,10 @@ % we now have: -\setupMMLappearance[enotation][\c!symbool=\v!nee] % \v!ja|dot +\setupMMLappearance[enotation][\c!symbol=\v!no] % \v!yes|dot \def\MMLcenotation#1% - {\doifelse\@@MMLenotationsymbool\v!nee + {\doifelse\@@MMLenotationsymbool\v!no {\def\MMLcsep% {\unskip{\rm e}\ignorespaces}} {\def\MMLcsep##1\empty @@ -156,18 +156,18 @@ complex-cartesian=>\let\next\MMLccartesian, {\let\next\firstofoneargument} \next} -\setupMMLappearance[base][\c!symbool=\v!cijfers] % cijfers|letters|tekst|nee +\setupMMLappearance[base][\c!symbol=\v!numbers] % cijfers|letters|tekst|nee \def\MMLcCNinteger#1% {\doifXMLparelse{cn}{base} {\def\MMLcCNbase{\XMLpar{cn}{base}{}}% - \doifelse\@@MMLbasesymbool\v!nee + \doifelse\@@MMLbasesymbool\v!no {\MMLcCNbasedata{#1}} {\MMLcCNbasedata{#1}_{\hbox{$\rm\scriptscriptstyle \processaction [\@@MMLbasesymbool] - [\v!letters=>\MMLcCNbasestring BODH, - \v!tekst=>\MMLcCNbasestring{BIN}{OCT}{DEC}{HEX}, + [\v!characters=>\MMLcCNbasestring BODH, + \v!text=>\MMLcCNbasestring{BIN}{OCT}{DEC}{HEX}, \s!unknown=>\MMLcCNbase]$}}}} {#1}} @@ -346,7 +346,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsequence [declare] [CPA] \MMLcDECLARE -\setupMMLappearance[declare][\c!status=\v!start] +\setupMMLappearance[declare][\c!state=\v!start] \def\MMLcDECLARE#1#2% {\doif\@@MMLdeclarestatus\v!start @@ -362,7 +362,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsequence [lambda] [CPA] \MMLcLAMBDA -\setupMMLappearance[lambda][\c!variant=b] +\setupMMLappearance[lambda][\c!alternative=b] \def\MMLcLAMBDA#1#2% {\doifelse\@@MMLlambdavariant\v!a @@ -410,7 +410,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsequence [piece] [CPA] \MMLcPIECE \remapXMLsequence [otherwise] [CPA] \MMLcOTHERWISE -\setupMMLappearance[piece][\c!scheider=] +\setupMMLappearance[piece][\c!separator=] \def\MMLcPIECEWISE#1#2% {\cases{#2}} @@ -425,7 +425,7 @@ complex-cartesian=>\let\next\MMLccartesian, %\def\MMLcOTHERWISE#1#2% % {#2\@col@amp@\mathematics{\getXMLentity{otherwise}}\crcr} -\def\MMLcPIECEseparator{\doif\@@MMLpiecescheider\v!ja,} +\def\MMLcPIECEseparator{\doif\@@MMLpiecescheider\v!yes,} \def\MMLcPIECE#1#2% {\withnexttwoXMLRelements @@ -451,7 +451,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [divide] [CPA] \MMLcDIVIDE -\setupMMLappearance [divide] [\c!niveau=\!!maxcard] +\setupMMLappearance [divide] [\c!level=\!!maxcard] \def\MMLcDIVIDE#1#2% {\withnexttwoXMLRelements @@ -479,14 +479,14 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [minus] [CPA] \MMLcMINUS \remapXMLsingular [plus] [CPA] \MMLcPLUS -\setupMMLappearance[sign][\c!reductie=\v!ja] +\setupMMLappearance[sign][\c!reduction=\v!yes] \def\MMLcMINUS % expandafter needed ? - {\doifelse\@@MMLsignreductie\v!ja + {\doifelse\@@MMLsignreductie\v!yes {\expandafter\MMLcMINUSyes}{\expandafter\MMLcMINUSno}} \def\MMLcPLUS % expandafter needed ? - {\doifelse\@@MMLsignreductie\v!ja + {\doifelse\@@MMLsignreductie\v!yes {\expandafter\MMLcPLUSyes}{\expandafter\MMLcPLUSno}} \def\MMLcMINUSno#1#2#3\empty @@ -517,14 +517,14 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [power] [CPA] \MMLcPOWER -\setupMMLappearance[power][\c!reductie=\v!ja] +\setupMMLappearance[power][\c!reduction=\v!yes] \let\MMLpowerelement\empty \def\MMLcPOWER#1#2% {\withnexttwoXMLRelements {\doifXMLRchildelse{apply}{\firstXMLRelement} - {\doifelse\@@MMLpowerreductie\v!ja + {\doifelse\@@MMLpowerreductie\v!yes {\collectXMLRchild{apply}{\firstXMLRelement}% \@EA\doifXMLRchildelse\@EA{\MMLcfunctionlist}{\the\XMLRtoks} {\let\MMLpowerelement\secondXMLRelement @@ -541,11 +541,11 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [times] [CPA] \MMLcTIMES -\setupMMLappearance[times][\c!symbool=\v!nee] +\setupMMLappearance[times][\c!symbol=\v!no] \def\MMLcTIMES#1#2#3\empty {\setMMLcreset{\MMLcfunctionlist,\MMLcconstructlist}% - \doifelse\@@MMLtimessymbool\v!ja + \doifelse\@@MMLtimessymbool\v!yes {\encapsulateXMLR{}{\times}{}{#3\empty}} {\doifelse\@@MMLtimessymbool{dot} {\encapsulateXMLR{}{\cdot}{}{#3\empty}} @@ -560,11 +560,11 @@ complex-cartesian=>\let\next\MMLccartesian, % \MMLcreset\processXMLRchildren{#3}}} % {\sqrt{\MMLcreset\processXMLRchildren{#3}}}} -\setupMMLappearance[root][\c!symbool=\v!ja] +\setupMMLappearance[root][\c!symbol=\v!yes] \def\MMLcROOT#1#2#3\empty {\doifXMLRchildelse{degree}{#3}\donetrue\donefalse - \doif\@@MMLrootsymbool\v!nee\donefalse + \doif\@@MMLrootsymbool\v!no\donefalse \ifdone \root\processXMLRchild{degree}{#3}\of {\let\MMLcDEGREE\ignoreXMLRelement @@ -678,7 +678,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [approx] [CPA] \MMLcAPPROX \remapXMLsingular [factorof] [CPA] \MMLcFACTOROF -\setupMMLappearance[relation][\c!uitlijnen=\v!nee] +\setupMMLappearance[relation][\c!align=\v!no] \def\noMMLcrelation#1#2% {\encapsulatenextXMLRelements{}{#1}{}#2\empty} @@ -720,11 +720,11 @@ complex-cartesian=>\let\next\MMLccartesian, {\MMLcreset \processaction [\@@MMLrelationuitlijnen] - [\v!laatste=>\let\next\lastMMLcrelation , - \v!eerste=>\let\next\firstMMLcrelation, - \v!ja=>\let\next\leftMMLcrelation , - \v!links=>\let\next\leftMMLcrelation , - \v!rechts=>\let\next\rightMMLcrelation, + [\v!last=>\let\next\lastMMLcrelation , + \v!first=>\let\next\firstMMLcrelation, + \v!yes=>\let\next\leftMMLcrelation , + \v!left=>\let\next\leftMMLcrelation , + \v!right=>\let\next\rightMMLcrelation, \s!default=>\let\next\noMMLcrelation , \s!unknown=>\let\next\noMMLcrelation ] \next{#1}{#2}} @@ -749,12 +749,12 @@ complex-cartesian=>\let\next\MMLccartesian, %%% calculus and vector calculus -\setupMMLappearance[int][\c!plaats=\v!boven] +\setupMMLappearance[int][\c!location=\v!top] \remapXMLsingular [int] [CPA] \MMLcINT \def\doMMLlimits#1% - {\doifelsevalue{@@MML#1\c!plaats}\v!boven\limits\nolimits} + {\doifelsevalue{@@MML#1\c!location}\v!top\limits\nolimits} \def\MMLcINT#1#2#3\empty {\pushmacro\xmlr @@ -783,7 +783,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [diff] [CPA] \MMLcDIFF -\setupMMLappearance[diff][\c!plaats=\v!boven] +\setupMMLappearance[diff][\c!location=\v!top] \def\MMLcDIFF#1#2#3\empty {\pushmacro\xmlr @@ -794,7 +794,7 @@ complex-cartesian=>\let\next\MMLccartesian, \collectXMLRchild{bvar}{#3}% \let\MMLcDEGREE\superMMLcelement \expanded{\processXMLRchild{degree}{\the\XMLRtoks}}% - \doif\@@MMLdiffplaats\v!boven + \doif\@@MMLdiffplaats\v!top {\doifXMLRchildelse{ci}{#3} {\processXMLRchild{ci}{#3}} {\doifMMLfunctionelse{#3} @@ -803,7 +803,7 @@ complex-cartesian=>\let\next\MMLccartesian, {\let\MMLcDEGREE\superMMLcelement \begingroup\rm\getXMLentity{mathematicald}\endgroup \processXMLRchild{bvar}{#3}}% - \doifnot\@@MMLdiffplaats\v!boven + \doifnot\@@MMLdiffplaats\v!top {\left(\MMLcreset\processXMLRchild{apply,ci}{#3}\right)}} {\processXMLRchildren{#3}^\prime}% \popmacro\xmlr} @@ -928,8 +928,8 @@ complex-cartesian=>\let\next\MMLccartesian, \def\MMLcSUM {\MMLcSUMandPRODUCT{sum}\sum} \def\MMLcPRODUCT{\MMLcSUMandPRODUCT{product}\prod} -\setupMMLappearance[sum][\c!plaats=\v!boven] -\setupMMLappearance[product][\c!plaats=\v!boven] +\setupMMLappearance[sum][\c!location=\v!top] +\setupMMLappearance[product][\c!location=\v!top] \def\stackMMLsubscripts#1% {\vbox @@ -959,7 +959,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [limit] [CPA] \MMLcLIMIT -\setupMMLappearance[limit][\c!plaats=\v!boven] +\setupMMLappearance[limit][\c!location=\v!top] \def\MMLcLIMIT#1#2#3\empty {\pushmacro\xmlr @@ -1004,13 +1004,13 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [log] [CPA] \MMLcLOG -\setupMMLappearance[log][\c!plaats=\v!rechts] +\setupMMLappearance[log][\c!location=\v!right] \def\MMLcLOG#1#2#3\empty {\pushmacro\MMLcLOGBASE \let\MMLcLOGBASE\secondoftwoarguments \doifXMLRchildelse{logbase}{#3} - {\doifelse\@@MMLlogplaats\v!links + {\doifelse\@@MMLlogplaats\v!left {\mathop{{}^{\processXMLRchild{logbase}{#3}}\!\getXMLentity{log}}} {\getXMLentity{log}_{\processXMLRchild{logbase}{#3}}}} {\getXMLentity{log}}% @@ -1047,7 +1047,7 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsingular [sech] [CPA] \MMLcSECH \remapXMLsingular [arcsech] [CPA] \MMLcARCSECH -\setupMMLappearance[function][\c!reductie=\v!ja] +\setupMMLappearance[function][\c!reduction=\v!yes] \def\doMMLcfunction#1% {\doifnextcharelse\xmlr{\dodoMMLcfunction{#1}}{\getXMLentity{#1}}} @@ -1060,7 +1060,7 @@ complex-cartesian=>\let\next\MMLccartesian, {\ifx\MMLpowerelement\empty\else ^{\MMLcreset\MMLpowerelement\empty}\!\let\MMLpowerelement\empty \fi - \doifelse\@@MMLfunctionreductie\v!ja + \doifelse\@@MMLfunctionreductie\v!yes {\doifXMLRchildelse{apply}{#1} {\collectXMLRchild{apply}{#1}% \@EA\doifXMLRchildelse\@EA{\MMLcfunctionlist}{\the\XMLRtoks} @@ -1121,12 +1121,12 @@ complex-cartesian=>\let\next\MMLccartesian, \remapXMLsequence [vector] [CPA] \MMLcVECTOR -\setupMMLappearance[vector][\c!richting=\v!horizontaal] % \v!vertikaal +\setupMMLappearance[vector][\c!direction=\v!horizontal] % \v!vertical \def\MMLcVECTOR#1#2% {\countXMLRchildren{#2}% \ifnum\nofXMLRchildren>1 - \doifelse\@@MMLvectorrichting\v!horizontaal + \doifelse\@@MMLvectorrichting\v!horizontal {\encapsulateXMLR{\left(}{\MMLccomma}{\right)}{#2}} {\collectbetweenXMLR{\crcr}{#2}% \MMLcreset\left(\matrix{\the\XMLRtoks}\right)}% |