From d1832da9e104d61aa6ee0161aefeabf4aef9bbd2 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 2 Dec 2007 00:36:32 +0000 Subject: 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 --- tests/writer.docbook | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/writer.docbook') diff --git a/tests/writer.docbook b/tests/writer.docbook index fe44e437b..870898e50 100644 --- a/tests/writer.docbook +++ b/tests/writer.docbook @@ -891,38 +891,38 @@ These should not be escaped: \$ \\ \> \[ \{ - 2+2=4 + 2+2=4 - x \in y + x ∈ y - \alpha \wedge \omega + α ∧ ω - 223 + 223 - p-Tree + p-Tree - \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h} + \frac{d}{dx}f(x)=\limh → 0\frac{f(x+h)-f(x)}{h} Here's one that has a line break in it: - \alpha + \omega \times x^2. + α+ω × x2. -- cgit v1.2.3