diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-08-13 03:02:42 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-08-13 03:02:42 +0000 |
| commit | f53fb554fe0acf88d7c697236bbd1373e78f3d83 (patch) | |
| tree | 31f3a3e7b5274458a0738482a32c4b881da2e180 /tests/testsuite.native | |
| parent | aeaf5e5108de4e7ab20782cf753e4617df45d8a2 (diff) | |
Support for display math; changed ASCIIMathML -> LaTeXMathML:
Resolves Issue #47.
+ Added a DisplayMath/InlineMath selector to Math inlines.
+ Markdown parser yields DisplayMath for $$...$$.
+ LaTeX parser yields DisplayMath when appropriate. Removed
mathBlock parsers, since the same effect is achieved by the math
inline parsers, now that they handle display math.
+ Writers handle DisplayMath as appropriate for the format.
+ Changed -m option to use LaTeXMathML rather than ASCIIMathML.
LaTeXMathML is closer to LaTeX in its display of math, and
supports many non-math LaTeX environments.
+ Modified HTML writer to print raw TeX when LaTeXMathML is
being used instead of suppressing it.
+ Removed ASCIIMathML files from data/ and added LaTeXMathML.
+ Replaced ASCIIMathML with LaTeXMathML in source files.
+ Modified README and pandoc man page source.
+ Modified web page.
+ Added --latexmathml option (kept --asciimathml as a synonym
for backwards compatibility)
+ Modified tests accordingly; added new tests for display math.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1409 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/testsuite.native')
| -rw-r--r-- | tests/testsuite.native | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/testsuite.native b/tests/testsuite.native index 564faf0d8..875918b9e 100644 --- a/tests/testsuite.native +++ b/tests/testsuite.native @@ -282,14 +282,13 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane , Header 1 [Str "LaTeX"] , BulletList [ [ Plain [TeX "\\cite[22-23]{smith.1899}"] ] - , [ Plain [TeX "\\doublespacing"] ] - , [ Plain [Math "2+2=4"] ] - , [ Plain [Math "x \\in y"] ] - , [ Plain [Math "\\alpha \\wedge \\omega"] ] - , [ Plain [Math "223"] ] - , [ Plain [Math "p",Str "-",Str "Tree"] ] - , [ Plain [Math "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"] ] - , [ Plain [Str "Here",Apostrophe,Str "s",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",Space,Math "\\alpha + \\omega \\times x^2",Str "."] ] ] + , [ Plain [Math InlineMath "2+2=4"] ] + , [ Plain [Math InlineMath "x \\in y"] ] + , [ Plain [Math InlineMath "\\alpha \\wedge \\omega"] ] + , [ Plain [Math InlineMath "223"] ] + , [ Plain [Math InlineMath "p",Str "-",Str "Tree"] ] + , [ Plain [Str "Here",Apostrophe,Str "s",Space,Str "some",Space,Str "display",Space,Str "math:",Space,Math DisplayMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"] ] + , [ Plain [Str "Here",Apostrophe,Str "s",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",Space,Math InlineMath "\\alpha + \\omega \\times x^2",Str "."] ] ] , Para [Str "These",Space,Str "shouldn",Apostrophe,Str "t",Space,Str "be",Space,Str "math:"] , BulletList [ [ Plain [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code "$e = mc^2$",Str "."] ] |
