From 104ea1dae3d609aeb395e19658ad6ea7d4c85eea Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 10 Sep 2007 21:31:00 +0200 Subject: stable 2007.09.10 21:31 --- tex/context/test/x-cals-test.cdx | 6 + tex/context/test/x-cals-test.tex | 20 + tex/context/test/x-cals-test.xml | 326 ++++++++++ tex/context/test/x-cml-test.tex | 9 + tex/context/test/x-cml-test.xml | 203 ++++++ tex/context/test/x-mmp-test.tex | 12 + tex/context/test/x-mmp-test.xml | 1270 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 1846 insertions(+) create mode 100644 tex/context/test/x-cals-test.cdx create mode 100644 tex/context/test/x-cals-test.tex create mode 100644 tex/context/test/x-cals-test.xml create mode 100644 tex/context/test/x-cml-test.tex create mode 100644 tex/context/test/x-cml-test.xml create mode 100644 tex/context/test/x-mmp-test.tex create mode 100644 tex/context/test/x-mmp-test.xml (limited to 'tex/context/test') diff --git a/tex/context/test/x-cals-test.cdx b/tex/context/test/x-cals-test.cdx new file mode 100644 index 000000000..e87a947ef --- /dev/null +++ b/tex/context/test/x-cals-test.cdx @@ -0,0 +1,6 @@ + + + + + + diff --git a/tex/context/test/x-cals-test.tex b/tex/context/test/x-cals-test.tex new file mode 100644 index 000000000..dacfc9626 --- /dev/null +++ b/tex/context/test/x-cals-test.tex @@ -0,0 +1,20 @@ +% engine=luatex + +\usemodule[x][cals] + +\setupcolors[state=start] + +\startsetups xml:directive:noframe + \setupTABLE[frame=off] +\stopsetups + +\startsetups xml:directive:colors + \setupTABLE[row] [odd] [frame=off,background=color,backgroundcolor=red] + \setupTABLE[row] [even][frame=off,background=color,backgroundcolor=green] + \setupTABLE[column][2] [frame=off,background=color,backgroundcolor=blue] +\stopsetups + +\starttext + \xmlloaddirectives{x-cals-test.cdx} + \xmlprocess{main}{x-cals-test.xml}{} +\stoptext diff --git a/tex/context/test/x-cals-test.xml b/tex/context/test/x-cals-test.xml new file mode 100644 index 000000000..55e495c77 --- /dev/null +++ b/tex/context/test/x-cals-test.xml @@ -0,0 +1,326 @@ + + + + + + + + + + + + + + + alpha + beta + gamma + + + + + one + two + three + + + four + five + + + + + + + + + + + + + alpha + beta + gamma + + + + + + one + two + three + + + four + five + + + + + + + + + + + + + alpha + beta + gamma + + + + + one + two + three + + + one + three + + + 4m + 5m + + + + + + + + + + alpha + + + + + one + three + + + 4 + 5 + + + + + + + one + two + + + +
+ + + Cals tabel 3 met kolommen: header + footer + 3 rijen + + + + + + + h1 + h2 + h3 + + + + + f1 + f2 + f3 + + + + + a1 + a2 + a3 + + + b1 + b2 + b3 + + + c1 + c2 + c3 + + + + + + + Cals tabel 4 met kolommen: header + footer + 3 rijen + + + + + + + + h1 + h2 + h3 + h4 + + + + + f1 + f2 + f3 + f4 + + + + + a1 + a2 + a3 + a4 + + + b1 + b2 + b3 + b4 + + + c1 + c2 + c3 + c4 + + + + + + + Cals tabel 3 met kolommen: horizontal span + + + + + + + h1 + h2 + h3 + + + + + f1 + f2 + f3 + + + + + a1 + a2 + a3 + + + hs + + b3 + + + c1 + c2 + c3 + + + + + + + Cals tabel 3 met kolommen: verticale span + + + + + + + h1 + h2 + h3 + + + + + f1 + f2 + f3 + + + + + a1 + a2 + a3 + + + b1 + b2 +

vs

