Selaa lähdekoodia

Update doc/test from develop.

Daniel James 11 vuotta sitten
vanhempi
sitoutus
c019fdbab1
4 muutettua tiedostoa jossa 51 lisäystä ja 0 poistoa
  1. 30 0
      doc/test/test.mml
  2. BIN
      doc/test/test.png
  3. 20 0
      doc/test/test.qbk
  4. 1 0
      doc/test/test.svg

+ 30 - 0
doc/test/test.mml

@@ -0,0 +1,30 @@
+<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
+  <mrow>
+    <mtext>asinh</mtext>
+    <mfenced>
+      <mrow>
+        <mi>x</mi>
+      </mrow>
+    </mfenced>
+    <mo>&#x2248;</mo>
+    <mi>x</mi>
+    <mo>&#x2212;</mo>
+    <mfrac>
+      <mrow>
+        <msup>
+          <mi>x</mi>
+          <mn>3</mn>
+        </msup>
+      </mrow>
+      <mn>6</mn>
+    </mfrac>
+    <mspace width="1em"></mspace>
+    <mo>;</mo>
+    <mspace width="1em"></mspace>
+    <mi>x</mi>
+    <mo>&lt;</mo>
+    <msqrt>
+      <mi>&#x03B5;</mi>
+    </msqrt>
+  </mrow>
+</math>

BIN
doc/test/test.png


+ 20 - 0
doc/test/test.qbk

@@ -604,6 +604,26 @@ Now try again with a sample SVG image:
 [$images/open_clipart_library_logo.svg]
 
 
+[endsect]
+
+[section Equations]
+
+This page is largely to test equation handling in various browsers, unfortunately none of this works as well as it should (or at all?)
+in Internet Explorer....
+
+This equation is formatted from Latex text:
+
+'''<inlinemediaobject><textobject role="tex">ax^2 + bx + c = 0</textobject></inlinemediaobject>'''
+
+This equation is formed from MathML:
+
+'''<inlinemediaobject><textobject role="MathML"><?dbhtml-include href="test.mml"?></textobject></inlinemediaobject>'''
+
+This equation is SVG:
+
+'''<inlinemediaobject><imageobject><imagedata format="SVG" fileref="../test.svg"></imagedata></imageobject></inlinemediaobject>'''
+
+
 [endsect]
 
 [include test_HTML4_symbols.qbk]

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 0
doc/test/test.svg


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä

粤ICP备19079148号