http://www.mathjax.org/docs/1.1/configuration.html#using-in-line-configuration-options
for details). I think if you switch the order, everything will work
for you ask expected.
Davide
But that being said, I do see that MathJax doesn't run when your page
is used locally rather than from the server. The culprit seems to be
the google adds script. Here is what is happening: MathJax uses the
page's onload handler to tell when it is OK to look for math on the
page, but when the google adds script is included in the page, the
onload handler never fires. I suspect that the adds script is
inserting something into the page that never loads or that continues
to add something behind the scenes so that the page never thinks it is
ready. If the add script is recording the add usage, for example, it
may be that when used locally, it can't properly identify the web site
it is being used from, and that causes something in the script not to
work properly. I haven't looked into what it actually does to try to
figure out what is preventing the onload handler from firing.
Davide
Hi Charles,
Out of curiosity, why didn't you choose to use the Save as MathPage command in Word to save out MathML (or LaTeX) for MathJax? I'd have thought that would have been easier.
Plus, the double translation MathType ->LaTeX -> MathML (internally in MathJax) is probably more lossy than Word + MathType -> HTML+MathML via MathPage.
--Robert
>> website http://www.abstractmath.org/**MM/MathJax%20Examples/**
>> MMSymLangTexJaxExp2<http://www.abstractmath.org/MM/MathJax%20Examples/MMSymLangTexJaxExp2>
>> and not for the same file on my own computer. The website file has
>> the script loader first at present.
>>
>> --CW
>>
>> On Jul 8, 12:30 pm, "Davide P. Cervone" <d...@union.edu> wrote:
>>
>>> The configuration script must come BEFORE the script tag that loads
>>> MathJax.js (see the documentation at
>>>
>>> http://www.mathjax.org/docs/1.**1/configuration.html#using-in-**
>>> line-conf.<http://www.mathjax.org/docs/1.1/configuration.html#using-in-line-conf.>
>>> ..
>>>
>>> for details). I think if you switch the order, everything will work
>>> for you ask expected.
>>>
>>> Davide
>>>
>>> On Jul 8, 2011, at 12:37 PM, Charles Wells wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> I have a lot of articles in my websitehttp://www.**abstractmath.org/MM/<http://www.abstractmath.org/MM/>
>>>> that I generated by writing them in Microsoft Word and using MathType
>>>> to enter equations and using its command Publish to Math Page to
>>>> generate html. I wanted to convert those html files to using
>>>> MathJax.
>>>>
>>>
>>> The process succeed except for a very minor problem (item 4 below). I
>>>> am going to describe what I did in detail because I suspect other
>>>> users might want to do this kind of conversion as well.
>>>>
>>>
>>> I did the following steps:
>>>>
>>>
>>> 1. Opened the doc file of (part of) one of the posted articles
>>>> and used MathType to
>>>> toggle all the math formulas to TeX.
>>>>
>>>
>>> 2. Generated the Math Page html file from that doc file. As expected,
>>>> doing this preserved the TeX forms rather than converting the formulas
>>>> to pictures.
>>>>
>>>
>>> 3. Entered the following code into the head of the html file and saved
>>>> the file:
>>>>
>>>
>>> <script type="text/javascript"
>>>> src="http://cdn.mathjax.org/**mathjax/latest/MathJax.js?**config=TeX-<http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX->
>>>> AMS-MML_HTMLorMML"></script>
>>>>
>>>
>>> <script type="text/x-mathjax-config">
>>>> MathJax.Hub.Config({
>>>> jax: ["input/TeX","output/HTML-CSS"**],
>>>> extensions: ["tex2jax.js"],
>>>> tex2jax: {
>>>> inlineMath: [ ['$','$'], ['\\(','\\)'] ],
>>>> processEscapes: true
>>>> }
>>>> });
>>>> </script>
>>>>
>>>
>>> 4. Looked at the file I generated in Firefox. All the TeX formulas
>>>> remained in TeX. The little green arrow in the Firefox tab containing
>>>> this file never stopped turning, suggesting it was trying to connect
>>>> to your website (or something). Note: This file is on my computer.
>>>>
>>>
>>> 5. Posted the same file on my website here:
>>>> http://www.abstractmath.org/**MM/MathJax%20Examples/**
>>>> MMSymLangTexJaxExp2.<http://www.abstractmath.org/MM/MathJax%20Examples/MMSymLangTexJaxExp2.>
>>>> ..
>>>> The formulas are shown properly!
>>>>
>>>
>>> 6. This file on my website:http://www.**abstractmath.org/MM/MathJax%**
>>>> 20Examples/MMExampleTexJax3.**htm<http://www.abstractmath.org/MM/MathJax%20Examples/MMExampleTexJax3.htm>
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.