|
From: Rud M. <k5...@ar...> - 2007-02-21 08:01:46
|
I have been trying to get the ASCIIMath Plugin to work. I found that = only the first plugin on a page did anything and an error message is = displayed about a missing variable. After some investigation I found that in the = file ASCIIMath.php on line 69 is a "include_once" statement. Changing that to "include" allowed each instance of the plugin to work. The plugin still does not work completely. The replacement of the = expression to MathML tags is performed but the graphics is not generated. Is there something else needed to make this work? You can see what I am getting = at http://www.k5rud.us/over50/wiki/index.php/RudTest. I am a software developer (primarily C++) but not familiar with PHP. = Still, I think I fixed a number of errors in the ASCIIMath PHP code that = generated error messages. There were a number of places where I removed the & (reference?) from function names where the error messages was saying not = to return a reference except to variables.=20 =20 Rud Merriam K5RUD=20 ARES AEC Montgomery County, TX http://over50.k5rud.us/wiki/ |
|
From: Reini U. <ru...@x-...> - 2007-02-22 19:59:22
|
Rud Merriam schrieb: > I have been trying to get the ASCIIMath Plugin to work. I found that > only the first plugin on a page did anything and an error message is > displayed about a missing variable. After some investigation I found > that in the file ASCIIMath.php on line 69 is a "include_once" statement. > Changing that to "include" allowed each instance of the plugin to work. Thanks! I just fixed that in CVS. > The plugin still does not work completely. The replacement of the > expression to MathML tags is performed but the graphics is not > generated. Is there something else needed to make this work? You can see > what I am getting at ___http://www.k5rud.us/over50/wiki/index.php/RudTest_. Your browser needs to be able to render mathml. mozilla does this since about a year, MS Internet Explorer needs a plugin AFAIK. > I am a software developer (primarily C++) but not familiar with PHP. > Still, I think I fixed a number of errors in the ASCIIMath PHP code that > generated error messages. There were a number of places where I removed > the & (reference?) from function names where the error messages was > saying not to return a reference except to variables. Thanks for I reporting. I'll try to reproduce these. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
|
From: Reini U. <ru...@x-...> - 2007-02-22 20:06:49
|
Rud Merriam schrieb: > I have been trying to get the ASCIIMath Plugin to work. I found that > only the first plugin on a page did anything and an error message is > displayed about a missing variable. After some investigation I found > that in the file ASCIIMath.php on line 69 is a "include_once" statement. > Changing that to "include" allowed each instance of the plugin to work. > > The plugin still does not work completely. The replacement of the > expression to MathML tags is performed but the graphics is not > generated. Is there something else needed to make this work? You can see > what I am getting at ___http://www.k5rud.us/over50/wiki/index.php/RudTest_. Please fix the id=actionbuttons line at phpwiki\themes\Crao\templates\actionbar.tmpl to: <div <?= isBrowserIE() ? "class=\"ie-actionbuttons\"" : "id=\"actionbuttons\""?>> -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
|
From: Rud M. <k5...@ar...> - 2007-02-22 22:38:35
|
Reini,
Thanks for the feedback. I also needed to add=20
header('Content-type: text/xml');
In the ASCIIMath.php plugin code. I put it just in front of the =
"include".=20
=20
Rud Merriam K5RUD=20
ARES AEC Montgomery County, TX
http://over50.k5rud.us/wiki/
-----Original Message-----
From: php...@li...
[mailto:php...@li...] On Behalf Of Reini =
Urban
Sent: Thursday, February 22, 2007 2:07 PM
To: Discussion on PhpWiki features, bugs, development.
Subject: Re: [Phpwiki-talk] ASCIIMath Plugin Bug and Question
Rud Merriam schrieb:
> I have been trying to get the ASCIIMath Plugin to work. I found that
> only the first plugin on a page did anything and an error message is=20
> displayed about a missing variable. After some investigation I found=20
> that in the file ASCIIMath.php on line 69 is a "include_once" =
statement.=20
> Changing that to "include" allowed each instance of the plugin to =
work.
>=20
> The plugin still does not work completely. The replacement of the
> expression to MathML tags is performed but the graphics is not=20
> generated. Is there something else needed to make this work? You can =
see=20
> what I am getting at
___http://www.k5rud.us/over50/wiki/index.php/RudTest_.
Please fix the id=3Dactionbuttons line at
phpwiki\themes\Crao\templates\actionbar.tmpl to:
<div <?=3D isBrowserIE() ? "class=3D\"ie-actionbuttons\"" :=20
"id=3D\"actionbuttons\""?>>
--=20
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
-------------------------------------------------------------------------=
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share =
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
_______________________________________________
Phpwiki-talk mailing list
Php...@li...
https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
|