List Info

Thread: Re: Table not breaking across page




Re: Table not breaking across page
user name
2007-08-03 12:11:02
ic....Aaargh!

Another problem I saw was, when the table does neatly break across, the heading row does not repeat. In addition, the first row in the new page does not have the top-border - looks like its cut off!

Any solutions for this?

Bob Stayton <bobssagehill.net> wrote:
Now that you have found it in the fo file, you might try figuring out where it is coming from in the XSL templates so you don't have to fix up the FO file each time. ; You can sometimes tell from the other attributes with it, and then look for an attribute-set that has those.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
sagehill.net">bobssagehill.net
 
 
----- Original Message -----
Sent: Friday, August 03, 2007 7:45 AM
Subject: Re: [docbook-apps] Table not breaking across page

Bob,

You are absolutely right! This was what was happening. I went to my fo file and changed it to auto. It works. Thank you Bob...once again!

But this sure is a pesky workaround, esp since the fo file is big and its rather slow in scrolling. But what a small matter compared to the universe! I'll survive!

Regards,
Dishaa

Bob Stayton < bobssagehill.net">bobssagehill.net> wrote:
It sounds like there is still a keep-together.within-column="always" property on the table or a block containing the table, and FOP 0.93 doesn't always handle those properly.&nbsp; You might take a peek inside your fo file to see if such a property is there.&nbsp; Its position might give you a clue as to where it is being added.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobssagehill.net">bobssagehill.net
 
 
----- Original Message -----
Sent: Monday, July 30, 2007 7:57 AM
Subject: [docbook-apps] Table not breaking across page

Dear Users,

I am having an issue with a large table that I need to create. The table has about 89 odd rows and though I am able to create it with no issues, when I look at the PDF output, the result looks bad. It looks to me like the table is trying to fit on the same page and as a result rows are all getting printed on top of each other.

As mentioned in Bob's book, I have even tried making the table flow to the next page by using DBFO Kep-together ="auto" as shown below. But in this case, it is somehow not taking it:

...&lt;para>This section lists different attributes and the values for those attributes along with description.</para>
  <para&gt;<table frame="all">
 ; &nbsp; &nbsp; <title&gt;Attribute - Tax Group</title>
&lt;?dbfo keep-together="auto" ?> ; &nbsp; &nbsp;
<tgroup cols="2" id="one"&gt;
...

Kindly assist me by pointing me in the right direction to make long tables break across pages without any issues.

Additional info: I am using 1.72.0 ver of Docbook XSL, Fop0.93 and Sytenxt Serna.

Thanks in advance,
Dishaa


Dishaa Ganapathy 
Princeton, NJ
Tel: 678-925-2072|Email:
yahoo.com">dishaagyahoo.com
"The real voyage of discovery consists not in seeking new landscapes, but in having new eyes."&nbsp; - Marcel Proust

Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.



Dishaa Ganapathy 
Princeton, NJ
Tel: 678-925-2072|Email:
yahoo.com">dishaagyahoo.com
"The real voyage of discovery consists not in seeking new landscapes, but in having new eyes."&nbsp; - Marcel Proust

Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.



Dishaa Ganapathy 
Princeton, NJ
Tel: 678-925-2072|Email:
yahoo.com">dishaagyahoo.com
"The real voyage of discovery consists not in seeking new landscapes, but in having new eyes."&nbsp; - Marcel Proust

&#32;


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
Re: Table not breaking across page
user name
2007-08-03 12:28:33
FYI - I have seen this behaviour also (where a table that is
broken
across pages loses its headers and the rule at the top of
the new
page).  I hadn't gotten around to trying to narrow it down
to something
I'm doing or not.

- dfp

--- Dishaa <dishaagyahoo.com> wrote:

> ic....Aaargh! 
> 
> Another problem I saw was, when the table does neatly
break across,
> the heading row does not repeat. In addition, the first
row in the
> new page does not have the top-border - looks like its
cut off!
> 
> Any solutions for this?
> 
> Bob Stayton <bobssagehill.net> wrote:    
Now that you have found it
> in the fo file, you  might try figuring out where it is
coming from
> in the XSL templates so you don't  have to fix up the
FO file each
> time.  You can sometimes tell from the  other
attributes with it, and
> then look for an attribute-set that has  those.
>   
>  Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobssagehill.net
>   
>   
>     ----- Original Message ----- 
>    From:    Dishaa 
>    To: Bob Stayton ; docbook-appslists.oasis-open.org    
>    Sent: Friday, August 03, 2007 7:45    AM
>    Subject: Re: [docbook-apps] Table not    breaking
across page
>    
> 
> Bob,
> 
> You are absolutely right! This was what was   
happening. I went to
> my fo file and changed it to auto. It works. Thank you 
  Bob...once
