Fixed example of loading local configuration file and added one for a cross-server configuration using the CDN
This commit is contained in:
parent
039fdf2481
commit
a8bd127414
|
@ -258,10 +258,18 @@ can use
|
|||
.. code-block:: html
|
||||
|
||||
<script type="text/javascript"
|
||||
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,local/local.js">
|
||||
src="path-to-MathJax/MathJax.js?config=TeX-AMS_HTML,local/local">
|
||||
</script>
|
||||
|
||||
to first load the main configuraiton, then the local modifications.
|
||||
to first load the main configuraiton, then the local modifications. You
|
||||
can also load MathJax from the CDN and a local configuration from your own
|
||||
server:
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
<script type="text/javascript"
|
||||
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,http://myserver.com/MathJax/config/local/local.js">
|
||||
</script>
|
||||
|
||||
|
||||
Using in-line configuration options
|
||||
|
|
|
@ -266,11 +266,18 @@ called <tt class="docutils literal"><span class="pre">MathJax/config/local/local
|
|||
<tt class="docutils literal"><span class="pre">TeX-AMS_HML</span></tt> configuration, defines some new TeX macros, and so on, you
|
||||
can use</p>
|
||||
<div class="highlight-html"><div class="highlight"><pre><span class="nt"><script </span><span class="na">type=</span><span class="s">"text/javascript"</span>
|
||||
<span class="na">src=</span><span class="s">"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,local/local.js"</span><span class="nt">></span>
|
||||
<span class="na">src=</span><span class="s">"path-to-MathJax/MathJax.js?config=TeX-AMS_HTML,local/local"</span><span class="nt">></span>
|
||||
<span class="nt"></script></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>to first load the main configuraiton, then the local modifications. You
|
||||
can also load MathJax from the CDN and a local configuration from your own
|
||||
server:</p>
|
||||
<div class="highlight-html"><div class="highlight"><pre><span class="nt"><script </span><span class="na">type=</span><span class="s">"text/javascript"</span>
|
||||
<span class="na">src=</span><span class="s">"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,http://myserver.com/MathJax/config/local/local.js"</span><span class="nt">></span>
|
||||
<span class="nt"></script></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>to first load the main configuraiton, then the local modifications.</p>
|
||||
</div>
|
||||
<div class="section" id="using-in-line-configuration-options">
|
||||
<h2>Using in-line configuration options<a class="headerlink" href="#using-in-line-configuration-options" title="Permalink to this headline">¶</a></h2>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -258,10 +258,18 @@ can use
|
|||
.. code-block:: html
|
||||
|
||||
<script type="text/javascript"
|
||||
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,local/local.js">
|
||||
src="path-to-MathJax/MathJax.js?config=TeX-AMS_HTML,local/local">
|
||||
</script>
|
||||
|
||||
to first load the main configuraiton, then the local modifications.
|
||||
to first load the main configuraiton, then the local modifications. You
|
||||
can also load MathJax from the CDN and a local configuration from your own
|
||||
server:
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
<script type="text/javascript"
|
||||
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML,http://myserver.com/MathJax/config/local/local.js">
|
||||
</script>
|
||||
|
||||
|
||||
Using in-line configuration options
|
||||
|
|
Loading…
Reference in New Issue
Block a user