Adding relative path to external DTD

git-svn-id: svn://10.0.0.236/trunk@49659 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au
1999-10-02 06:53:41 +00:00
parent 1a870b97f1
commit 142225cef1
4 changed files with 66 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="mathml.css" type="text/css"?>
<!DOCTYPE math SYSTEM "file:///C:\Mozilla/src/mozilla/layout/mathml/tests/mathml.dtd">
<!DOCTYPE math SYSTEM "mathml.dtd">
<!--
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
@@ -35,14 +35,57 @@ This with &lt;none/&gt;,
<!-- {{} \atop i} A {p \atop q} -->
<math:mmultiscripts><math:mi>A</math:mi><math:mi>q</math:mi><math:mi>p</math:mi><math:mprescripts/><math:mi>i</math:mi><none/></math:mmultiscripts></math>;
A bit of calculus
<math xmlns:math="http://www.w3.org/Math/MathML">
A bit of calculus with poor markup:
<math xmlns="http://www.w3.org/Math/MathML">
<!-- \int_a^b f(x)dx -->
<math:msubsup><math:mo>&Integral;</math:mo><math:mi>a</math:mi><math:mi>b</math:mi></math:msubsup><math:mi>f(x)dx</math:mi>
<msubsup>
<mo>&Integral;</mo>
<mi>a</mi>
<mi>b</mi>
</msubsup>
<mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo><mi>dx</mi>
<!-- \frac{\partial}{\partial x}F(x,y) + \frac{\partial}{\partial y}F(x,y) -->
<math:mrow><math:mfrac><math:mo>&PartialD;</math:mo><math:mrow><math:mo>&PartialD;</math:mo><math:mi>x</math:mi></math:mrow></math:mfrac><math:mi>F(x,y)</math:mi><math:mo>
+ </math:mo><math:mfrac><math:mo>&PartialD;</math:mo><math:mrow><math:mo>&PartialD;</math:mo><math:mi>y</math:mi></math:mrow></math:mfrac><math:mi>F(x,y)</math:mi></math:mrow>
<mrow>
<mfrac>
<mo>&PartialD;</mo>
<mrow>
<mo>&PartialD;</mo>
<mi>x</mi>
</mrow>
</mfrac>
<mrow>
<mi>F</mi>
<mo>(</mo>
<mi>x</mi>
<mo>,</mo>
<mi>y</mi>
<mo>)</mo>
</mrow>
<mo>+</mo>
<mfrac>
<mo>&PartialD;</mo>
<mrow>
<mo>&PartialD;</mo>
<mi>y</mi>
</mrow>
</mfrac>
<mrow>
<mi>F</mi>
<mo>(</mo>
<mi>x</mi>
<mo>,</mo>
<mi>y</mi>
<mo>)</mo>
</mrow>
</mrow>
</math>;
Here is the alphabet with invisible

View File

@@ -100,14 +100,14 @@ mn {
mi {
color: red;
font-style: italic;
/* font-style: normal; */
/* border: 1px solid blue; */
}
mo {
font-style: normal;
border: 1px solid black;
background-color: blue;
/* font-style: normal; */
/* border: 1px solid black; */
/* background-color: blue; */
}
merror {
@@ -153,6 +153,10 @@ mtr {
valign: baseline;
}
:-moz-math-font-style-italic {
font-style: italic;
}
:-moz-math-font-style-normal {
font-style: normal;
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="mathml-doc.css" type="text/css"?>
<!DOCTYPE math SYSTEM "file:///C:\Mozilla/src/mozilla/layout/mathml/tests/mathml.dtd">
<?xml-stylesheet href="mathml.css" type="text/css"?>
<!DOCTYPE math SYSTEM "mathml.dtd">
<!--
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="mathml-doc.css" type="text/css"?>
<!DOCTYPE math SYSTEM "file:///C:\Mozilla/src/mozilla/layout/mathml/tests/mathml.dtd">
<?xml-stylesheet href="mathml.css" type="text/css"?>
<!DOCTYPE math SYSTEM "mathml.dtd">
<!--
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
@@ -470,11 +470,15 @@
<mfrac>
<mstyle scriptlevel="-2">
<mstyle scriptlevel="0">
<mi>x</mi>
</mstyle>
<mi>z</mi>
</mfrac>
<mstyle scriptlevel="-4">
<mi>x</mi>
</mstyle>
</math>
</para>