Re: Fop 0.94 (Docbook and tables)

2007-12-21 Thread Andreas L Delmelle

On Dec 21, 2007, at 10:31, <[EMAIL PROTECTED]> wrote:

Hi

I am trying to upgrade from fop 0.20.5 to 0.94 and  in conjunction  
with DocBook (1.70.1)  found out that there is a irritating change  
in operations regarding table processing.


When processing tables they:

1 Don´t cross pages (e.g if a table doesn´t fit on the current page  
it is rendered on the the next page) and


Can you check the resulting FO, and whether it uses the 'keep- 
together' property on the table? If so, this will somehow have to be  
removed. No precise idea on how to achieve that, but it should be a  
matter of adding a customization to the Docbook stylesheet.




2 If a table is "too large" to fit a page it will get corrupted  
(with an error message: "WARNING: Content of the region-body on  
page n overflows the available area in block-progression dimension.  
(fo:page-sequence, no context info available)")


What do you mean exactly by 'corrupted'? FOP 0.94 interprets keep- 
values of "always" literally as "without exception", or "if the  
content does not fit, it will be clipped".
Chained 'keep-with-next' and 'keep-with-previous' on the rows will  
have the same effect: FOP will try to keep the whole table together  
on a single page.


Your best bet is to remove the keep-*="always" properties from being  
added.


HTH!


Cheers

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



Re: hyphenation-character doesn't appear in pdf

2007-12-21 Thread Andreas L Delmelle

On Dec 21, 2007, at 09:16, Jeremias Maerki wrote:

Hi


Right, as soon as you enable white-space-treatment="preserve" the
hyphenation-character is just ignored. Otherwise, the hyphenation
character works fine. Can you please open an issue in Bugzilla and add
your files there? We'll have to look into this.
http://issues.apache.org/bugzilla/


Filing a bug is not necessary. Vincent recently added this issue to  
an open Bugzilla entry that already indicates there are still  
problems with hyphenation in combination with preserved linefeeds/ 
white-space.


see: http://issues.apache.org/bugzilla/show_bug.cgi?id=38264



Unfortunately, I could not come up with a work-around.

On 20.12.2007 21:37:19 Xuan Ngo wrote:



  wrap
  \



Maybe it's possible to tweak/customize one of the above referenced  
attribute set(s), so it does not generate a white-space- 
treatment="preserve" in the result.
That is: if you really don't need preserved white-space around  
linefeeds.



Best browse around on the Docbook site, or ask on the Docbook list,  
unless there's a guru hanging out here that can tell you how.




Cheers

Andreas

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



Re: IndexOutOfBoundsException when creating pdf

2007-12-21 Thread Bjoern



Jeremias Maerki-2 wrote:
> 
> We're still waiting for a (preferably short) FO file that demonstrates
> the problem. Otherwise, there's nothing we can do.
> 

Well, *short* seems to be a problem. I'll try to create a short FO-file if
it occurs again.

Greetings Bjoern
-- 
View this message in context: 
http://www.nabble.com/IndexOutOfBoundsException-when-creating-pdf-tp14315456p14456937.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



Fop 0.94 (Docbook and tables)

2007-12-21 Thread lars.bjerges
Hi
I am trying to upgrade from fop 0.20.5 to 0.94 and  in conjunction with DocBook 
(1.70.1)  found out that there is a irritating change in operations regarding 
table processing.
 
When processing tables they:
 
1 Don´t cross pages (e.g if a table doesn´t fit on the current page it is 
rendered on the the next page) and
 
2 If a table is "too large" to fit a page it will get corrupted (with an error 
message: "WARNING: Content of the region-body on page n overflows the available 
area in block-progression dimension. (fo:page-sequence, no context info 
available)")
 
I looked on outstanding errors on Fop´s homepage  and it seems to be a FOP 0.94 
 shortcoming, but anyway:
 
Does somebody have a way of circumwent this behaviour in any way?
 
Regards  
 
Lars Bjerges

 
Swedbank AB (publ)

105 34 Stockholm

Telefon: +46 (0)8 58 59 43 45

Mobil: +46 (0)70 95 27 774

Email:[EMAIL PROTECTED]

www.swedbank.se  

 

Vi ber dig lägga märke till att detta e-postmeddelande kan innehålla 
konfidentiell information. Om du felaktigt blivit mottagare av detta meddelande 
ber vi dig informera avsändaren om felet genom att använda svara-funktionen. Vi 
ber dig också att radera e-postmeddelandet utan att skicka det vidare eller 
kopiera det. Trots att vi intygar att e-postmeddelandet och eventuella bilagor 
inte innehåller virus och andra fel som kan påverka datorn eller IT-systemet 
där det mottages och läses, öppnas det på mottagarens eget ansvar. Vi tar inte 
på oss något ansvar för förlust eller skada, som har uppstått i samband med att 
e-postmeddelandet mottagits och använts.

_

 

Please note that this message may contain confidential information. If you have 
received this message by mistake, please inform the sender of the mistake by 
sending a reply, then delete the message from your system without making, 
distributing or retaining any copies of it. Although we believe that the 
message and any attachment are free from viruses and other errors that might 
affect the computer or IT system where it is received and read, the recipient 
opens the message at his or her own risk. We assume no responsibility for any 
loss or damage arising from the receipt or use of this message.

 
 


Re: hyphenation-character doesn't appear in pdf

2007-12-21 Thread Jeremias Maerki
Right, as soon as you enable white-space-treatment="preserve" the
hyphenation-character is just ignored. Otherwise, the hyphenation
character works fine. Can you please open an issue in Bugzilla and add
your files there? We'll have to look into this.
http://issues.apache.org/bugzilla/

Unfortunately, I could not come up with a work-around.

On 20.12.2007 21:37:19 Xuan Ngo wrote:
> I tried to change the hyphenation-character with a backslash in 
>  tag but it is not
> appearing in the pdf output. However, long line in pdf are broken down to 
> multiple lines.
> Can some1 tell me what is wrong with my customization layer?
> I'm using Docbook 1.73.2 and FOP v0.94.
> 
> Here is my customization layer:
> 
> 
>  use-attribute-sets="verbatim.properties monospace.properties">
>   wrap
>   \
> 
> 
> I also attach all required files in case that they are needed.
> 
> thx!
> 



Jeremias Maerki


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