> again!
> 
> But this sure is a pesky workaround, esp since the fo  
 file is big
> and its rather slow in scrolling. But what a small
matter compared   
> to the universe! I'll survive!
> 
> Regards,
> Dishaa
> 
> Bob    Stayton <bobssagehill.net> wrote:    
              It sounds
> like there is still a     
keep-together.within-column="always"
> property on the table or a block      containing the
table, and FOP
> 0.93 doesn't always handle those      properly.  You
might take a
> peek inside your fo file to see if such a      property
is there. 
> Its position might give you a clue as to where it     
is being
> added.
>       
>      Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobssagehill.net
>       
>       
>             -----        Original Message ----- 
>        From:        Dishaa        
>        To:        docbook-appslists.oasis-open.org       

>        Sent:        Monday, July 30, 2007 7:57 AM
>        Subject:        [docbook-apps] Table not
breaking across page
>        
> 
> Dear Users,
> 
> I am having an issue with a large table        that I
need to create.
> The table has about 89 odd rows and though I am       
able to create
> it with no issues, when I look at the PDF output, the  
     result
> looks bad. It looks to me like the table is trying to
fit on the     
>   same page and as a result rows are all getting
printed on top of
> each        other.
> 
> As mentioned in Bob's book, I have even tried making
the        table
> flow to the next page by using DBFO Kep-together
="auto" as shown    
>    below. But in this case, it is somehow not taking   
    it:
> 
> ...<para>This section lists different attributes
and the       
> values for those attributes along with
description.</para>
>          <para><table
frame="all">
>              <title>Attribute - Tax
Group</title>
> <?dbfo        keep-together="auto" ?>  
   
> <tgroup        cols="2"
id="one">
> ...
> 
> Kindly assist me by pointing me in the        right
direction to make
> long tables break across pages without any       
issues.
> 
> Additional info: I am using 1.72.0 ver of Docbook XSL, 
      Fop0.93
> and Sytenxt Serna.
> 
> Thanks in advance,
> Dishaa
> 
> 
>        Dishaa Ganapathy 
> Princeton, NJ
> Tel: 678-925-2072|Email:        dishaagyahoo.com
>        "The real        voyage of discovery
consists not in seeking
> new landscapes, but in having        new eyes."  -
Marcel Proust
>        
>        
> ---------------------------------
>        Sick sense of humor? Visit Yahoo! TV's Comedy   
    with an
> Edge to see what's on, when.  
> 
> 
>    Dishaa Ganapathy 
> Princeton, NJ
> Tel: 678-925-2072|Email: dishaagyahoo.com
>    "The real voyage    of discovery consists not
in seeking new
> landscapes, but in having new    eyes."  - Marcel
Proust
>       
> 
> ---------------------------------
>    Be a better Globetrotter. Get    better travel
answers from
> someone who knows.
> Yahoo! Answers - Check it    out. 
> 
> 
> Dishaa Ganapathy 
> Princeton, NJ
> Tel: 678-925-2072|Email: dishaagyahoo.com
>     "The real voyage of discovery consists not in
seeking new
> landscapes, but in having new eyes."  - Marcel
Proust
> 
>        
> ---------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in
your pocket:
> mail, news, photos & more. 



       
____________________________________________________________
________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: Table not breaking across page
user name
2007-08-03 13:52:54
Dishaa wrote:

> Another problem I saw was, when the table does neatly
break across,
> the heading row does not repeat. 

Do you have thead element in your DocBook table? Only table
header is
repeated on the new page.

> In addition, the first row in the
> new page does not have the top-border - looks like its
cut off!

It's default FO behaviour, you can change it by using the
following code
in your customization layer:

<xsl:attribute-set
name="table.table.properties">
  <xsl:attribute
name="border-before-width.conditionality">retai
n</xsl:attribute>
</xsl:attribute-set>


-- 
------------------------------------------------------------
------
  Jirka Kosek      e-mail: jirkakosek.cz      http://xmlguru.cz
------------------------------------------------------------
------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document
processing
------------------------------------------------------------
------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34
member
------------------------------------------------------------
------

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )