Re: Exception: Some content could not fit into a line/page with fop 0.92beta
Jeremias Maerki wrote: Just FYI, FOP Trunk and FOP 0.93 (when released) will not always throw an exception anymore in this case. It reacts depending on the overflow property, so for the default case, the page will simply overflow. Note that FOP interprets keep with the value always so that it may not break the content apart in any case. DocBook should generate an integer value for the keep property to allow breaking in difficult situations but that isn't implemented, yet. I have also proposed in the DocBook mailing list the integer property. But they want to keep to always. Don't know why, because this results always for large content in an overflow. Integer seems to be much better. Karsten On 12.10.2006 21:47:18 Karsten Ohme wrote: Vincent Hennebert wrote: Hi Karsten, snip/ 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 example 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. Jeremias Maerki - 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: Exception: Some content could not fit into a line/page with fop 0.92beta
Just FYI, FOP Trunk and FOP 0.93 (when released) will not always throw an exception anymore in this case. It reacts depending on the overflow property, so for the default case, the page will simply overflow. Note that FOP interprets keep with the value always so that it may not break the content apart in any case. DocBook should generate an integer value for the keep property to allow breaking in difficult situations but that isn't implemented, yet. On 12.10.2006 21:47:18 Karsten Ohme wrote: Vincent Hennebert wrote: Hi Karsten, snip/ 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 example 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. Jeremias Maerki - 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
Karsten Ohme a écrit : J.Pietschmann wrote: Karsten Ohme wrote: I get this error: java.lang.RuntimeException: Some content could not fit into a line/page ... The location is this: fo:block space-before.minimum=0.8em space-before.optimum=1em space-before.maximum=1.2em space-after.minimum=0.8em space-after.optimum=1em space-after.maximum=1.2em hyphenate=false background-color=#A5B6C6 font-family=monospace text-align=start wrap-option=un-wrap id=d0e3019 white-space-collapse=false white-space-treatment=preserve linefeed-treatment=preserve Now the content follows. 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? Thanks, Vincent - 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
Hi Karsten, snip/ 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 example 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]
Re: Exception: Some content could not fit into a line/page with fop 0.92beta
Vincent Hennebert wrote: Hi Karsten, snip/ 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 example 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: Exception: Some content could not fit into a line/page with fop 0.92beta
Karsten Ohme wrote: I get this error: java.lang.RuntimeException: Some content could not fit into a line/page ... The location is this: fo:block space-before.minimum=0.8em space-before.optimum=1em space-before.maximum=1.2em space-after.minimum=0.8em space-after.optimum=1em space-after.maximum=1.2em hyphenate=false background-color=#A5B6C6 font-family=monospace text-align=start wrap-option=un-wrap id=d0e3019 white-space-collapse=false white-space-treatment=preserve linefeed-treatment=preserve Now the content follows. 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. I suspect there is a line too long to fit the available horizontal space. J.Pietschmann - 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
J.Pietschmann wrote: Karsten Ohme wrote: I get this error: java.lang.RuntimeException: Some content could not fit into a line/page ... The location is this: fo:block space-before.minimum=0.8em space-before.optimum=1em space-before.maximum=1.2em space-after.minimum=0.8em space-after.optimum=1em space-after.maximum=1.2em hyphenate=false background-color=#A5B6C6 font-family=monospace text-align=start wrap-option=un-wrap id=d0e3019 white-space-collapse=false white-space-treatment=preserve linefeed-treatment=preserve Now the content follows. 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. The content does not fit on the page, it must be continued on the next page. J.Pietschmann - 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]