reckless intuitions of an epistemic hygienist ([info]gustavolacerda) wrote,
@ 2008-04-30 21:33:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
MediaWiki LaTeX still not working
Also, the File Upload seems to want to write to the wrong place:

The upload directory (public) is not writable by the webserver.


I suspect they are related.

I can't believe how much time I've spent on this MediaWiki LaTeX issue. Maybe 15 hours in total. I just want to friggin pay someone to fix this for me, but I don't know where to find them.


(Post a new comment)


[info]en_ki
2008-05-01 01:52 am UTC (link)
Why not use Wikia or a hosted Mediawiki? The top Google hit for the latter charges $6/mo.

(Reply to this) (Thread)


[info]gustavolacerda
2008-05-01 03:58 am UTC (link)
I started with SiteGround and cancelled it, because I couldn't get the simplest thing (e.g. short URL) to work. With NFS, I got further.

(Reply to this) (Parent)


[info]zarex
2008-05-01 02:46 am UTC (link)
Why do you need full LaTeX? Can't you get away with just the math stuff via MathML?

(I ran into the same trouble with Twiki; the mathml stuff was way easier.)

(Reply to this) (Thread)


[info]gustavolacerda
2008-05-01 04:02 am UTC (link)
how exactly does MathML integrate with MediaWiki? And how is it not "full LaTeX"?

(Reply to this) (Parent)(Thread)


[info]zarex
2008-05-01 04:17 am UTC (link)
All it took was a simple javascript link in the template to get it to work perfectly with Twiki. I'd imagine it's the same for MediaWiki; all it does is translate LaTeX equations into MathML, which the browser can render on its own.

It seems to be complete math-mode LaTeX, but not the rest of LaTeX (as in the other packages). The other nice part is that the renderings are in native browser fonts (or add-on fonts), not .png or other embedded image objects.

http://twiki.org/cgi-bin/view/Codev.MathMarkup

http://www1.chapman.edu/~jipsen/mathml/asciimath.html

It looks like you can do exactly the same thing in MediaWiki; just put this script in the page template:

http://www1.chapman.edu/~jipsen/mathml/ASCIIMathML.js

(Reply to this) (Parent)(Thread)


[info]gustavolacerda
2008-05-01 05:56 am UTC (link)
LaTeXMathML looks great! Thanks.

I think MediaWiki calls page templates "skins".

(Reply to this) (Parent)(Thread)


[info]gustavolacerda
2008-05-01 05:57 am UTC (link)
h/t to http://www.maths.nottingham.ac.uk/personal/drw/lm.html,
the following is enough:

< script type="text/javascript"
src="http://www.maths.nottingham.ac.uk/personal/drw/LaTeXMathML.js" >
< /script >


Edited at 2008-05-01 05:58 am UTC

(Reply to this) (Parent)


[info]gustavolacerda
2008-05-01 06:10 am UTC (link)
It has limited powers, but I am quite impressed with the simplicity! All I did was add the above to the default skin (MonoBook.php).

It can't do boldface or italicized variables, and the summation isn't 100%.

http://www.optimizelife.com/wiki/ToDo#math

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…