This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Fop?
On Sun, Jan 13, 2002 at 10:11:30PM -0800, Bob Stayton wrote:
> On Sun, Jan 13, 2002 at 06:01:10PM -0600, ttg@charter.net wrote:
> > Hi,
> > Having now taken a file from
> > XML --> HTML via xsltproc
> > from
> > XML --> .fo via xsltproc
> > from
> > .fo --> .fop via xsltproc
> >
> > and downloaded the fop.sh I try to run
> > fop.sh from the command line (CYGWIN),
> > and am told:
> >
> > [: Doc: unknown operand
> > [: Doc: unknown operand
> > java not found
> >
> > Reading the script I can't rightly figure out
> > where it wants java to be. I have java 1.3.1
> > on the system, even created a directory java/bin
> > for it in the same directory I am running fop.sh from.
> > Help!!!! I am soooooo close??
>
> It sounds like you need to locate java.exe on your
> system and add that directory to your PATH environment
> variable. Then the script doesn't have to know where java
> is.
Actually, I got fop.bat to work in a DOS shell.
I just made sure that the directory containing java.exe
was in my PATH environment variable, and then I could run
this command from within the Fop-0.20.2 directory:
fop.bat bobtest.fop bobtest.pdf
I'm not happy with the quality of the pdf, so I
don't use fop much yet.
bobs