> Finally, try Apache::AxKit::Language::PassiveTex, it is a xsl:fo->pdf
> processor including caching and everything.
(in my best Han Solo voice) "Ha-haaa!!!"
Okay, for the record:
=========================
% diff PassiveTeX.pm FOP.pm
1c1
< # $Id: PassiveTeX.pm,v 1.3 2002/06/11 06:28:57 matts Exp $
---
> # $Id: FOP.pm,v 1.3 2002/06/11 06:28:57 matts Exp $
3c3
< package Apache::AxKit::Language::PassiveTeX;
---
> package Apache::AxKit::Language::FOP;
73,75c73,77
< AxKit::Debug(8, "About to shell out to pdfxmltex - hope you have
passivetex installed...");
< my $retval = system("pdfxmltex --interaction=batchmode --shell-escape
temp.fo");
< $retval >>= 8;
---
> AxKit::Debug(8, "About to shell out to fop.sh - hope you have FOP
installed...");
>
> my $retval = system("/usr/local/fop/fop.sh -fo temp.fo temp.pdf");
>
> # $retval >>= 8;
78c80
< fail("pdfxmltex exited with $retval");
---
> fail("fop.sh exited with $retval");
=========================
in httpd.conf:
AxAddStyleMap text/xsl-fo Apache::AxKit::Language::FOP
(but no AxAddProcessor -- I guess I'd only do that if I had a section
dedicated to FOP, right?) ('cause with it in, my regular html chain tried to
turn everything into PDF)
=========================
In my .xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="file:///opt/dev/interface/axkit/xsl/pdf/general.xsl"
type="text/xsl"?>
<?xml-stylesheet href="NULL" type="text/xsl-fo"?>
<DOCUMENT>....
=========================
And it Just Worked. No file extension mojo needed with Mozilla 1.3 --
haven't tried IE yet. I've got a whole task dedicated to making everything
play nice with IE. :(
So PassiveTeX does FO -> PDF transforms, directly? (though an invisible
LaTeX step, I gather). Are there any good comparisons of the two? (I'm
using FOP 'cause it's what I used before, and RenderX wasn't free, but if I
could avoid Java I'd be a happy camper...)
Thanks for your help!
david.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]