Manual talk:Enable TeX

Is it possible to enable tex without having access to a console via ssh or something like this`?

Probably not, unless you have shell access on a sufficiently similar machine that you can run 'make' there, and simply copy the files in the math directory across. --Semorrison 05:37, 31 August 2005 (UTC)

Problems with make and solution - An end user who was using a host provided install was having problems with enabling TeX. He was getting an I/O error. I know this is common sense for most of the more experienced people, but if the person running make in the math/ directory is someone other than the person who did the initial install, make sure to (temporarily) chmod the directory to 777. Just thought if anyone else runs into a similar issue I could save some time by pointing that out.

This feature seems to be quite a security risk. Does anyone have information on security aspects of enabling the math feature? --84.182.228.5 13:30, 10 October 2005 (UTC)

Latex on a shared host
It is possible to make a small hack that will make LaTex run under a shared host, I'm writing a small article look under See also

TeX for those of us forced to use Windows
Please add some assistance for those of us running mediawiki on a Windows box. This looks like a bit of a headache... Arghman 15:14, 24 February 2006 (UTC)


 * Hmm... I don't know if you're checking this page anymore, but installing TeX shouldn't be so difficult (try MiKTeX). Compiling the source code with Cygwin may pose some problems, but anything's possible. Ambush Commander 20:41, 21 April 2006 (UTC)

Does anyone have experience of Installing Tex on Windows? I used OCAML to compile texvc, and installed MiKTex,GhostScript,ImageMagic ...@@ , but it still can not work. why?

The error message: Missing texvc executable; please see math/README to configure.

but the Executable file does exist under /math. Kornelius 08:11, 14 January 2007 (UTC)


 * It seems it's looking for "texvc" while what you have maybe is "texvc.exe" or something like that. Rename the file by removing its extension and the problem goes away (I have still not gotten it to work yet though) 81.170.148.152 12:53, 13 April 2007 (UTC)

Symbols fail to display
Can anybody please suggest why certain symbols fail to render correctly in my install. Something like
 * $$P(r) \alpha r^{n-1} \exp(-kr^2/2\sigma^2)$$

renders beautifully whereas replacing the \alpha with a \propto causes the whole equation to be shown without rendering as P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)

Certain other symbols also don't work e.g. \nabla and \sim. The strange thing is that perfect png images are created in my images/math folder - just for some reason they are not correctly displayed.

Many thanks in advance.

Joejk2 18:55, 3 May 2006 (UTC)

Clear
This page is vauge. Im trying to get tex working on my site and have no idea what to do =| joerite
 * Do you have SSH access? &mdash; Edward Z. Yang (Talk) 21:02, 5 October 2006 (UTC)

Explications merdiques
Les explications fournies sont toujours aussi merdiques.

Installation instructions not terribly detailed
The installation instructions are very, very simple. For example, the instructions do not explain in which folders all the extensions should be installed in, and how to install them on Linux. A more comprehensive set of instructions would be much appreciated! I would do it, but I don't currently posess the skills to do so. --Liface 09:06, 7 April 2008 (UTC)

VERY bad installation instructions, are very simples y want latex! 200.104.37.12 04:11, 16 April 2008 (UTC)

I wanna to install, but with such instructions it's better dont even to try - Ahsoous 01:06, 16 November 2008 (UTC)

TeX Live problem
I use window vista. When I tried to install tex live in my mediawiki/math/ folder, I got the following error message: "Couldn't set up the necessary programs; perhaps your platform is not supported." What could the problem be? Thank you very much. See below for the print out. Also, should the ImageMagick be in the /math directory? Hillgentleman 09:13, 10 January 2009 (UTC) Path: C:\wos\www\mediawiki\math\install-tl(2)\install-tl\tlpkg\installer;C:\Wind ows\system32;C:\Windows;C:\Windows\System32\Wbem;G:\wos\www\mediawiki\math\Objec tive Caml\bin;C:\wos\www\mediawiki\math\Objective Caml\bin TeXLive::TLUtils::setup_programs failed at C:/wos/www/mediawiki/math/install-tl( 2)/install-tl/tlpkg/TeXLive/TLUtils.pm line 1290. C:\wos\www\mediawiki\math\install-tl(2)\install-tl\tlpkg\installer\lzma\lzmadec. win32.exe --help failed (status 256): Output is:

LZMAdec - a small LZMA decoder

Usage: C:\wos\www\mediawiki\math\install-tl(2)\install-tl\tlpkg\installer\lzma\l zmadec.win32.exe [--help]

The compressed data is read from stdin and uncompressed to stdout.

LZMA SDK version 4.32 - Copyright (C) 1999-2005 Igor Pavlov LZMA Utils version 4.32.4 - Copyright (C) 2005 Lasse Collin

LZMAdec is free software licensed under the GNU LGPL.

Couldn't set up the necessary programs; perhaps your platform is not supported. -Hillgentleman 09:13, 10 January 2009 (UTC)

align
On my wiki math commands work in general but begin\{align} is not recognized.

http://wiki.physikerwelt.de/wiki/Hauptseite

Has anybody an idea why this might happen? Here everything seems all right:

$$\begin{align} T_{{\color{Orange}rs...}; \color{Red}l}^{\color{Blue}ik...} = T_{{\color{Orange}rs...}, \color{Red}l}^{\color{Blue} ik...}& + \Gamma _{ m\color{Red}l}^{\color{Blue}i}T_{\color{Orange}rs...}^{m\color{Blue}k...}\quad&& + \Gamma _{m\color{Red}l}^{\color{Blue}i}T_{\color{Orange}rs...}^{{\color{Blue}r}m\color{Blue}...}... &\quad& {\color{Blue}\text{f }\!\!\ddot{\mathrm{u}}\!\!\text{ r jeden oberen Index}} \\ & + \Gamma _{\color{Orange}r\color{Red}l}^{m}T_{m\color{Orange}s...}^{ \color{Blue}ik...}\quad&& + \Gamma _{\color{Orange}r\color{Red}l}^{m}T_{{\color{Orange}r}m\color{Orange}...}^{ \color{Blue}ik...}...&& \color{Orange}{\text{f }\!\!\ddot{\mathrm{u}}\!\!\text{ r jeden unteren Index}} \\ \end{align}$$

--85.179.10.175 07:08, 2 April 2009 (UTC)

Building on older software
Hello.

Our Linux server is RHEL 4 (X86_64) and I'm having quite a bit of difficulty getting the math functionality up and running. Does anyone have instructions on how to get a version of OCaml installed on a system like this? Most of the packages are for newer versions of Linux or for i386. --142.9.1.100 20:56, 6 October 2009 (UTC)

Use of MathML as opposed to png
It would be handy if there were some pointers in the README file or here regarding how one might implement the MATHML features of texvc inside MediaWiki It is a bit unclear on first review how texvc is called. One can bang around quite a bit before one realizes that all versions are stored in the Math table and that the user can set what is displayed via User preferences. That being said, however, using straight texvc and setting user pref to math is possible results in the png still being used despite the fact that  manually running texvc produces usable MathML.Net-buoy 22:57, 11 October 2009 (UTC)

Obsolete and not very useful
Hi there,

This Manual page is not very useful. It's basically a rehash of an old copy of the texvc README file.

I propose we replace almost all of this page with Mediawiki_and_LaTeX_on_a_host_with_shell_access, which contains much more information that concretely helped me display TeX formulae in my wiki. It's a step-by-step, reasoned guide that offers alternatives to texvc, which let's face it, is not the simplest thing to set up, especially if you are in a limited environment such as a shared host of a service provider (no root access, etc). In any case, it does a much better job at explaining how to set up texvc as well.

The Manual:Enable_TeX/problems page was also very helpful.

I came here from the FAQ, and it took 3 links to get to some useful info. Thanks. Hopefully acceptable username 12:53, 26 October 2009 (UTC)

Hi, it's not written the same thing on README and on this wiki
Hi, I don't know if someone will read this message, I write here to alert about that:

For building texvc :
 * on the wiki it seems we need: LaTeX, dvips, ImageMagick, and Ghostscript
 * on the README it seems we need file we need : LaTeX, dvipng.

If someone can correct the mistake, if I well understand.

Thank you

Nicolas.