summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-13 07:12:23 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-13 07:12:23 +0000
commit7f5a554989a548135383f30a814d045beb4ff3c4 (patch)
tree9d71df3fd38975580e7d44e3081b864cdb585c06
parent22537d95d1ab724445c0409ed6f6778758f38345 (diff)
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--README14
1 files changed, 12 insertions, 2 deletions
diff --git a/README b/README
index a090c1550..5be61dad6 100644
--- a/README
+++ b/README
@@ -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
==============