From:
Matt Sergeant <matt [at] sergeant.org>
Date:
Sat, 2 Nov 2002 17:03:36 +0000
To:
siglun [at] gungner.lub.lu.se
To:
AxKit Users <axkit-users [at] axkit.org>
Subject:
Re: Running another formatter
On Saturday, Nov 2, 2002, at 15:26 Europe/London, siglun [at] gungner.lub.lu.se wrote: > On Sat, 2 Nov 2002, Matt Sergeant wrote: > >> This may be a dumb question, but if this stuff is going in httpd.conf, >> did you restart your server? > > It is no dumb question! That is things we all forget (or at least I do > that kind of misstakes all the time). But as a matter of fact I did > this > time. > >> Earlier on in the log AxKit should tell you exactly how it intends to >> process the XML (with lines containing: Module::Name(stylesheet)), so >> you can see right there if it got the right info to pull out your >> module and it's stylesheet (NULL). > > It seems that something is missing in my configuration there. It says > things like > > [Sat Nov 2 16:23:29 2002] [warn] [client 192.168.2.1] [AxKit] styles: > Apache::AxKit::Language::LibXSLT(/SigfridLundberg/xml-style-library/ > tei_to_roff.xsl) > [Sat Nov 2 16:23:29 2002] [warn] [client 192.168.2.1] [AxKit] Style > Provider Override: Apache::AxKit::Provider::File > [Sat Nov 2 16:23:29 2002] [warn] [client 192.168.2.1] [AxKit] [uri] > File > Provider looking up uri > /SigfridLundberg/xml-style-library/tei_to_roff.xsl > [Sat Nov 2 16:23:29 2002] [warn] [client 192.168.2.1] [AxKit] [uri] > File > Provider set filename to > /home/siglun/WWW/xml-style-library/tei_to_roff.xsl > [Sat Nov 2 16:23:29 2002] [warn] [client 192.168.2.1] [AxKit] about to > execute: Apache::AxKit::Language::LibXSLT::handler > > It does know what this produces (application/x-troff-ms), but it seems > that it doesn't understand that I want it to go another round of > transformation (to postscript). It doesn't recognize my module at all. Hmm. Try sticking a + in front of the module name. Others have reported this helps or fixes things for them: AxAddStyleMap application/x-troff-ms +Apache::AxKit::Language::TroffMs > My choice of style sheet here (NULL) might not be as good as one could > make it, the troff macro package could be regarded as a style sheet for > transforming troff source into postscript. Thus I should > eventually generalize it. I don't know much about troff, but yeah it's always good to generalise. Matt.
Running another formatter - siglun.gungner.lub.lu.se on 1 Nov 2002 21:15:58 -0000
Re: Running another formatter - Matt Sergeant on 2 Nov 2002 09:20:01 -0000
Re: Running another formatter - siglun.gungner.lub.lu.se on 2 Nov 2002 15:26:05 -0000
Re: Running another formatter - Matt Sergeant on 2 Nov 2002 17:03:42 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index