Comments on: mediawiki and latex.fmt https://robfelty.com/2006/11/16/how-to-install-mediawiki-sort-of Fri, 04 May 2007 12:55:09 +0000 hourly 1 https://wordpress.org/?v=7.1.1 By: Johan Swanljung https://robfelty.com/2006/11/16/how-to-install-mediawiki-sort-of/comment-page-1#comment-860 Fri, 04 May 2007 12:55:09 +0000 http://robfelty.com/2006/11/16/how-to-install-mediawiki-sort-of/#comment-860 I had the same problem (among many others) when setting this up on a shared hosting account. I finally figured out that kpathsea, the system that resolves TeX paths, uses the $HOME environment variable (via texmf.cnf) to set several search paths, among them the path to latex.fmt. The $HOME variable was not defined for the web server user in my setup. I modified Math.php to set $HOME before calling texvc/LaTeX, but since you seem to have full control of your server you can probably figure out a way to do this without changing Math.php.

]]>