Instructions for installing the latexrender library version 0.9

1. move pub/latexrender/ into pub/ -- this provides the scripts/, pictures/ 
   and tmp/ directories

*or* to upgrade from an existing latexrender installation:

1. move pub/latexrender/scripts/ into pub/latexrender/ -- this provides new, 
   more readily configurable latexrender scripts

2. if cookbook/latexrender/latexrender.php exists from a previous latexrender 
   installation, you are done -- this is true if you are upgrading from a 
   version of latexrender that separated out the configuration information 
   (introduced in version 0.9)

*or* you are upgrading from version 0.8 and previously set paths to 
   required binaries by editing pub/latexrender/latex.php 

2. move cookbook/latexrender/ into cookbook/ -- this provides a script to 
   include the script pub/latexrender/scripts/latex.php

3. edit cookbook/latexrender/latexrender.php to set the locations of the latex,
   dvips, convert and identify binaries; the script identifies the default 
   settings and sets typical Mac OS X locations as an example;
   your installation will probably be different

4. add the following line to local/config.php, **after** including the 
   wikipublisher extension:

     Include_once("$FarmD/cookbook/latexrender/latexrender.php");

*or* if you are upgrading from an existing latexrender installation:

4. change the following line in local/config.php:

     Include_once("$FarmD/pub/latexrender/latex.php");

   so that it reads:

     Include_once("$FarmD/cookbook/latexrender/latexrender.php");

john.rankin@affinity.co.nz