d1832da9e1
+ 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
62 lines
1.1 KiB
HTML
62 lines
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
><head
|
|
><title
|
|
>My S5 Document</title
|
|
><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
|
|
/><meta name="generator" content="pandoc"
|
|
/><meta name="author" content="Sam Smith"
|
|
/><meta name="author" content="Jen Jones"
|
|
/><meta name="date" content="July 15, 2006"
|
|
/><link rel="stylesheet" href="main.css" type="text/css" media="all" />
|
|
STUFF INSERTED
|
|
</head
|
|
><body
|
|
>STUFF INSERTED
|
|
<h1 class="title"
|
|
>My S5 Document</h1
|
|
><h1 id="first-slide"
|
|
>First slide</h1
|
|
><ul
|
|
><li
|
|
>first bullet</li
|
|
><li
|
|
>second bullet</li
|
|
></ul
|
|
><h1 id="math"
|
|
>Math</h1
|
|
><ul
|
|
><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
|
|
></ul
|
|
>STUFF INSERTED
|
|
</body
|
|
></html
|
|
>
|
|
|