From 0f966593d64f716c30d4e8586f0343749e258c8b Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 15 Apr 2011 10:00:41 +0000 Subject: change file ending (browsers showed the *.xhtml file as XML source) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7011 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- .../functional/expected/math_output_mathml.html | 196 +++++++++++++++++++++ .../functional/expected/math_output_mathml.xhtml | 196 --------------------- 2 files changed, 196 insertions(+), 196 deletions(-) create mode 100644 docutils/test/functional/expected/math_output_mathml.html delete mode 100644 docutils/test/functional/expected/math_output_mathml.xhtml diff --git a/docutils/test/functional/expected/math_output_mathml.html b/docutils/test/functional/expected/math_output_mathml.html new file mode 100644 index 000000000..3deb12dde --- /dev/null +++ b/docutils/test/functional/expected/math_output_mathml.html @@ -0,0 +1,196 @@ + + + + + + +Mathematics + + + +
+

Mathematics

+ +

Docutils supports inline math with the prefix or postfix :math: +role specificator, +n!+sin(xn2) and +Ac= +π +4d2, as well as displayed math via the +math directive:

+ + + +f(ϵ)= +1 +1+exp + +ε +kBT + + + +N= +number of apples +7 +

The determinant of the matrix

+ + + + +M= + + + +a +b + +c +d +

is +| +M|=ad-bc.

+

Sum and Integral with limits:

+ + + +01xndx= +1 +n+1 + + + + +n=1mn= +m(m+1) +2 +

LaTeX-supported Unicode math symbols can be used in math roles and +directives:

+

The Schrödinger equation

+ + + +i + +tΨ= +H^Ψ, +

with the wave function +Ψ, describes how the quantum state of a +physical system changes in time.

+
+
Math-Accents:
+
+++++ + + + + + + + + + + + + + + + + + + +
+ +a´ \acute{a} + +t˙ \dot{t} + +γ^ \hat{\gamma}
+ +a` \grave{a} + +t¨ \ddot{t} + +α˜ \tilde{\alpha}
+ +x˘ \breve{x} + +t \dddot{t} + +ı \vec{\imath}
+ +aˇ \check{a} + +a¯ \bar{a} + +R \vec{R}
+
+
+ +

Modulation Transfer Function:

+ + + +MTF= + +{s(x)} +{s(x)}| +ω +x=0=abs + + +- +s(x)e +iω +xxd +x + +- +s(x)d +x. +

Math split over two lines:

+ + + +s +out(x) +=s +in(x')*sδ(x-x') + + +=s +in(x')sδ(x-x')dx' +

Cases ("manually", with matrix environment):

+ + + +sgn(x)= + + + +-1 +x<0 + +1 +x>0 +

Cases with the AMSmath cases environment (not (yet) +supported by latex2MathML):

+
+

System Message: ERROR/3 (functional/input/data/math.txt, line 103)

+

+Environment not supported! Supported environment: "matrix".

+
+\mathrm{sgn}(x) = \begin{cases}
+                    -1 & x<0\\
+                     1 & x>0
+                  \end{cases}
+
+
+
+ + diff --git a/docutils/test/functional/expected/math_output_mathml.xhtml b/docutils/test/functional/expected/math_output_mathml.xhtml deleted file mode 100644 index 3deb12dde..000000000 --- a/docutils/test/functional/expected/math_output_mathml.xhtml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Mathematics - - - -
-

Mathematics

- -

Docutils supports inline math with the prefix or postfix :math: -role specificator, -n!+sin(xn2) and -Ac= -π -4d2, as well as displayed math via the -math directive:

- - - -f(ϵ)= -1 -1+exp - -ε -kBT - - - -N= -number of apples -7 -

The determinant of the matrix

- - - - -M= - - - -a -b - -c -d -

is -| -M|=ad-bc.

-

Sum and Integral with limits:

- - - -01xndx= -1 -n+1 - - - - -n=1mn= -m(m+1) -2 -

LaTeX-supported Unicode math symbols can be used in math roles and -directives:

-

The Schrödinger equation

- - - -i - -tΨ= -H^Ψ, -

with the wave function -Ψ, describes how the quantum state of a -physical system changes in time.

-
-
Math-Accents:
-
----- - - - - - - - - - - - - - - - - - - -
- -a´ \acute{a} - -t˙ \dot{t} - -γ^ \hat{\gamma}
- -a` \grave{a} - -t¨ \ddot{t} - -α˜ \tilde{\alpha}
- -x˘ \breve{x} - -t \dddot{t} - -ı \vec{\imath}
- -aˇ \check{a} - -a¯ \bar{a} - -R \vec{R}
-
-
- -

Modulation Transfer Function:

- - - -MTF= - -{s(x)} -{s(x)}| -ω -x=0=abs - - -- -s(x)e -iω -xxd -x - -- -s(x)d -x. -

Math split over two lines:

- - - -s -out(x) -=s -in(x')*sδ(x-x') - - -=s -in(x')sδ(x-x')dx' -

Cases ("manually", with matrix environment):

- - - -sgn(x)= - - - --1 -x<0 - -1 -x>0 -

Cases with the AMSmath cases environment (not (yet) -supported by latex2MathML):

-
-

System Message: ERROR/3 (functional/input/data/math.txt, line 103)

-

-Environment not supported! Supported environment: "matrix".

-
-\mathrm{sgn}(x) = \begin{cases}
-                    -1 & x<0\\
-                     1 & x>0
-                  \end{cases}
-
-
-
- - -- cgit v1.2.1