Re: Formatting

Tony Graham <[email protected]> Mon, 24 Jul 2006 15:56:50 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
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