Re: Formatting

Teus Benschop <[email protected]> Mon, 24 Jul 2006 17:10:05 +0200
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============1737929492==
Content-Type: multipart/alternative;
	boundary="------------000207060809040909060505"

This is a multi-part message in MIME format.
--------------000207060809040909060505
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Tony,

Thanks for the support. It now formats the xsl-fo document without even 
one error.

You know what: Because of your use of Pango, it formats the Unicode 
Hebrew better than XEP does.

Thanks for the job you are doing.

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.

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

--------------000207060809040909060505
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>
Thanks for the support. It now formats the xsl-fo document without even
one error.<br>
<br>
You know what: Because of your use of Pango, it formats the Unicode
Hebrew better than XEP does.<br>
<br>
Thanks for the job you are doing.<br>
<br>
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.<br>
<br>
Regards,<br>
<br>
Teus.<br>
<br>
<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]">&lt;[email protected]&gt;</a> writes:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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 &gt; 0' failed

(process:24370): libfo-CRITICAL **: fo_area_table_split_before_height:
assertion `max_height &gt; 0' failed


Is this because of errors in the .fo file?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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.

...
  </pre>
  <blockquote type="cite">
    <pre wrap="">     &lt;fo:page-sequence-master master-name="text"&gt;
       &lt;fo:repeatable-page-master-alternatives&gt;
         &lt;fo:conditional-page-master-reference
blank-or-not-blank="blank" master-reference="blank-page"/&gt;
         &lt;fo:conditional-page-master-reference odd-or-even="odd"
master-reference="odd-page"/&gt;
         &lt;fo:conditional-page-master-reference odd-or-even="even"
master-reference="even-page"/&gt;
       &lt;/fo:repeatable-page-master-alternatives&gt;
     &lt;/fo:page-sequence-master&gt;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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 &amp; 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&amp;p=sourceforge&amp;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>

--------------000207060809040909060505--


--===============1737929492==
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
--===============1737929492==
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

--===============1737929492==--