Hello,
I known nothing about Tex, but did you try your formula directly with
Google Charts with some tools like curl or made a test page based on
When you are able to made it directly, then you can retry with {formula} macro.
Arnaud.
2010/4/27 Marine JULIAN <marine.julian(a)gmail.com>om>:
Hello everybody !
Sorry to send it again but I really need to know if there is a way to
resolve either the googlecharts renderer issue or my native renderer
problem...
I'm working on xwiki for a french scientist research lab which needs to be
able to render formulas (equations, matrics...) in wiki pages (for some
research papers). If I won't find a solution, I will regret to have to stop
to work on xwiki and find an other wiki... Though, until now, xwiki was
perfect for us...
This, I'll be very grateful to someone for looking at my issues and so for
helping me !!
Marine
2010/4/23 Marine JULIAN <marine.julian(a)gmail.com>
Hello,
As I didn't find a solution about my native renderer problem issue, so I
tried the google charts API one. Unfortunatly, when I write more than a
certain number (not too many) of characters in formula tags, I have an
error. Instead of using the google charts renderer, the snuggletex one is
used...
For instance when I wrote this simple code :
{{formula}}
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111\\
111111111111111111111111111111
{{/formula}}
All break lines (\\) weren't rendered. But ! If I write only the four first
lines, all is fine.
Is this a know issue ? What can I do ?
Last question : : When my wiki is local, can it make external HTTP ?
Because, When I want to use the mathtran renderer I have this error :
2010-04-23 15:49:26,238 [
http://localhost:8080/xwiki/bin/tex/Public/FormulaMacro
Again/440bdc8f8001d9d387dbb95e1f1328998c35678a03e22bbf8eb747dc9de8a34d]
ERROR web.XWikiAction - Connection aborted
See Google Charts renderer error lines :
2010-04-23 12:04:37,463 [
http://localhost:8080/xwiki/bin/view/Public/FormulaMacroAgain] ERROR
formula.FormulaMacro
- Invalid renderer: [googlecharts]. Falling back to the safe
renderer.org.xwiki.component.manager.ComponentLookupException:
Failed to render formula using [googlecharts] renderer
at
org.xwiki.rendering.internal.macro.formula.FormulaMacro.render(FormulaMacro.java:162)
at
org.xwiki.rendering.internal.macro.formula.FormulaMacro.execute(FormulaMacro.java:112)
at
org.xwiki.rendering.internal.macro.formula.FormulaMacro.execute(FormulaMacro.java:57)
at
org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at
org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5696)
at
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5671)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:626)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:595)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:497)
at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at
org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
--
Marine JULIAN
--
Marine JULIAN
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users