diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-12-02 00:36:32 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-12-02 00:36:32 +0000 |
commit | d1832da9e104d61aa6ee0161aefeabf4aef9bbd2 (patch) | |
tree | 2971739743b16e10d1333b5a6ad9f7b4bf12f4c3 /tests/writer.html | |
parent | 8e872f9f7d89dcc1f16309afd7a50945f2c154ee (diff) | |
download | pandoc-d1832da9e104d61aa6ee0161aefeabf4aef9bbd2.tar.gz |
Added Text.Pandoc.Readers.TeXMath and changed default handling of math.
+ Text.Pandoc.Readers.TeXMath exports readTeXMath, which reads raw TeX
math and outputs a string of pandoc inlines that tries to render it
as far as possible, lapsing into literal TeX when needed.
+ Added Text.Pandoc.Readers.TeXMath to pandoc.cabal + ghc66 version.
+ Modified writers so that readTeXMath is used for default HTMl output
in HTML, S5, RTF, Docbook.
+ Updated README with information about how math is rendered in all formats.
+ Updated test suite.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1129 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.html')
-rw-r--r-- | tests/writer.html | 58 |
1 files changed, 51 insertions, 7 deletions
diff --git a/tests/writer.html b/tests/writer.html index 752d93690..b22dd36f8 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -762,19 +762,63 @@ Blah ><li ></li ><li - >2+2=4</li + ><em + >2</em + >+<em + >2</em + >=<em + >4</em + ></li ><li - >x \in y</li + ><em + >x</em + > ∈ <em + >y</em + ></li ><li - >\alpha \wedge \omega</li + >α ∧ ω</li ><li - >223</li + ><em + >223</em + ></li ><li - >p-Tree</li + ><em + >p</em + >-Tree</li ><li - >\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</li + >\frac{<em + >d</em + >}{<em + >dx</em + >}<em + >f</em + >(<em + >x</em + >)=\lim<sub + ><em + >h</em + > → <em + >0</em + ></sub + >\frac{<em + >f</em + >(<em + >x</em + >+<em + >h</em + >)-<em + >f</em + >(<em + >x</em + >)}{<em + >h</em + >}</li ><li - >Here’s one that has a line break in it: \alpha + \omega \times x^2.</li + >Here’s one that has a line break in it: α+ω × <em + >x</em + ><sup + >2</sup + >.</li ></ul ><p >These shouldn’t be math:</p |