A couple of things:
  * Use the following to load the addon:
    load 'format/publish'
    NB. you could use this instead but why you!!
    load '~addons/format/publish/publish.ijs'

  * If you have a system install of J, then you will want to copy the demo 
folder from the ~addons folder to one that you have write access too, otherwise 
the PDF will not be written.

The following works for me:
   require 'general/dirtrees'
   '~temp/demo' copytree&jpath '~addons/format/publish/demo'
1 19
   require 'format/publish'
   publish jpath '~temp/demo/master.txt'

> From: Devon McCormick
> 
> Bill - have you gotten "publish" to work at all?  I get an error trying
> to
> run the demo:
> 
>    load '~addons/publish.ijs'
>    publish jpath '~addons/format/publish/demo/master.txt'
> |domain error: wd
> |       wd'winexec *',cmd
> 
> Regards,
> 
> Devon
> 
> On Wed, Jan 27, 2010 at 9:59 PM, Bill Harris <
> [email protected]> wrote:
> 
> > "Sherlock, Ric" <[email protected]> writes:
> >
> > > Not much enlightenment here - I played with Publish a while ago but
> > > have never used it in anger. However I noticed (and fixed) a number
> of
> > > syntax errors on the wiki pages for Publish that were preventing it
> > > from showing all the info that is there.
> >
> > Thanks, Ric.  I'll take a look tomorrow.
> >
> > Bill
> > --
> > Bill Harris
> http://facilitatedsystems.com/weblog/
> > Facilitated Systems                              Everett, WA 98208
> USA
> > http://facilitatedsystems.com/                  phone: +1 425 374-
> 1845
> > ---------------------------------------------------------------------
> -
> > For information about J forums see
> http://www.jsoftware.com/forums.htm
> >
> 
> 
> 
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to