User:Daveg: Difference between revisions

From KBwiki
Jump to navigation Jump to search
Line 3: Line 3:
= Installation and Configuration of Latex =  
= Installation and Configuration of Latex =  


Good old Einstein:
Some equation tests.
 
First of all, good old Einstein's famous mass-energy equivalence:


<math>
<math>
Line 22: Line 24:
</math>
</math>


and another:
and another (Ludwig Boltzmann, rest in peace...)


<math>
<math>

Revision as of 12:27, 20 February 2009

This is my home page....

Installation and Configuration of Latex

Some equation tests.

First of all, good old Einstein's famous mass-energy equivalence:

This is a test equation:

and another one:

and another (Ludwig Boltzmann, rest in peace...)

Notes

  • After much struggle, the above equations should be rendered properly if texvc is working correctly and the MediaWiki is configured correctly.
  • Had to install MinGW32 for the basic compilation tools. MinGW32 provides an application

manager to download and install the components. These are stored in e:\mingw

  • Another package is required called Objective Caml. This is also installed on the E: drive
  • MediaWiki has a Math folder in which various source programs for texvc are kept. The make

file in this folder must be executed in order for the texvc.bc code to be generated.

    • NOTE Both Objective Caml bin and Mingw bin folders must be in the path
    • When compiling from the DOS shell, use CAMLLIB=e:\objective caml\lib to enable CAML to pick up the various auxiliary files
  • The render.ml file needs to be modified. Consult the page at [1]
  • The Math.php file also needs to be modified. Read the instructions for replacing certain code sections at the above link
  • I also had to open up all sorts of permissions to different users on the images folder. Not good form but this was required to get it to work.