Mailing List Archive

Math renderings on new installation
I've been trying to get mediawiki-1.1.0 to work. This time make math did
work and I get some math functions, but incomplete ones, see:

http://dev.internet-encyclopedia.org/wiki/wiki.phtml?title=Trigonometry

By logging in and selecting HTML preferences you can get that part of it to
work but not PNG or the modern browsers selection.

These are the LocalSettings.php I have made on math.

$wgMathPath = "{$wgServer}/math";
$wgMathDirectory = "/public/html/colorado/math";

Any ideas?

Fred
Re: Math renderings on new installation [ In reply to ]
On Dec 15, 2003, at 13:49, Fred Bauder wrote:
> http://dev.internet-encyclopedia.org/wiki/wiki.phtml?title=Trigonometry
>
> By logging in and selecting HTML preferences you can get that part of
> it to
> work but not PNG or the modern browsers selection.

Is it creating the PNG files?

Check your Apache error log for messages from TeX etc.

Are latex, dvips, and convert in the PATH?

Is /public/html/colorado/math writable by the web server?
Did you set $wgTmpDirectory also? Is that directory writable by the web
server?

Is the math directory readable by the web server? If I go to eg:
http://dev.internet-encyclopedia.org/math/
2b3dc602be0854ef109fbb7e4a20f6c9.png
I get a 403 forbidden error, not a 404 not found.

-- brion vibber (brion @ pobox.com)
Re: Math renderings on new installation [ In reply to ]
On Dec 15, 2003, at 14:58, Fred Bauder wrote:
>> From: Brion Vibber <brion@pobox.com>
>> Are latex, dvips, and convert in the PATH?
>
> So $wgMathPath = "{$wgServer}/math"; should somehow include
> latex,
> dvips and covert?

No, the PATH in which programs are searched when you run them.

-- brion vibber (brion @ pobox.com)
Re: Math renderings on new installation [ In reply to ]
> From: Brion Vibber <brion@pobox.com>
> Reply-To: MediaWiki announcements and site admin list
> <mediawiki-l@Wikimedia.org>
> Date: Mon, 15 Dec 2003 14:21:39 -0800
> To: MediaWiki announcements and site admin list <mediawiki-l@Wikimedia.org>
> Subject: Re: [Mediawiki-l] Math renderings on new installation
>
> On Dec 15, 2003, at 13:49, Fred Bauder wrote:
>> http://dev.internet-encyclopedia.org/wiki/wiki.phtml?title=Trigonometry
>>
>> By logging in and selecting HTML preferences you can get that part of
>> it to
>> work but not PNG or the modern browsers selection.
>
> Is it creating the PNG files?
>
> Check your Apache error log for messages from TeX etc.
>
> Are latex, dvips, and convert in the PATH?

So $wgMathPath = "{$wgServer}/math"; should somehow include latex,
dvips and covert?
>
> Is /public/html/colorado/math writable by the web server?
> Did you set $wgTmpDirectory also? Is that directory writable by the web
> server?