Re: Formatting

Tony Graham <[email protected]> Tue, 25 Jul 2006 11:03:56 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
Teus Benschop <[email protected]> writes:
> 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]

xmlroff is not coping with the fo:retrieve-marker and fo:leader.  I don't know
why.

...
>         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.

That was the original motivation: as Pango adds support for new scripts,
xmlroff adds support for new scripts with (hopefully) no effort on our part.

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