diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-01-04 18:59:00 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-01-04 18:59:00 +0000 |
commit | 0921704d922efd394c7a6a961ea113d7f629231b (patch) | |
tree | 4832d72d70d9c71faa76f2bb4316b7698bb5346a /tests/writer.rst | |
parent | ec3f6b649f1059320816fc5dd40a4ec44941d159 (diff) | |
download | pandoc-0921704d922efd394c7a6a961ea113d7f629231b.tar.gz |
Use an interpreted text role to render math in restructuredText.
See http://www.american.edu/econ/itex2mml/mathhack.rst for the
strategy.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1168 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.rst')
-rw-r--r-- | tests/writer.rst | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/writer.rst b/tests/writer.rst index 2b44bd257..d5c4d2617 100644 --- a/tests/writer.rst +++ b/tests/writer.rst @@ -6,6 +6,9 @@ Pandoc Test Suite :Author: Anonymous :Date: July 17, 2006 +.. role:: math(raw) + :format: html latex + This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite. @@ -620,14 +623,14 @@ LaTeX - - -- $2+2=4$ -- $x \in y$ -- $\alpha \wedge \omega$ -- $223$ -- $p$-Tree -- $\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$ +- :math:`$2+2=4$` +- :math:`$x \in y$` +- :math:`$\alpha \wedge \omega$` +- :math:`$223$` +- :math:`$p$`-Tree +- :math:`$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$` - Here's one that has a line break in it: - $\alpha + \omega \times x^2$. + :math:`$\alpha + \omega \times x^2$`. These shouldn't be math: |