diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-13 07:12:23 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-13 07:12:23 +0000 |
commit | 7f5a554989a548135383f30a814d045beb4ff3c4 (patch) | |
tree | 9d71df3fd38975580e7d44e3081b864cdb585c06 | |
parent | 22537d95d1ab724445c0409ed6f6778758f38345 (diff) | |
download | pandoc-7f5a554989a548135383f30a814d045beb4ff3c4.tar.gz |
Added note in README about how you might want to link to
an external ASCIIMathML.js script instead of including it in
the generated HTML file using -m.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@694 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r-- | README | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -743,8 +743,9 @@ closing $ must have a character immediately to its left. Thus, escaped with a backslash if needed. If you pass the `-m` (`--asciimathml`) option to `pandoc`, it will -include the [ASCIIMathML] script in the resulting HTML. This will -cause LaTeX math to be displayed as formulas in better browsers. +embed the [ASCIIMathML] script in the resulting HTML. This will +cause LaTeX math to be displayed as formulas in better +browsers.[^3] [ASCIIMathML]: http://www1.chapman.edu/~jipsen/asciimath.html @@ -766,6 +767,15 @@ You can also use LaTeX environments. For example, Note, however, that material between the begin and end tags will be interpreted as raw LaTeX, not as markdown. +[^3]: If you are serving several pages that use ASCIIMathML, it will be + more efficient to link to an external copy of `ASCIIMathML.js` + instead of using the `-m|--asciimathml` option to embed it directly + in web pages. To do this, get a copy of `ASCIIMathML.js` from the + [ASCIIMathML] website and make it available on your webserver. Then + create a custom header for your web page that includes the line + + <script src=/path/to/ASCIIMathML.js></script> + Custom headers ============== |