The LaTeX Plugin allows it to create a PDF document out of Wiki content. The user can define which pages are combined to a single document. Templates are used to define the document type (article, book, ...). The created PDF file is attached to the current page.

A sample document can be downloaded here: [Sample.pdf|http://www.i3g.hs-heilbronn.de/attach/LatexPlugin/Sample.pdf].

This is what the plugin looks like on a wiki page: [{Image src='http://www.i3g.hs-heilbronn.de/attach/LatexPlugin/LatexPlugin.png'}]


This plugin is a rather large plugin. It requires a full LaTeX installation to work. The parser is based on the [LatexConverter] by Torsten Hildebrandt. The plugin consists of the plugin class that is used for the configuration and a Java servlet that does the actual job. Two other plugins (Bibliography and Cite) are used to make bibliography management inside of JSPWiki possible.

Due to the complexity of the plugin, the plugin description is splitted on several pages.


The installation is described on a separate page: [LatexPluginInstallation].

!Direct download links: 

*[Binary zip|http://www.i3g.hs-heilbronn.de/attach/LatexPlugin/latex.zip] 
*[Source zip|http://www.i3g.hs-heilbronn.de/attach/LatexPlugin/latexsrc.zip]


To create a document out of two wiki pages following code can be used:

[{LatexConverter author='Steffen' title='Test document'


More examples can be found on the plugin documention pages below.

!!Plugin documentation

The whole LaTeX plugin consists of three plugins which are explained on their on pages:

*[LaTeX Converter plugin|LatexPluginDocumentationLatexConverter]
*[Biblography plugin|LatexPluginDocumentationBibliography]
*[Cite plugin|LatexPluginDocumentationCite]


*Version 0.1.0 was developed by the i3g insitute. Author is [Steffen Schramm]
*Version 0.1.1 does not rely on ~PluginUtil any more


I would like to use this plugin. But it doesn't work with 2.4.x JSPWiki. 
I tried to patch it for JSPWiki 2.4.x but some source are missing: {{{ org.wikiwizard.jspwiki.plugin.PluginUtil }}}

A working version of latexplugin for jspwiki 2.4.46 is attached (without {{{PluginUtil.java}}}).


Fixed, the new version 0.1.1 does not rely on ~PluginUtil any more. By the way, what were the changes to make it run on 2.4?


Thank you! 

Changes for 2.4:\\
__com.ecyrd.jspwiki.auth.UserProfile__ does not exist in jspwiki 2.4\\
__java.security.Principal__ ist used instead.

This requires small changes in LatexServlet and LatexConverter.



I have just started using JSPWiki 2.4.91 (binary) and have used a few plugins and compiled and installed a simple HelloWorld plugin but have failed to get the Latex Plugin to work from either binary or source. 
There are two source zips and one binary on  http://jspwiki.org/wiki/LatexPlugin
* http://www.i3g.hs-heilbronn.de/attach/LatexPlugin/latex.zip Binary
* http://www.i3g.hs-heilbronn.de/attach/LatexPlugin/latexsrc.zip Src
* http://jspwiki.org/attach/LatexPlugin/latexplugin-2.4.x-src.zip 

I am unsure which source zip I should be using and if any other changes are needed, please advise.
Is there a shell script or ant build file to build the latex.jar file ?

--AshleyFord, 26-Feb-2007