aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-13 03:02:42 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-08-13 03:02:42 +0000
commitf53fb554fe0acf88d7c697236bbd1373e78f3d83 (patch)
tree31f3a3e7b5274458a0738482a32c4b881da2e180 /README
parentaeaf5e5108de4e7ab20782cf753e4617df45d8a2 (diff)
downloadpandoc-f53fb554fe0acf88d7c697236bbd1373e78f3d83.tar.gz
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
Diffstat (limited to 'README')
-rw-r--r--README20
1 files changed, 10 insertions, 10 deletions
diff --git a/README b/README
index 9e588a4d7..73cb92f3a 100644
--- a/README
+++ b/README
@@ -310,27 +310,27 @@ For further documentation, see the `pandoc(1)` man page.
`markdown`. It is selected automatically when the output format is
`latex` or `context`.)
-`-m`*[url]* or `--asciimathml`*[=url]*
-: causes `pandoc` to use Peter Jipsen's [ASCIIMathML] script to display
- TeX math in HTML or S5. If a local copy of `ASCIIMathML.js` is
+`-m`*[url]* or `--latexmathml`*[=url]*
+: causes `pandoc` to use the [LaTeXMathML] script to display
+ TeX math in HTML or S5. If a local copy of `LaTeXMathML.js` is
available on the webserver where the page will be viewed, provide a
*url* and a link will be inserted in the generated HTML or S5. If
no *url* is provided, the contents of the script will be inserted
directly; this provides portability at the price of efficiency. If
you plan to use math on several pages, it is much better to link to
- a copy of `ASCIIMathML.js`, which can be cached. (See `--gladtex`
+ a copy of `LaTeXMathML.js`, which can be cached. (See `--gladtex`
and `--mimetex` for alternative ways of dealing with math in HTML.)
`--gladtex`*[=url]*
: causes TeX formulas to be enclosed in `<eq>` tags in HTML or S5 output.
This output can then be processed by [gladTeX] to produce links to
- images with the typeset formulas. (See `--asciimathml` and
+ images with the typeset formulas. (See `--latexmathml` and
`--mimetex` for alternative ways of dealing with math in HTML.)
`--mimetex`*[=url]*
: causes TeX formulas to be replaced by `<img>` tags linking to the
[mimeTeX] CGI script, which will produce images with the typeset
- formulas. (See `--asciimathml` and `--mimetex` for alternative
+ formulas. (See `--latexmathml` and `--mimetex` for alternative
ways of dealing with math in HTML.)
`-i` or `--incremental`
@@ -386,7 +386,7 @@ For further documentation, see the `pandoc(1)` man page.
: prints a usage message to STDERR.
[Smartypants]: http://daringfireball.net/projects/smartypants/
-[ASCIIMathML]: http://www1.chapman.edu/~jipsen/mathml/asciimath.html
+[LaTeXMathML]: http://math.etsu.edu/LaTeXMathML/
[gladTeX]: http://www.math.uio.no/~martingu/gladtex/index.html
[mimeTeX]: http://www.forkosh.com/mimetex.html
@@ -930,11 +930,11 @@ command-line options selected:
are put inside a `span` with `class="math"`, so that they may be
styled differently from the surrounding text if needed.
-2. If the `--asciimathml` option is used, TeX math will be displayed
- between $ characters, as in LaTeX, and the [ASCIIMathML] script will
+2. If the `--latexmathml` option is used, TeX math will be displayed
+ between $ characters, as in LaTeX, and the [LaTeXMathML] script will
be used to render it as formulas. (This trick does not work in all
browsers, but it works in Firefox. In browsers that do not support
- ASCIIMathML, TeX math will appear verbatim between $ characters.)
+ LaTeXMathML, TeX math will appear verbatim between $ characters.)
3. If the `--mimetex` option is used, the [mimeTeX] CGI script will
be called to generate images for each TeX formula. This should