Changed tests to use new Math block element.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1111 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2007-11-29 08:09:04 +00:00
parent e9f16683f2
commit dc42600081
2 changed files with 14 additions and 14 deletions

View file

@ -274,13 +274,13 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
, BulletList
[ [ Para [TeX "\\cite[22-23]{smith.1899}"] ]
, [ Para [TeX "\\doublespacing"] ]
, [ Para [TeX "$2+2=4$"] ]
, [ Para [TeX "$x \\in y$"] ]
, [ Para [TeX "$\\alpha \\wedge \\omega$"] ]
, [ Para [TeX "$223$"] ]
, [ Para [TeX "$p$",Str "-",Str "Tree"] ]
, [ Para [TeX "$\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}$"] ]
, [ Para [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,TeX "$\\alpha + \\omega \\times x^2$",Str "."] ] ]
, [ Para [Math "2+2=4"] ]
, [ Para [Math "x \\in y"] ]
, [ Para [Math "\\alpha \\wedge \\omega"] ]
, [ Para [Math "223"] ]
, [ Para [Math "p",Str "-",Str "Tree"] ]
, [ Para [Math "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"] ]
, [ Para [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 "."] ] ]
, Para [Str "These",Space,Str "shouldn",Apostrophe,Str "t",Space,Str "be",Space,Str "math:"]
, BulletList
[ [ Para [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code "$e = mc^2$",Str "."] ]

View file

@ -297,13 +297,13 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
, BulletList
[ [ Plain [TeX "\\cite[22-23]{smith.1899}"] ]
, [ Plain [TeX "\\doublespacing"] ]
, [ Plain [TeX "$2+2=4$"] ]
, [ Plain [TeX "$x \\in y$"] ]
, [ Plain [TeX "$\\alpha \\wedge \\omega$"] ]
, [ Plain [TeX "$223$"] ]
, [ Plain [TeX "$p$",Str "-",Str "Tree"] ]
, [ Plain [TeX "$\\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,TeX "$\\alpha + \\omega \\times x^2$",Str "."] ] ]
, [ 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 "."] ] ]
, 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 "."] ]