Skip to content

Commit

Permalink
Update doc/test from develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljames committed Jan 15, 2015
1 parent 6e5fd50 commit c019fdb
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
30 changes: 30 additions & 0 deletions doc/test/test.mml
Original file line number Diff line number Diff line change
@@ -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>
Binary file added doc/test/test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions doc/test/test.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions doc/test/test.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c019fdb

Please sign in to comment.