Re: [css2xslfo-support] speeding up css2xslfo, FOP 0.95beta compatibility? PDF to PCL
Brought to you by:
wdonne
From: Brad C. <bk...@mu...> - 2008-06-05 02:57:48
|
Werner Donné wrote: > > I think the reason is that the XHTML DTD is no longer in the > package. As a consequence, the DTD is probably fetched from > the Internet. You can use the "-c" option to specify a catalog > that refers to a local copy of the DTD entity. I have created > bug 1984171 for this. > Hi, I downloaded the complete sgml/dtd tgz file from http://www.w3.org/TR/xhtml1/ Then I use the -c option to refer to xhtml.soc from that tar file. But css2xslfo says: Line 4: PUBLIC or SYSTEM expected However line 4 does start with PUBLIC. is this not the correct catalog format to use? Thanks --- server4:~/dtd/xhtml1-20020801/DTD> more xhtml.soc OVERRIDE YES -- Oasis entity catalog for Extensible HTML 1.0 -- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd" PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "xhtml1-frameset.dtd" -- ISO latin 1 entity set for Extensible HTML (XML 1.0 format) -- PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "xhtml-lat1.ent" PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "xhtml-symbol.ent" PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "xhtml-special.ent" SGMLDECL "xhtml1.dcl" > >> I don't know much about java, but I'm wondering if most of the time is >> spent loading java and the required classes. Has anyone setup >> css2xslfo >> to run as a servlet / REST web service? >> >> > > You can try out http://www.pincette.biz. If you click on the Acrobat > icon a conversion to PDF is launched for that page.? This is for demo > purposes, because in reality you would generate that offline. The > conversion is a filter chain composed of CSSToXSLFO and XEP. > > >> Also, is the Dec 07 release of css2xslfopnew compatible with the FOP >> 0.95 beta release from march 08? >> >> > > It wasn't tested yet, but if the API of FOP hasn't changed it should > work. > > >> Thanks >> >> ps. For some use cases, I have to subsequently convert the PDF to PCL >> or Postscript and send it to a printer. I'm that is also slow. That >> is, >> low end printers take a long time to render each page.. About 40 >> seconds.. the pcl6 output is only 183kb. I'm using ghostscript with >> pxlmono for this. >> >> I can't really use FOP's PCL output directly in this case, because >> it's >> a 2 step process and I do not know in advance what kind of printer >> will >> be used. Does anyone have experience with this problem as well? >> Perhaps >> suggesting a better way to generate PCL from PDF? The eventual >> target is >> a windows printer, but all this work is done on Linux. >> > > I have no experience with this. > > >> -- >> Brad Clements, bk...@mu... (315)268-1000 >> http://www.murkworks.com >> AOL-IM: BKClements >> >> > > Best regards, > > Werner. > > >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support >> > > -- > Werner Donné -- Re http://www.pincette.biz > Engelbeekstraat 8 http://www.re.be > BE-3300 Tienen > tel: (+32) 486 425803 e-mail: wer...@re... > > > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > -- Brad Clements, bk...@mu... (315)268-1000 http://www.murkworks.com AOL-IM: BKClements |