From: Giuseppe G. <giu...@ag...> - 2003-05-30 17:47:52
|
Tony, > Can you process xmlroff.fo from the xmlroff distribution? Yes, I can process it without problems. > > > I've tried to process a FO file generated with xsltproc: > > > > xmlroff -o myfile.pdf myfile.fo > > > > ... but xmlroff never returns and at the end my PC simply > > goes down... > > > > I get a number of error messages like this: > > > > (process:1424): libfo-CRITICAL **: fo-fo-error: > > FoMarker not allowed as child of FoBlock > > Object path: /FoTree[1]/root[1]/page-sequence[1]/flow[1]/FoBlock[1] > > /FoBlock[1]/FoBlock[1]/FoBlock[1]/FoBlock[1]/FoMarker[1] > > > > Does anybody know how to solve this problem? > > The problem is that xmlroff does not yet support markers. > > The partial solution is to park markers in a GList attached to the FO > containing the marker (and I added an FoMarkerParent type to do this), > but it hasn't been fully implemented since I've spent my recent time > getting xmlroff to work with GNOME Print instead of PDFlib. > > The solution to your problem is to implement marker support. > > Please file a bug report or enhancement request on SourForge about > xmlroff not supporting markers. OK, I'll do that... > > Ways to get around the lack of marker support include: > > - Don't generate them > > - Write a stylesheet to filter them out of your .fo files > > - Work on marker support yourself > > In the interim, since xmlroff doesn't support markers, I regret that > your output would not look as you expect anyway. The problem is that I use the DocBook stylesheets, and customize them is not so trivial... Do you think xmlroff will be distributed as the standard FO processor with GNOME just like xsltproc? Gius_. > > Regards, > > > Tony Graham > ------------------------------------------------------------------------ > XML Technology Center - Dublin > Sun Microsystems Ireland Ltd Phone: +353 1 8199708 > Hamilton House, East Point Business Park, Dublin 3 x(70)19708 > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > xmlroff-list mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlroff-list -- ---------------------------------------- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: giu...@ag... web: www.agamura.com ---------------------------------------- |