Hi Aaron
I haven't used PassiveTex directly for producing PDFs
- but there is a working example in the AxKit distribution for AxPoint
which will give you a working set of files and Apache configuration to
amend.
I would say whether you use AxPoint, PassiveTex or something else
depends on what sort of PDF.you are trying to produce.
AxPoint (using PassiveTex) looks good presentation type slides.
It also has very simple syntax.
As there are more features of XSL-FO that PassiveTex doesn't support
fully than - say - Apache FOP
I would recommend using XSL:FO and FOP for anything more complex.
But - if you are mainly trying for One-Page PDF posters then I would
recommend seeing if AxPoint meets your needs.
HTH
Mike
Aaron Steager wrote:
Hello all,
This is my first time using a maling list so if I make mistakes let me
know. I have subscribed because I am in need of your help. I have
taken over managing a Debian box (ver 1.16.2) that is running Apache
(ver 1.3.26) and we use AxKit. Since it was set up before I was put
in charge I have been able to figure out what I need to do by looking
at other taglib files, xsp's and xsl's to get it done. I will be the
first to admit that I don't understand all of it fully but I
understand it enough to get what I need done. Untill now.
Basically we need to generated pdf's on the fly. From the research
I've done I tried AxPoint which I got working but it didn't generated
a 1 page poster like we needed. I looked at FOP and HTMLdoc but then
I came across PassiveTeX which seems to say it will do what I need it
to if I can figure out how to get it to work. All the examples I have
seen involve using command lines to generate a pdf from a fo file.
But what i need is for someone to go to passive.xsp or passive.fo with
their web browser and it generates a pdf. Which will be changed daily
by information it draws from a PostgreSQL database. Is PassiveTeX the
tool I should use or is the something else that is better suited? If
it is does anyone have some simple xsp fo xsl files I could look at?
I'm not asking for anyone to do my work but a few simple files I could
look through would be greatly appreciated.
Aaron
Here is what I have so far and please feel free to laugh:)
passive.xsp
<?xml-stylesheet href="NULL" type="application/x-xsp"?>
<?xml-stylesheet href="/passive.xsl" type="text/xslfo"?>
<xsp:page xmlns:xsp="http://www.apache.org/xsp/core/v1">
<text>Open Sesame</text>
</xsp:page>
passive.xsl -- Not even close to being right
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/xsp/core/v1">
<xsl:output method="pdf"/>
<xsl:template match="text">
</xsl:template>
</xsl:stylesheet>
httpd.conf I did add PassiveTeX to it
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/xslfo Apache::AxKit::Language::PassiveTeX
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message Scanned by ClamAV on datalucid.com
--
Datalucid Limited
Message Scanned by ClamAV on datalucid.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]