Re: Formatting
Teus Benschop <[email protected]> Tue, 25 Jul 2006 03:19:03 +0200
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============0341936617== Content-Type: multipart/alternative; boundary="------------070202090807030009060103" This is a multi-part message in MIME format. --------------070202090807030009060103 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Tony, Tony Graham wrote: > Teus Benschop <[email protected]> writes: > >> Thanks for the support. It now formats the xsl-fo document without even one error. >> > > That's good. Does it also work without '--compat'? > > Without --compat it gives a couple of errors: [teus@localhost parallelbible]$ xmlroff document.fo (process:8108): libfo-CRITICAL **: fo-fo-error: Cannot rewrite fo:block content.Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[2]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1] Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[2]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1] (process:8108): libfo-CRITICAL **: fo-fo-error: Cannot rewrite fo:block content.Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[3]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1] Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[3]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1] > BTW, I added a warning message to the 'configure.in' in CVS to make it obvious > when you need to re-run 'configure' because of building with the bundled > PangoXSL. > Great! That will prevent some future support requests, most probably. > >> You know what: Because of your use of Pango, it formats the Unicode Hebrew better than XEP does. >> > > Music to my ears. Using Pango has meant a lot of work at various times, so > it's nice to know that it also pays off at times. > > Pls. keep using it, because there is no renderer equal to Pango in the area of Unicode rendering. And Pango is open, so that people can contribute code to it that deals with otherwise overlooked minority languages. >> Thanks for the job you are doing. >> > > My pleasure. I wish I had more time for it. > > >> By the way, when do you think that support for >> fo:repeatable-page-master-alternatives will be in xsmroff? I need it for >> setting the margins depending on whether it is an even or an odd page. >> > > Since this is open source, the most certain way to get it implemented is for > you to do it and contribute it to xmlroff. > > You could file a feature request on the SourceForge project and/or you could > agitate to have it added to the "Big Itches" section of the planning page at > http://xmlroff.org/implementation-sequence.html > > SourceForge doesn't have a voting mechanism for bugs or feature requests > AFAIK, so if others see it as a priority, they'll have to chime in on the > mailing list to make their opinions known. > > The fundamental problem is xmlroff development really only happens in my spare > time, and there's less of that than there are improvements to be made. > > Okay, I will see what to do - probably making some noise about it, as you say, and see if the fix wouldn't be too difficult to do it myself. Thanks, Teus. > Regards, > > > Tony. > > >> Regards, >> >> Teus. >> >> Tony Graham wrote: >> >> Teus Benschop <[email protected]> writes: >> >> Formatting the xsl-fo file given below fails with these messages: >> >> [teus@localhost references]$ xmlroff --compat document.fo >> (process:24370): libfo-CRITICAL **: >> fo_area_table_split_before_height_check: assertion `max_height > 0' failed >> >> (process:24370): libfo-CRITICAL **: fo_area_table_split_before_height: >> assertion `max_height > 0' failed >> >> Is this because of errors in the .fo file? >> >> No. xmlroff does not yet support fo:repeatable-page-master-alternatives >> (which, while useful, is not required for 'basic' conformance). >> >> See http://xmlroff.org/conformance.html >> >> xmlroff also doesn't implement the fallback behaviour. The fallback would be >> to select the 'blank-page' master, which also might not be what you expect. >> >> ... >> >> <fo:page-sequence-master master-name="text"> >> <fo:repeatable-page-master-alternatives> >> <fo:conditional-page-master-reference >> blank-or-not-blank="blank" master-reference="blank-page"/> >> <fo:conditional-page-master-reference odd-or-even="odd" >> master-reference="odd-page"/> >> <fo:conditional-page-master-reference odd-or-even="even" >> master-reference="even-page"/> >> </fo:repeatable-page-master-alternatives> >> </fo:page-sequence-master> >> >> Regards, >> >> Tony. >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> xmlroff-list mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xmlroff-list >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> xmlroff-list mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xmlroff-list >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > xmlroff-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xmlroff-list > > > --------------070202090807030009060103 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi Tony,<br> <br> Tony Graham wrote: <blockquote cite="[email protected]" type="cite"> <pre wrap="">Teus Benschop <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a> writes: </pre> <blockquote type="cite"> <pre wrap="">Thanks for the support. It now formats the xsl-fo document without even one error. </pre> </blockquote> <pre wrap=""><!----> That's good. Does it also work without '--compat'? </pre> </blockquote> Without --compat it gives a couple of errors:<br> <br> [teus@localhost parallelbible]$ xmlroff document.fo<br> <br> (process:8108): libfo-CRITICAL **: fo-fo-error: Cannot rewrite fo:block content.Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[2]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1]<br> Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[2]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1]<br> <br> (process:8108): libfo-CRITICAL **: fo-fo-error: Cannot rewrite fo:block content.Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[3]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1]<br> Object path: /FoTree[1]/root[1]/page-sequence[1]/static-content[3]/table[1]/table-body[1]/table-row[1]/table-cell[3]/block[1]<br> <br> <br> <blockquote cite="[email protected]" type="cite"> <pre wrap="">BTW, I added a warning message to the 'configure.in' in CVS to make it obvious when you need to re-run 'configure' because of building with the bundled PangoXSL. </pre> </blockquote> Great! That will prevent some future support requests, most probably.<br> <blockquote cite="[email protected]" type="cite"> <pre wrap=""> </pre> <blockquote type="cite"> <pre wrap="">You know what: Because of your use of Pango, it formats the Unicode Hebrew better than XEP does. </pre> </blockquote> <pre wrap=""><!----> Music to my ears. Using Pango has meant a lot of work at various times, so it's nice to know that it also pays off at times. </pre> </blockquote> Pls. keep using it, because there is no renderer equal to Pango in the area of Unicode rendering. And Pango is open, so that people can contribute code to it that deals with otherwise overlooked minority languages.<br> <blockquote cite="[email protected]" type="cite"> <blockquote type="cite"> <pre wrap="">Thanks for the job you are doing. </pre> </blockquote> <pre wrap=""><!----> My pleasure. I wish I had more time for it. </pre> <blockquote type="cite"> <pre wrap="">By the way, when do you think that support for fo:repeatable-page-master-alternatives will be in xsmroff? I need it for setting the margins depending on whether it is an even or an odd page. </pre> </blockquote> <pre wrap=""><!----> Since this is open source, the most certain way to get it implemented is for you to do it and contribute it to xmlroff. You could file a feature request on the SourceForge project and/or you could agitate to have it added to the "Big Itches" section of the planning page at <a class="moz-txt-link-freetext" href="http://xmlroff.org/implementation-sequence.html">http://xmlroff.org/implementation-sequence.html</a> SourceForge doesn't have a voting mechanism for bugs or feature requests AFAIK, so if others see it as a priority, they'll have to chime in on the mailing list to make their opinions known. The fundamental problem is xmlroff development really only happens in my spare time, and there's less of that than there are improvements to be made. </pre> </blockquote> Okay, I will see what to do - probably making some noise about it, as you say, and see if the fix wouldn't be too difficult to do it myself.<br> <br> Thanks,<br> <br> Teus.<br> <br> <blockquote cite="[email protected]" type="cite"> <pre wrap="">Regards, Tony. </pre> <blockquote type="cite"> <pre wrap="">Regards, Teus. Tony Graham wrote: Teus Benschop <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a> writes: Formatting the xsl-fo file given below fails with these messages: [teus@localhost references]$ xmlroff --compat document.fo (process:24370): libfo-CRITICAL **: fo_area_table_split_before_height_check: assertion `max_height > 0' failed (process:24370): libfo-CRITICAL **: fo_area_table_split_before_height: assertion `max_height > 0' failed Is this because of errors in the .fo file? No. xmlroff does not yet support fo:repeatable-page-master-alternatives (which, while useful, is not required for 'basic' conformance). See <a class="moz-txt-link-freetext" href="http://xmlroff.org/conformance.html">http://xmlroff.org/conformance.html</a> xmlroff also doesn't implement the fallback behaviour. The fallback would be to select the 'blank-page' master, which also might not be what you expect. ... <fo:page-sequence-master master-name="text"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference blank-or-not-blank="blank" master-reference="blank-page"/> <fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd-page"/> <fo:conditional-page-master-reference odd-or-even="even" master-reference="even-page"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> Regards, Tony. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash <a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a> _______________________________________________ xmlroff-list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/xmlroff-list">https://lists.sourceforge.net/lists/listinfo/xmlroff-list</a> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash <a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a> _______________________________________________ xmlroff-list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/xmlroff-list">https://lists.sourceforge.net/lists/listinfo/xmlroff-list</a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash <a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a> _______________________________________________ xmlroff-list mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/xmlroff-list">https://lists.sourceforge.net/lists/listinfo/xmlroff-list</a> </pre> </blockquote> </body> </html> --------------070202090807030009060103-- --===============0341936617== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============0341936617== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xmlroff-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xmlroff-list --===============0341936617==--