+
+ + c1 + c2 + + +
+
+
+ + + Cals tabel 3 met kolommen: verticale en horizontale span + + + + + + + h1 + h2 + h3 + + + + + f1 + f2 + f3 + + + + + a1 + a2 + a3 + + + b1 + vh + + + + c1 + + + + + + + +
diff --git a/tex/context/test/x-cml-test.tex b/tex/context/test/x-cml-test.tex new file mode 100644 index 000000000..8df87b20a --- /dev/null +++ b/tex/context/test/x-cml-test.tex @@ -0,0 +1,9 @@ +% engine=luatex + +\usemodule[x][cml] + +\starttext + +\xmlprocess{main}{x-cml-test.xml}{xml:process} + +\stoptext diff --git a/tex/context/test/x-cml-test.xml b/tex/context/test/x-cml-test.xml new file mode 100644 index 000000000..a177e5e2a --- /dev/null +++ b/tex/context/test/x-cml-test.xml @@ -0,0 +1,203 @@ + + + + + + H + hydrogen + + + + O + oxygen + + + hefty + + + H + O + water + + + + + + + O + + + + + + + H + + + + O + + + + H + O + + + + + + Rx + + + + H + O + + + + + C + O + O + H + + + + + + C + O + O + H + + + + + + + C + O + O + H + + + + + + + H + + + + O + + + + H + O + + + wet feet + + + H + O + + + + + + + + + + first entry + + + first entry + second entry + + + + + + + + H + + C + + C + + H + + + + + + H + + C + + C + + H + + + + + + + SIX,B + r135 + + + R246 + + + RZ + A,B,C,D,E,F + + + + + + + + SIX,B + R135 + + + R246 + + + RZ + A,B,C,D,E,F + + + Z + A + + B + x + + C + D,E,F + + + + + SIX,B + r135 + + + R246 + + + RZ + A,B,C,D,E,F + + + + + diff --git a/tex/context/test/x-mmp-test.tex b/tex/context/test/x-mmp-test.tex new file mode 100644 index 000000000..f157c13f1 --- /dev/null +++ b/tex/context/test/x-mmp-test.tex @@ -0,0 +1,12 @@ +% engine=luatex + +% \startsetups xml:process +% \xmlregisteredsetups +% \xmlall\xmldocument{/} +% \stopsetups + +\usemodule[x][mml] + +\starttext + \xmlprocess{main}{x-mmp-test.xml}{xml:process} +\stoptext diff --git a/tex/context/test/x-mmp-test.xml b/tex/context/test/x-mmp-test.xml new file mode 100644 index 000000000..6b3e59a01 --- /dev/null +++ b/tex/context/test/x-mmp-test.xml @@ -0,0 +1,1270 @@ + + + + + + + + + + + 10 + + + + + + + + + + + 10 + + + + + 131 + + + + 1413 + + + + + + + + + 131 + _ + + 3 + + + + + + + 103 + + + + + + + + R + i + + + j + k + + l + + + + + + + R + i + j + + k + l + + + + + + + + + x + + + y + + + z + + + + versus + + + x + + + y + + + z + + + + + + + + + + ( + _ + + + a + b + + + ) + + + + + + + + + + + 0 + 1 + + + + + x + + + + + x + + + + + + + + + x + + + y + + + z + + + x + + + + y + + + + z + + + + + + + + x + + + y + + + z + + + x + + + + + + y + + + + z + + + + + + + ( + + a + b + + ) + + + + + + sin + x + + + + + + 2500 + + + + + m + 3 + + + s + + + + + + + + 2500 + + + km + + 3 + + /s + + + + + + + + sin + + + 2 + + x + = + 1 + + + + cos + + + 2 + + x + + + + + + + + + + c + + + + + 2 + + = + + + a + + + + + 2 + + + + + + b + + + + + 2 + + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaWaauWaaeaaceWGJbGbaSaaaiaawMa7caGLkWoadaahaaWcbeqaaiaaikdaaaGccqGH9aqpdaqbdaqaaiqadggagaWcaaGaayzcSlaawQa7amaaCaaaleqabaGaaGOmaaaakiabgUcaRmaafmaabaGabmOyayaalaaacaGLjWUaayPcSdWaaWbaaSqabeaacaaIYaaaaaaa@4704@ + + + + + + + n= + + log + + + v + 1 + + + log + + + v + 2 + + + + log + t + 1 + + log + t + 2 + + + + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamOBaiabg2da9maalaaabaGaciiBaiaac+gacaGGNbGaamODamaaBaaaleaacaaIXaaabeaakiabgkHiTiGacYgacaGGVbGaai4zaiaadAhadaWgaaWcbaGaaGOmaaqabaaakeaaciGGSbGaai4BaiaacEgacaWG0bWaaSbaaSqaaiaaigdaaeqaaOGaeyOeI0IaciiBaiaac+gacaGGNbGaamiDamaaBaaaleaacaaIYaaabeaaaaaaaa@4CB4@ + + + + + + + + F + s + + = + A + a + + · + + σ + ¯ + + o + + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamOramaaBaaaleaacaqGZbaabeaakiabg2da9iaadgeadaWgaaWcbaGaaeyyaaqabaGccqWIpM+zcuaHdpWCgaqeamaaBaaaleaacaqGVbaabeaaaaa@4033@ + + + + + + + + M + + z;pl;d + + + (1 + + ( + + + + + N + + s;d + + + + + + N + + pl;d + + + + + + a + 1 + + + + 1 + a + 1 + + + + ) + + 2 + + ) + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamytamaaBaaaleaacaqG6bGaae4oaiaabchacaqGSbGaae4oaiaabsgaaeqaaOGaaiikaiaaigdacqGHsislcaGGOaWaaSaaaeaadaWcaaqaaiaad6eadaWgaaWcbaGaae4CaiaabUdacaqGKbaabeaaaOqaaiaad6eadaWgaaWcbaGaaeiCaiaabYgacaqG7aGaaeizaaqabaaaaOGaeyOeI0IaamyyamaaBaaaleaacaaIXaaabeaaaOqaaiaaigdacqGHsislcaWGHbWaaSbaaSqaaiaaigdaaeqaaaaakiaacMcadaahaaWcbeqaaiaaikdaaaGccaGGPaaaaa@501B@ + + + + + + + + M + + z;pl;d + + + + 1 + + ( + + + + + N + + s;d + + + + + + N + + pl;d + + + + + + a + 1 + + + + 1 + a + 1 + + + + ) + + 2 + + + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamytamaaBaaaleaacaqG6bGaae4oaiaabchacaqGSbGaae4oaiaabsgaaeqaaOGaaiikaiaaigdacqGHsislcaGGOaWaaSaaaeaadaWcaaqaaiaad6eadaWgaaWcbaGaae4CaiaabUdacaqGKbaabeaaaOqaaiaad6eadaWgaaWcbaGaaeiCaiaabYgacaqG7aGaaeizaaqabaaaaOGaeyOeI0IaamyyamaaBaaaleaacaaIXaaabeaaaOqaaiaaigdacqGHsislcaWGHbWaaSbaaSqaaiaaigdaaeqaaaaakiaacMcadaahaaWcbeqaaiaaikdaaaGccaGGPaaaaa@501B@ + + + + + + + q=1,03 + + 1 + + + + + V + + y;s;d + + + + + + N + + y;pl;d + + + + + ) + + 2 + + + + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamyCaiabg2da9iaaigdacaGGSaGaaGimaiaaiodadaGcaaqaaiaaigdacqGHsislcaGGOaWaaSaaaeaacaWGwbWaaSbaaSqaaiaabMhacaqG7aGaae4CaiaabUdacaqGKbaabeaaaOqaaiaad6eadaWgaaWcbaGaaeyEaiaabUdacaqGWbGaaeiBaiaabUdacaqGKbaabeaaaaGccaGGPaWaaWbaaSqabeaacaaIYaaaaaqabaaaaa@4A85@ + + + + + + + MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeSyfHukaaa@3759@ + + + + + + ( + + 1 + + + - + 1 + + + + ) + + + + + + + 1 + + + - + 1 + + + + ) + + + + + + ( + + 1 + + + - + 1 + + + + + + + + + x + + + + a + / + b + + + + + + + - + 1 + + + + + + + - + 1 + + + + + + + + a + + + b + + + + + + + 0 + 1 + + + + + + 1 + 2 + + + + + x + D + sin + + + + + + sin + + x + + + + + + 1 + + + ... + + + n + + + + + π + + + + + + 2 + + 0.123 + + 1,000,000 + + 2.1e10 + + 0xFFEF + + MCMLXIX + + twenty one + + + + + 2 + + + + 3 + + + + + 1 2 + π + + + + + + + < + + <= + ++ + + .NOT. + and + + + + + + ( + + a + + + b + + ) + + + + + + [ + + 0 + , + 1 + + ) + + + + + + f + + + ( + + x + , + y + + ) + + + + + + + x + + y + + + f + + + ( + x + ) + + + + sin + + x + + + m + + 1 + + 2 + + + + + + + + + + x + + + + + + + + x + + + maps to + + y + + + + + Theorem 1: + +      + /* a comment */ + + + + + there exists + + + δ + > + 0 + + such that + + + f + + + ( + x + ) + + + < + 1 + + + + + + + + + x + + + 2 + + + + + + + + + + = + + + + + + + + 2 + + x + + + + y + - + z + + + + + + ( + + x + , + y + + ) + + + + + + ( + + a + b + + ) + + + + a + b + + + c + d + + + + + + + 1 + + + x + 3 + + + + + x + 3 + + + + = + + 1 + + + x + 3 + + + + + x + 3 + + + + + + + + + 1 + + + + 5 + + + 2 + + + + + + ( + a b + ) + + + + + + + ( + a b + ) + + + + + + + Unrecognized element: mfraction; + arguments were: + 1 + 5 + and + 2 + + + + + + C + + | + + + + + + + C + + | + + + + + + + + + + + x + + + y + + + z + + + x + + + + y + + + + z + + + + + + + + x + + + y + + + z + + + x + + + + + + y + + + + z + + + + + + ( x ) + + + + + ( + x , y + ) + + + + + + x + y + z + + + + + + f + + + x + y + + + + + + + + a + + + n + + + i + + + + + + + + ( + + x + + + y + + ) + + 2 + + + + + + + + + x + ^ + + versus + + x + ^ + + + + + + + + + x + + + y + + + z + + + + versus + + + x + + + y + + + z + + + + + + + + + + + + 0 + + + + versus + + + 0 + + + + + + + + + F + 1 + + + 0 + + + + + ( + + ; + a + ; + z + + ) + + + + + + + ( + + + 1 + 0 + 0 + + + 0 + 1 + 0 + + + 0 + 0 + 1 + + + ) + + + + + + + + (2.1) + + + + E + = + + m + + + c + 2 + + + + + + + + + + + + + + + + + 8.44 + + + x + + + + + + + 55 + + + y + + + + = + + 0 + + + + + + + + 3.1 + + + x + + + - + + + 0.7 + + + y + + + + = + + + - + 1.1 + + + + + + + + -- cgit v1.2.3