Preface#

If you haven't already installed a LaTeX distribution, installing the LaTeX plugin will take some time. A LaTeX distribution typically needs several hundred MB of hard disk space. Installing LaTeX and the needed packages will probably the most difficult step, depending on your knowledge and the chosen operating system and LaTeX distribution.

Of course installing LaTeX has to be done only one time, to use it with several JSPWiki installations. Also as all the work is done on the server, nothing has to be installed on client computers, to use the plugin.

Note: The plugin has been developed and tested under Gentoo Linux using the teTeX distribution, version 2.0.2 and JSPWiki 2.2.33.

Prerequisites#

  • JSPWiki
  • A LaTeX distribution, including the commands
    • pdflatex
    • bibtex

Following LaTeX packages are used:

  • Komascript (scrartcl, scrreprt, scrbook)
  • ngerman
  • graphixc
  • hyperref
  • times
  • eurosym
  • ucs [1]

Installing the plugin#

Assuming you have installed all the needed prerequisites, the steps to install the plugin are simple:

  1. Download the latex.zip and unzip it into the JSPWIKI/WEB-INF directory
  2. Configure JSPWIKI/WEB-INF/latex.properties to your needs
  3. Edit JSPWIKI/WEB-INF/jspwiki.properties and add org.wikiwizard.jspwiki.latex to the plugin search path
  4. Edit JSPWIKI/WEB-INF/web.xml and include the LaTeX Servlet by adding following code right after the other servlet declarations
   <servlet> 
     <servlet-name>LatexServlet</servlet-name> 
       <servlet-class>
         org.wikiwizard.jspwiki.latex.LatexServlet
       </servlet-class> 
  </servlet> 	

   <servlet-mapping> 
      <servlet-name>LatexServlet</servlet-name> 
      <url-pattern>/LatexServlet</url-pattern> 
  </servlet-mapping> 

[#1] You will probably have to download and install it yourself, see http://www.unruh.de/DniQ/latex/unicode/

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip
latex.zip 113.4 kB 1 08-Aug-2007 19:36 82.120.66.55
« This page (revision-4) was last changed on 03-Oct-2006 13:52 by nwiki