From 7f5a554989a548135383f30a814d045beb4ff3c4 Mon Sep 17 00:00:00 2001 From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> Date: Fri, 13 Jul 2007 07:12:23 +0000 Subject: [PATCH] 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 --- README | 14 ++++++++++++-- 1 file 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 ==============