This question about Using an extension: Needs followup in Tasks

LatexModePlugin from svn has sysCommand error

I have taken LatexModePlugin from the svn trunk and installed it on my foswiki.

As usual, you can't get to the plugin topic until it is sufficiently configured. I have added the following to /etc/foswiki/LocalSite.cfg (debian repository install):
$Foswiki::cfg{Plugins}{LatexModePlugin}{latex} = '/usr/bin/latex';
$Foswiki::cfg{Plugins}{LatexModePlugin}{pdflatex} = '/usr/bin/pdflatex';
$Foswiki::cfg{Plugins}{LatexModePlugin}{dvips} = '/usr/bin/dvips';
$Foswiki::cfg{Plugins}{LatexModePlugin}{dvipng} = '/usr/bin/dvipng';

When I try to access /System/LatexModePlugin I get the following error:
Can't call method "sysCommand" on an undefined value at /var/lib/foswiki/lib/Foswiki/Plugins/LatexModePlugin/Render.pm line 579.

I would very much like to get this working, as it is one of the plugins in use in my old TWiki installation that I am trying to transfer!

Also, when might this plugin come above the surface so I don't need to check out from svn?

Thanks

-- EdMcDonagh - 07 Apr 2009

Hi Ed,

This is a error that resulted in recent updates to the Foswiki::Sandbox. If you update to revision 3385 (07 Apr 2009), the problem should be resolved.

As to when the plugin might be officially released? (sigh) I wish I could get a firm answer. My day job is overloaded lately, and while I keep the plugin functional (I use it daily still) there are a few things I would like to change before a full release. This includes:
  • an 'installer' script, one that will find the programs needed, check permissions and environment settings etc., and guide the LocalLib.cfg settings
  • upgrade the wiki macros to Foswiki, i.e. register the %LATEX{}% macro instead of continuing on with %BEGINLATEXMODE% ... %ENDLATEXMODE%
Thanks for suffering through with the svn methods for now.

-- ScottHoge - 07 Apr 2009

QuestionForm edit

Subject Using an extension
Extension LatexModePlugin
Version
Status Needs followup in Tasks
Topic revision: r3 - 06 Jul 2011, PaulHarvey - This page was cached on 15 Jan 2018 - 22:53.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License