From f53fb554fe0acf88d7c697236bbd1373e78f3d83 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 13 Aug 2008 03:02:42 +0000 Subject: Support for display math; changed ASCIIMathML -> LaTeXMathML: Resolves Issue #47. + Added a DisplayMath/InlineMath selector to Math inlines. + Markdown parser yields DisplayMath for $$...$$. + LaTeX parser yields DisplayMath when appropriate. Removed mathBlock parsers, since the same effect is achieved by the math inline parsers, now that they handle display math. + Writers handle DisplayMath as appropriate for the format. + Changed -m option to use LaTeXMathML rather than ASCIIMathML. LaTeXMathML is closer to LaTeX in its display of math, and supports many non-math LaTeX environments. + Modified HTML writer to print raw TeX when LaTeXMathML is being used instead of suppressing it. + Removed ASCIIMathML files from data/ and added LaTeXMathML. + Replaced ASCIIMathML with LaTeXMathML in source files. + Modified README and pandoc man page source. + Modified web page. + Added --latexmathml option (kept --asciimathml as a synonym for backwards compatibility) + Modified tests accordingly; added new tests for display math. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1409 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.texinfo | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/writer.texinfo') diff --git a/tests/writer.texinfo b/tests/writer.texinfo index 3dcb93832..025319ac9 100644 --- a/tests/writer.texinfo +++ b/tests/writer.texinfo @@ -709,10 +709,6 @@ Ellipses@dots{}and@dots{}and@dots{}. \cite[22-23]{smith.1899} @end tex @item -@tex -\doublespacing -@end tex -@item @math{2+2=4} @item @math{x \in y} @@ -723,7 +719,7 @@ Ellipses@dots{}and@dots{}and@dots{}. @item @math{p}-Tree @item -@math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}} +Here's some display math: @math{\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}} @item Here's one that has a line break in it: @math{\alpha + \omega \times x^2}. @end itemize -- cgit v1.2.3