Re: 0.20.5 vs/ 0.92beta thread on XSL List

2006-10-12 Thread Simon Pepping
On Thu, Oct 12, 2006 at 09:31:19PM +0200, Simon Pepping wrote:
> Thanks for the hint. I have posted a recommendation of versions 0.9x.

But it takes a while to arrive there, with gmane authentication and
all. This is what I wrote:

The FOP development team encourages all users of FOP to upgrade to
version 0.92. Soon we hope to follow up with version 0.93, which we
believe to be of production quality. You can check the coverage of the
XSL-FO spec on FOP's compliance page
http://xmlgraphics.apache.org/fop/compliance.html. Besides a greater
coverage of the XSL-FO spec, FOP 0.9x has a better layout engine. It
uses the famous Knuth algorithm both for line breaking and page
breaking. For other features see the overview at
http://xmlgraphics.apache.org/fop/latest/index.html, menu item
'features'.

Because this version is in active development, contrary to the "latest
stable release" 0.20.5, reported bugs are fixed, and new features are
being implemented continually. Better font support is on the short
term todo list.

Feel free to add to that on Gmane or the XSL list.

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Exception: Some content could not fit into a line/page with fop 0.92beta

2006-10-12 Thread Karsten Ohme
Vincent Hennebert wrote:
> Hi Karsten,
> 
> 
> 
>>The content does not fit on the page, it must be continued on the next
>>page.
>>I want, that the content is continued on the next page and no error is
>>thrown. Why does it not work?
>
>It looks like you want to process pre-formatted text.

Yes.



>I suspect
>there is a line too long to fit the available horizontal space.

No. Vertical space. If a line is too long it is simply going over the
border. If I separate the block into many blocks, everything works. But
this must be done by hand, this would be really really really cruel.
>>>
>>>Can you please post a stripped down version of your fo file that
>>>reproduces the problem?
>>
>>The source is a DocBook file. I tried to translate the fo file. With fop
>>0.20.5 it works. Test2.pdf is the output. With fop 0.92 it doesn't.
> 
> 
> The problem is caused by a keep-together.within-column="always" in the
> fo:block surrounding the block that contains the "Beispiel 1.1 Example"
> string. Removing that attribute solves the problem. This works with Fop
> 0.20.5 simply because keep-together was not entirely supported in that
> version.
> 
> I guess that the keep-together attribute is put by the template handling
> the  DocBook element. In that case you would have to customize
> that template to remove the attribute. Perhaps there is already a
> parameter for that in the DocBook XSLT stylesheets.
> 
> If you have problems customizing the stylesheets then you will find help
> on the docbook-apps mailing list.

Thanks, I will try it, it should do it. I will also report it to the
DocBook mailing list, so that they can correct the stylesheet or reason,
why it works this way.

Regards, Karsten
> 
> HTH,
> Vincent
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 0.20.5 vs/ 0.92beta thread on XSL List

2006-10-12 Thread Simon Pepping
On Thu, Oct 12, 2006 at 11:39:25AM +0200, Florent Georges wrote:
>   Hi
> 
>   Maybe you'll be interested to respond to the following email, asking
> which version of FOP to use in an XSL-FO classroom:
> 
> http://article.gmane.org/gmane.text.xml.xsl.general.mulberrytech/55760

Thanks for the hint. I have posted a recommendation of versions 0.9x.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Exception: Some content could not fit into a line/page with fop 0.92beta

2006-10-12 Thread Vincent Hennebert
Hi Karsten,


> The content does not fit on the page, it must be continued on the next
> page.
> I want, that the content is continued on the next page and no error is
> thrown. Why does it not work?
 It looks like you want to process pre-formatted text.
>>> Yes.
>>>
>>>
 I suspect
 there is a line too long to fit the available horizontal space.
>>> No. Vertical space. If a line is too long it is simply going over the
>>> border. If I separate the block into many blocks, everything works. But
>>> this must be done by hand, this would be really really really cruel.
>>
>> Can you please post a stripped down version of your fo file that
>> reproduces the problem?
> 
> The source is a DocBook file. I tried to translate the fo file. With fop
> 0.20.5 it works. Test2.pdf is the output. With fop 0.92 it doesn't.

The problem is caused by a keep-together.within-column="always" in the
fo:block surrounding the block that contains the "Beispiel 1.1 Example"
string. Removing that attribute solves the problem. This works with Fop
0.20.5 simply because keep-together was not entirely supported in that
version.

I guess that the keep-together attribute is put by the template handling
the  DocBook element. In that case you would have to customize
that template to remove the attribute. Perhaps there is already a
parameter for that in the DocBook XSLT stylesheets.

If you have problems customizing the stylesheets then you will find help
on the docbook-apps mailing list.

HTH,
Vincent

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



0.20.5 vs/ 0.92beta thread on XSL List

2006-10-12 Thread Florent Georges
  Hi

  Maybe you'll be interested to respond to the following email, asking
which version of FOP to use in an XSL-FO classroom:

http://article.gmane.org/gmane.text.xml.xsl.general.mulberrytech/55760

  Regards,

--drkm






























___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Demandez à ceux qui savent sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]