Hi, I have MW 1.11.0 installed on FreeBSD 6.2-STABLE with latex2e gs dvips and dvipng on Apache 2.2.4_2 The above packages work OK from the keyboard. MW works as intended, the texvc builds, but, still no rendering of math. The .tex file is created in /math/tmp with, no log. It seems I am not calling latex and CO after.
I have tried making the path explicit in ./math/render.ml and rebuilt, still no. Also tried is "env latex ....." in render.ml same result. What am I doing wrong???
John
On 27/09/2007, John Andrewartha mulga@flinders.homeunix.org wrote:
Hi, I have MW 1.11.0 installed on FreeBSD 6.2-STABLE with latex2e gs dvips and dvipng on Apache 2.2.4_2 The above packages work OK from the keyboard. MW works as intended, the texvc builds, but, still no rendering of math. The .tex file is created in /math/tmp with, no log. It seems I am not calling latex and CO after.
I have tried making the path explicit in ./math/render.ml and rebuilt, still no. Also tried is "env latex ....." in render.ml same result. What am I doing wrong???
Is $wgUseTex or whatever it's called now enabled in LocalSettings.php? Do you receive any error messages on pages where math should appear?
Rob Church
On Thu, 27 Sep 2007 07:05:00 pm Rob Church wrote:
On 27/09/2007, John Andrewartha mulga@flinders.homeunix.org wrote:
Hi, I have MW 1.11.0 installed on FreeBSD 6.2-STABLE with latex2e gs dvips and dvipng on Apache 2.2.4_2 The above packages work OK from the keyboard. MW works as intended, the texvc builds, but, still no rendering of math. The .tex file is created in /math/tmp with, no log. It seems I am not calling latex and CO after.
I have tried making the path explicit in ./math/render.ml and rebuilt, still no. Also tried is "env latex ....." in render.ml same result. What am I doing wrong???
Is $wgUseTex or whatever it's called now enabled in LocalSettings.php? Do you receive any error messages on pages where math should appear?
Rob Church
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Yes $wgUseTex = true;
I get a .tex file in math/tmp but things die silently after that.
The error message Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert), every thing is in place and usable from a local shell. the math and all sub dirs are rwx as is images. The package is owned www:www Apache runs as www. The version of PHP is 5.5.2.3_1 . The attached text file is a log output from a call to a page with math in it.
John
On Thu, 27 Sep 2007 07:05:00 pm Rob Church wrote:
On 27/09/2007, John Andrewartha mulga@flinders.homeunix.org wrote:
Hi, I have MW 1.11.0 installed on FreeBSD 6.2-STABLE with latex2e gs dvips and dvipng on Apache 2.2.4_2 The above packages work OK from the keyboard. MW works as intended, the texvc builds, but, still no rendering of math. The .tex file is created in /math/tmp with, no log. It seems I am not calling latex and CO after.
I have tried making the path explicit in ./math/render.ml and rebuilt, still no. Also tried is "env latex ....." in render.ml same result. What am I doing wrong???
Is $wgUseTex or whatever it's called now enabled in LocalSettings.php? Do you receive any error messages on pages where math should appear?
Rob Church
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi, I seem to have moved the error message by installing teTeX and friends.
I still have the following error message Failed to parse (Can't write to or create math output directory): \sin; \phi = \frac {C}{B}
Assuming that the Docs are reasonably accurate the directory ./images/math exists and is rwx and that the image is actually stored in /mediawki/images/math the whole images tree is rwx... What have I forgotten or mis interpreted.
I really would like to get this going over the weekend so I can demonstrate it to our our school.
Mediawili is without question the premier wiki software, well suited to a range of uses and most usable with interactive learning.
John
On Thu, 27 Sep 2007 07:05:00 pm Rob Church wrote:
On 27/09/2007, John Andrewartha mulga@flinders.homeunix.org wrote:
Hi, I have MW 1.11.0 installed on FreeBSD 6.2-STABLE with latex2e gs dvips and dvipng on Apache 2.2.4_2 The above packages work OK from the keyboard. MW works as intended, the texvc builds, but, still no rendering of math. The .tex file is created in /math/tmp with, no log. It seems I am not calling latex and CO after.
I have tried making the path explicit in ./math/render.ml and rebuilt, still no. Also tried is "env latex ....." in render.ml same result. What am I doing wrong???
Is $wgUseTex or whatever it's called now enabled in LocalSettings.php? Do you receive any error messages on pages where math should appear?
Rob Church
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
With apologises the attached file which I should have attached is a the log file for a transaction the tail is most interesting. I am not using squid.
John
On Thu, 27 Sep 2007 07:05:00 pm Rob Church wrote:
On 27/09/2007, John Andrewartha mulga@flinders.homeunix.org wrote:
Hi, I have MW 1.11.0 installed on FreeBSD 6.2-STABLE with latex2e gs dvips and dvipng on Apache 2.2.4_2 The above packages work OK from the keyboard. MW works as intended, the texvc builds, but, still no rendering of math. The .tex file is created in /math/tmp with, no log. It seems I am not calling latex and CO after.
I have tried making the path explicit in ./math/render.ml and rebuilt, still no. Also tried is "env latex ....." in render.ml same result. What am I doing wrong???
Is $wgUseTex or whatever it's called now enabled in LocalSettings.php? Do you receive any error messages on pages where math should appear?
Rob Church
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Fixed... Thanks for the assistance, the problem resolved when I removed the debugging from LocalSettings.php. Output was baing dumped in the /tmp dir I also added the following to LocalSettings.php putenv("PATH=".getenv("PATH").":/usr/local/bin"); This was one of the fixes in FreeBSD 5. Also included was the complete removal of tex , latex. dvips and dvipng as packages and replacing them with teTex-base with depencancies.
I will write this up and put it on mediawiki.org in the next few days.
John
wikitech-l@lists.wikimedia.org