Hi!
There will be 2 new modules in the AxKit distribution.
First there is Apache::AxKit::Language::XSP::SimpleTaglib, an alternative to
TaglibHelper and a rather powerful one as well. IMHO it is easier to use than
TaglibHelper but provides about everything one could need. And most
importantly, for those rare cases where one of the predefined behaviours
won't suffice, you have still the possibility to completely hand-code some
tag behaviours.
It is well documented, so for details I suggest you look at the perldoc page.
The second one is not documented at all, but really easy to use:
Apache::AxKit::Language::HtmlDoc
This is a PDF generator similar to ::Language::PassiveTeX, but takes xhtml as
input. HTMLDOC is available at www.easysw.com (don't be fooled by the
commercial appearance - htmldoc is GPL, they sell binaries but provide the
complete source code for free)
I know of no better tool to generate PDF from HTML, and it is fast as well,
but it will need some tweaking to get the output straight. Most importantly,
it only understands HTML 3.2 with a few 4.0 extensions and no CSS at all. So
you will probably need to add another stylesheet to your stack to produce
usable input.
Use this module when you already have HTML input. For custom-creating PDF
layouts, I suggest you better use PassiveTeX, since XSL:FO output is more
predictable than htmldoc's.
Usage:
AxAddStyleMap text/xhtml Apache::AxKit::Language::HtmlDoc
You can set custom options for htmldoc:
PerlAddVar AxHtmlDocOptions --linkcolor '#387038' --linkstyle plain
Activate using httpd.conf:
AxAddProcessor text/xhtml .
or use a PI:
<?xml-stylesheet type="text/xhtml" href="."?>
Be sure disable AxGzipOutput for these files.
--
CU
Joerg
PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]