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
latexplugin-2.4.x-src.zip 185.9 kB 1 05-Sep-2006 16:15 149.211.153.16

This page (revision-32) was last changed on 19-Jan-2011 15:16 by Janne Jalkanen  

This page was created on 27-Aug-2006 14:36 by 62.224.253.81

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 50 changed one line
Version 0.1.0 was developed by the i3g insitute. Author is [Steffen Schramm]
*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
At line 54 added 125 lines
Hi,
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}}}).
-PeterHormanns
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?
-SteffenSchramm
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.
-PeterHormanns\\
\\
\\
PROBLEM (jspwiki.log):\\
JSPWiki:http://host:8080/JSPWiki/Wiki.jsp - Plugin failed while executing:\\
java.lang.NoSuchMethodError: com.ecyrd.jspwiki.WikiContext.getCurrentUser()Lcom/ecyrd/jspwiki/auth/UserProfile;\\
at org.wikiwizard.jspwiki.latex.LatexConverter.execute(LatexConverter.java:95)\\
at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:380)\\
at com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java:88)\\
at org.jdom.output.XMLOutputter.printTextRange(XMLOutputter.java:1054)\\
at org.jdom.output.XMLOutputter.printContentRange(XMLOutputter.java:989)\\
at org.jdom.output.XMLOutputter.outputElementContent(XMLOutputter.java:445)\\
at com.ecyrd.jspwiki.render.XHTMLRenderer.getString(XHTMLRenderer.java:61)\\
at com.ecyrd.jspwiki.render.RenderingManager.getHTML(RenderingManager.java:254)\\
at com.ecyrd.jspwiki.render.RenderingManager.getHTML(RenderingManager.java:295)\\
at com.ecyrd.jspwiki.WikiEngine.textToHTML(WikiEngine.java:1374)\\
at com.ecyrd.jspwiki.WikiEngine.getHTML(WikiEngine.java:1320)\\
at com.ecyrd.jspwiki.tags.InsertPageTag.doWikiStartTag(InsertPageTag.java:128)\\
at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:88)\\
at org.apache.jsp.templates.default_.PageContent_jsp._jspx_meth_wiki_005fInsertPage_005f0(PageContent_jsp.java:431)\\
at org.apache.jsp.templates.default_.PageContent_jsp._jspService(PageContent_jsp.java:109)\\
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)\\
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)\\
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)\\
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)\\
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)\\
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)\\
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\\
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\\
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)\\
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)\\
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)\\
\\
\\
\\
What's wrong?\\
\\
-AndreasTaudte
----
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
----
A modified version of LatexPlugin for JSPWiki 2.4.102 and MiKTeX you can find [here|Mark Giereth]
-MarkGiereth
----
Tables problem: there seems to be a problem with tables formatting. E.g. content in the tables columns doesn't get wrapped if too long and therefore the tables do not fit the page width.
Could somebody give me a hint how it could be fixed?
--RafalSmyka, 18.01.2008
----
I've just installed JSPWiki 2.6.4 rc 2 + Latex-plugin 0.1.1 , but I've got this ugly Exception :\\
%%prettify
{{{
java.lang.ClassCastException: [I
at org.wikiwizard.jspwiki.latex.LatexConverter.getConverterForm(Unknown Source)
at org.wikiwizard.jspwiki.latex.LatexConverter.execute(Unknown Source)
at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:383)
at com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java:158)
...
}}}
/%
Does anyone have any clue ?
[AndreaCamurri], 08-Sep-2008
----
Can't load latex plugin
this is from jspwiki.log
2011-01-16 04:00:02,338 [http-8080-1] INFO com.ecyrd.jspwiki.plugin.PluginManager JSPWiki:/wiki/templates/default//AJAXPreview.jsp JSPWiki:http://localhost:8080/wiki/templates/default//AJAXPreview.jsp - Plugin failed while executing:
java.lang.NoSuchMethodError: com.ecyrd.jspwiki.WikiContext.getCurrentUser()Lcom/ecyrd/jspwiki/auth/UserProfile;
at org.wikiwizard.jspwiki.latex.LatexConverter.execute(LatexConverter.java:95)
at com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:388)
at com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java:196)
Is it somebody who answer to the issues from this page, or they are just ignored comments?
I see this problem also above without any answer.
How I can report a bug or ask for more info about a plugin? I see no contact fom the author of the plugin.
--Eugen Morjolic, 16-Jan-2011 04:10
Version Date Modified Size Author Changes ... Change note
32 19-Jan-2011 15:16 7.91 kB Janne Jalkanen to previous
31 17-Jan-2011 09:33 7.932 kB 89.38.174.194 to previous | to last
30 17-Jan-2011 09:33 7.925 kB 89.38.174.194 to previous | to last
29 17-Jan-2011 09:30 7.916 kB Eugen Morjolic to previous | to last
28 16-Jan-2011 04:10 7.91 kB Eugen Morjolic to previous | to last
27 08-Sep-2008 11:32 6.941 kB Andrea Camurri to previous | to last
26 18-Jan-2008 20:53 6.381 kB 193.84.29.4 to previous | to last
25 10-Dec-2007 14:53 6.101 kB AndreasTaudte to previous | to last
24 10-Dec-2007 14:52 6.082 kB AndreasTaudte to previous | to last
23 05-Dec-2007 17:14 3.723 kB 217.79.216.190 to previous | to last
22 05-Dec-2007 16:25 3.794 kB 217.79.216.190 to previous | to last
21 26-Apr-2007 20:13 3.603 kB Mark Giereth to previous | to last
« This page (revision-32) was last changed on 19-Jan-2011 15:16 by Janne Jalkanen