[Building Sakai] LaTeX markup ?

Jon Wheat jwheat at messiah.edu
Wed Aug 19 08:11:34 PDT 2009


Thanks, that seems to have done it / mostly.
 
I'm getting some symbols - and if I install the ttf files on my system - it works great.
Are the formulas supposed to render if the user doesn't have the fonts installed ?
 
are there images that should exist somewhere ?
 
-Jon
 

>>> "Kevin P. Foote" <kpfoote at iup.edu> 8/19/2009 9:37 AM >>>

Jon 

Don't know if your past this yet or not .. 
I've been out for a while (new little one at home :-) 

The settings that this blurb refers to are in the web.xml file for
rwiki. Location should be:

rwiki-tool/tool/src/webapp/WEB-INF/web.xml

Just look for jsMath when editing that file in vi or whatever. That should 
get you started. You'll have to rebuild rwiki again of course but it
looks like that went fine from your last post.

Hope that helps.

------
thanks
  kevin.foote

On Tue, 18 Aug 2009, Jon Wheat wrote:

-> here's what I've done so far -
->  
-> downloaded and placed jsMath into /webapps/library/jsMath
->  
-> then from the rwiki directory ran -
->  
-> mvn -Dsakai.withjsmath=true clean install sakai:deploy 
->  
-> There's something in the rWiki docs I can't wrap my head around -
->  
->  "init-params headerScriptSrc and footerScript appropriately. We recommend that you keep these as the default and install an appropriate library in /library/jsMath."
-> 
-> which I'm guessing is important since its still not working.
-> Can anyone shed some light on this for me?
-> Thanks,
-> -Jon
->  
->  
->  
-> >>> "Kevin P. Foote" <kpfoote at iup.edu> 7/24/2009 11:30 AM >>>
-> 
-> Jon -
-> 
-> Yea I think you need to add the jsMath library for the wiki to do stuff
-> like that? .. see
-> 
-> http://confluence.sakaiproject.org/display/DOC/Rwiki
-> 
-> http://www.math.union.edu/~dpvc/jsMath/welcome.html
-> 
-> 
-> ------
-> thanks
->   kevin.foote
-> 
-> On Fri, 24 Jul 2009, Jon Wheat wrote:
-> 
-> -> So I've had a request for LaTeX in the wiki - I've read rWiki supports the markup with the {math} macro.
-> ->  
-> -> So I attempt something like -
-> ->  
-> -> {math:display}\Theta = \theta + \pi{math}
-> ->  
-> -> and it displays as : 
-> -> \Theta = \theta + \pi
-> ->  
-> -> another example :
-> ->  
-> -> {math:display}x^2 + y^2 = 1{math} 
-> ->  
-> -> displays as : x^2 + y^2 = 1
-> ->  
-> -> Do I need to add something to get this to work properly ?
-> -> (Sakai 2.5.x) tested in FF / IE / Chrome / Safari
-> ->  
-> -> -Jon
-> ->  
-> -> 
-> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090819/9a2dcf79/attachment.html 


More information about the sakai-dev mailing list