That certainly got rid of the error, and my equations still show up.  Thanks!  
I don't know what the whole "collision" thing on the cookbook page was about, 
then...

From: Peter Bowers [mailto:[email protected]]
Sent: Thursday, October 25, 2012 2:13 PM
To: David Spitzley
Subject: Re: [pmwiki-users] asciimath workaround?

I think you can just delete the ampersand on line 84 in cookbook/asciimath.php 
and everything will be perfect.

       $ascii_math =& new ASCIIMathPHP($symbol_arr, $ascii, $MathMLNSAlias);

will become

      $ascii_math = new ASCIIMathPHP($symbol_arr, $ascii, $MathMLNSAlias);

If it works post back to the group with the solution.  If it doesn't work I 
maintain a plausible deniability... :-)

-Peter
On Thu, Oct 25, 2012 at 4:12 PM, David Spitzley 
<[email protected]<mailto:[email protected]>> wrote:
After not visiting my wiki for a while, I've discovered that I'm getting the 
following PHP warning message:
Deprecated: Assigning the return value of new by reference is deprecated in 
[DIRECTORY_STRUCTURE]/cookbook/asciimath.php on line 84

I know a reasonable amount about PHP, but have never used the reference 
mechanism.  There's also a notice on 
http://www.pmwiki.org/wiki/Cookbook/ASCIIMath-Talk that "This recipe seems to 
have a collision with with markup like {$pagetextvar}. In other words, it seems 
to currently be broken, and I can't see how to fix it except to disable that 
markup in asciimath.php" .  Does that "collision" account for the deprecation 
warning above?  If so, how would I disable the markup causing the problem?  If 
not, any suggestions on a workaround?

_______________________________________________
pmwiki-users mailing list
[email protected]<mailto:[email protected]>
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to