git.iko.soy/typeable/pandoc
on master help sign in
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

commit7f5a554989a548135383f30a814d045beb4ff3c4 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateFri 13 Jul 2007, 07:12 (19 years ago) parent22537d9
1 file changed+12−2
README+12−2
README+12−2
@@ -743,8 +743,9 @@ closing $ must have a character immediately to its left. Thus,
743743escaped with a backslash if needed.
744744
745745If you pass the `-m` (`--asciimathml`) option to `pandoc`, it will
746−include the [ASCIIMathML] script in the resulting HTML. This will
747−cause LaTeX math to be displayed as formulas in better browsers.
746+embed the [ASCIIMathML] script in the resulting HTML. This will
747+cause LaTeX math to be displayed as formulas in better
748+browsers.[^3]
748749
749750[ASCIIMathML]: http://www1.chapman.edu/~jipsen/asciimath.html
750751
@@ -766,6 +767,15 @@ You can also use LaTeX environments. For example,
766767Note, however, that material between the begin and end tags will
767768be interpreted as raw LaTeX, not as markdown.
768769
770+[^3]: If you are serving several pages that use ASCIIMathML, it will be
771+ more efficient to link to an external copy of `ASCIIMathML.js`
772+ instead of using the `-m|--asciimathml` option to embed it directly
773+ in web pages. To do this, get a copy of `ASCIIMathML.js` from the
774+ [ASCIIMathML] website and make it available on your webserver. Then
775+ create a custom header for your web page that includes the line
776+
777+ <script src=/path/to/ASCIIMathML.js></script>
778+
769779Custom headers
770780==============
771781