diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-04-25 12:33:50 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-04-25 20:30:27 -0700 |
commit | c243e5b67b0a3be6a713c6120da24e5e65cb0357 (patch) | |
tree | 9b1df6396034408f8d9fddaee974e3aec58bd87f /tests/s5.fragment.html | |
parent | b3669e139cf354d74579b87b07b41f6d63126c84 (diff) | |
download | pandoc-c243e5b67b0a3be6a713c6120da24e5e65cb0357.tar.gz |
Use texmath's parser in TexMath module.
* This replaces a lot of custom parser code, and expands
the tex -> unicode conversion.
* The behavior has also changed: if the whole formula can't
be converted, the whole formula is left in raw TeX.
Previously, pandoc converted parts of the formula to unicode
and left other parts in raw TeX.
* Added (but not yet exported) readTeXMath', which returns a Maybe.
* Updated tests
Diffstat (limited to 'tests/s5.fragment.html')
-rw-r--r-- | tests/s5.fragment.html | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/tests/s5.fragment.html b/tests/s5.fragment.html index 6ab704d41..32346a331 100644 --- a/tests/s5.fragment.html +++ b/tests/s5.fragment.html @@ -14,31 +14,7 @@ ><ul ><li ><span class="math" - >\frac{<em - >d</em - >}{<em - >dx</em - >}<em - >f</em - >(<em - >x</em - >)=\lim<sub - ><em - >h</em - > → 0</sub - >\frac{<em - >f</em - >(<em - >x</em - >+<em - >h</em - >)-<em - >f</em - >(<em - >x</em - >)}{<em - >h</em - >}</span + >$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span ></li ></ul ></div |