Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Need a bit of MathJax help: this message is HTML encoded so you may see what I do.

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


jfoster81747 at gmail

Feb 19, 2012, 7:21 AM

Post #1 of 2 (141 views)
Permalink
Need a bit of MathJax help: this message is HTML encoded so you may see what I do.

I have Extension:MathJax installed & it tests out to be working
following the instructions in mediawiki. I still have 1 issue though;
Example; If I load up Template:Quantum mechanics which includes the
following :

> {{Sidebar with collapsible lists
> |name = Quantum mechanics
> |bodystyle = width:18.5em;
> |title = [[Quantum mechanics]]
> |image = <hr/><div style="padding:0.35em 0 0.3em;"><math>\Delta x\, \Delta p \ge \frac{\hbar}{2}</math></div>
> |caption = <div style="padding-bottom:0.5em;">[[Uncertainty principle]]</div><hr/>


I get the proper output in the navbox. When that template is transcluded
onto another page I get this error in the navbox:


> Failed to parse (Cannot write to or create math temp directory):
> \Delta x\, \Delta p \ge \frac{\hbar}{2}
>


I notice that the output from the math is supposed to be an image, but
it seems to me that it is 'transcluded' as something else; The page
source output for the navbox is below.



> <table class="vertical-Navbox
> nowraplinks" cellspacing="5"
> style="float: right; clear: right;
> color: black; background: #f9f9f9;
> border: 1px solid #aaa; width:
> 22em; margin: 0 0 1.0em 1.0em;
> padding: 0.2em; border-spacing:
> 0.4em 0; text-align: center;
> line-height: 1.4em; font-size: 88%;
> width:18.5em;" cellpadding="0"><tr>
>
>
> <th class="" style="padding: 0.2em
> 0.4em 0.2em; font-size: 145%;
> line-height: 1.2em; font-weight:
> bold;"><strong
> class="selflink">Quantum
> mechanics</strong></th>
>
>
> </tr><tr>
>
>
> <td class="" style="padding: 0.2em
> 0 0.4em;"><hr /><div
> style="padding:0.35em 0
> 0.3em;"><strong
> class='error'>Failed to parse
> (Cannot write to or create math
> temp directory): \Delta x\, \Delta
> p \ge \frac{\hbar}{2}</strong>
>
>
> </div><div style="padding-top:
> 0.2em; line-height: 1.2em;"><div
> style="padding-bottom:0.5em;"><a
> href="/pw/index.php?title=Uncertainty_principle&amp;action=edit&amp;redlink=1" class="new" title="Uncertainty principle (page does not exist)">Uncertainty principle</a></div><hr /></div></td>
>
>
>


Any suggestions to fix this are appreciated.
Thanks!
frosty
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Feb 19, 2012, 10:31 AM

Post #2 of 2 (130 views)
Permalink
Re: Need a bit of MathJax help: this message is HTML encoded so you may see what I do. [In reply to]

On 19/02/12 16:21, John W. Foster wrote:
> I have Extension:MathJax installed & it tests out to be working
> following the instructions in mediawiki. I still have 1 issue though;
> Example; If I load up Template:Quantum mechanics which includes the
> following :
>
>> {{Sidebar with collapsible lists
>> |name = Quantum mechanics
>> |bodystyle = width:18.5em;
>> |title = [[Quantum mechanics]]
>> |image = <hr/><div style="padding:0.35em 0 0.3em;"><math>\Delta x\, \Delta p \ge \frac{\hbar}{2}</math></div>
>> |caption = <div style="padding-bottom:0.5em;">[[Uncertainty principle]]</div><hr/>
>
> I get the proper output in the navbox. When that template is transcluded
> onto another page I get this error in the navbox:

MathJax uses JavaScript to render the image.

>> Failed to parse (Cannot write to or create math temp directory):
>> \Delta x\, \Delta p \ge \frac{\hbar}{2}

This error is produced by Extension:Math (the original one, based on texvc).

There's something odd in your environment. Even if you had both
extensions enabled, competing for the <math> hook, one of them should be
consistently winning.

Disabling the other one should fix it for you.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.