[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Keep-together
Thank you again. After adding your code to my customization layer, my tables are kept together as well as my litterallayouts. How can I allow specific tables to break since "<?dbfo keep-together"auto" ?>" does not seem to work ? Thanks again, Patrick Paul Bob Stayton wrote: > That's because there is no 'literallayout.properties' attribute-set in the > stylesheets. The attribute-set you want is named 'verbatim.properties'. > > Bob Stayton > Sagehill Enterprises > DocBook Consulting > bobs@sagehill.net > > > ----- Original Message ----- > From: "Patrick" <ppatrick@tiscali.fr> > To: <docbook-apps@lists.oasis-open.org> > Sent: Tuesday, November 01, 2005 10:05 AM > Subject: Re: [docbook-apps] Keep-together > > > >>Thank you very much Bob, it seems to work now. >> >>However, I tried the same pice of code for my literallayout and it >>doesn't seem to keep it on one page. >> >><xsl:attribute-set name="literallayout.properties"> >> <xsl:attribute name="keep-together.within-page">always</xsl:attribute> >></xsl:attribute-set> >> >>Patrick >> >>Bob Stayton wrote: >> >>>You aren't doing anything wrong, but it doesn't work as it should for >>>informaltables. There are a number of inconsistencies in how formal, >>>informal, CALS, and HTML tables are handled. I started on a rewrite of > > the > >>>table templates to try to align them, but I have not finished it. >>> >>>In the 1.69.1 stylesheets, you can use this in your customization layer > > to > >>>add a keep to all informaltables: >>> >>><xsl:attribute-set name="informaltable.properties"> >>> <xsl:attribute name="keep-together.within-page">always</xsl:attribute> >>></xsl:attribute-set> >>> >>>Bob Stayton >>>Sagehill Enterprises >>>DocBook Consulting >>>bobs@sagehill.net >>> >>> >>>----- Original Message ----- >>>From: "Patrick" <ppatrick@tiscali.fr> >>>To: <docbook-apps@lists.oasis-open.org> >>>Sent: Tuesday, November 01, 2005 8:47 AM >>>Subject: [docbook-apps] Keep-together >>> >>> >>> >>> >>>>Hello everyone, >>>> >>>>I am using XEP to produce PDF documents from my Docbook XML files. >>>> >>>>1) For some reason my Tables (that is, informaltables) keep breaking. I >>>>have tried inserting <?dbfo keep-together="always" ?> afer my >>>><informaltable> but it doesn't seem to change anything. Is this a XEP >>>>limitation or am I doing something wrong ? >>>> >>>>2) How could I make sure that when I have a <literallayout/> the >>>>contents always stay on the same page ? >>>> >>>>Thank you for you help, >>>> >>>>Patrick Paul
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]