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.docbook | |
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.docbook')
-rw-r--r-- | tests/writer.docbook | 14 |
1 files changed, 7 insertions, 7 deletions
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: \$ \\ \> \[ \{ </listitem> <listitem> <para> - <literal>2+2=4</literal> + <emphasis>2</emphasis>+<emphasis>2</emphasis>=<emphasis>4</emphasis> </para> </listitem> <listitem> <para> - <literal>x \in y</literal> + <emphasis>x</emphasis> ∈ <emphasis>y</emphasis> </para> </listitem> <listitem> <para> - <literal>\alpha \wedge \omega</literal> + α ∧ ω </para> </listitem> <listitem> <para> - <literal>223</literal> + <emphasis>223</emphasis> </para> </listitem> <listitem> <para> - <literal>p</literal>-Tree + <emphasis>p</emphasis>-Tree </para> </listitem> <listitem> <para> - <literal>\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</literal> + \frac{<emphasis>d</emphasis>}{<emphasis>dx</emphasis>}<emphasis>f</emphasis>(<emphasis>x</emphasis>)=\lim<subscript><emphasis>h</emphasis> → <emphasis>0</emphasis></subscript>\frac{<emphasis>f</emphasis>(<emphasis>x</emphasis>+<emphasis>h</emphasis>)-<emphasis>f</emphasis>(<emphasis>x</emphasis>)}{<emphasis>h</emphasis>} </para> </listitem> <listitem> <para> Here's one that has a line break in it: - <literal>\alpha + \omega \times x^2</literal>. + α+ω × <emphasis>x</emphasis><superscript>2</superscript>. </para> </listitem> </itemizedlist> |