This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] any idea why a <qandaset> would be forced to the next page
- From: Bob Stayton <bobs at sco dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>
- Cc: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 8 May 2003 11:29:53 -0700
- Subject: Re: [docbook-apps] any idea why a <qandaset> would be forced to the next page
- References: <20030508102449.C15009@sco.com> <Pine.LNX.4.44.0305081347470.4405-100000@dell>
On Thu, May 08, 2003 at 01:52:30PM -0400, Robert P. J. Day wrote:
> On Thu, 8 May 2003, Bob Stayton wrote:
>
> > On Thu, May 08, 2003 at 11:17:22AM -0400, Robert P. J. Day wrote:
> > >
> > > as part of a sample markup document, i have a *very* simple
> > > <qandaset>, after an introductory sentence, but when i generate
> > > the PDF (xsltproc -> fop), the entire qandaset is being forced
> > > to the next page.
> > >
> > > certainly, nothing i read in the semantics for qandaset suggests
> > > this should happen.
> > >
> > > any advice?
> >
> > I can't seem to duplicate this problem.
> > Can you post a short sample file that illustrates it?
>
> all right, i tracked it down and it's confusing. all i did was remove
>
> <xsl:attribute-set name="section.title.level1.properties">
> <xsl:attribute name="break-before">page</xsl:attribute>
> </xsl:attribute-set>
> ----- below was removed ------
> <xsl:attribute-set name="section.title.level2.properties">
> <xsl:attribute name="break-before">page</xsl:attribute>
> </xsl:attribute-set>
>
>
> my <qandaset> is directly within a top-level section (inside a chapter),
> so (as i interpret it, i might be way off base), that section would be
> considered a level one and, somehow, the title on my <qandaset> is being
> interpreted as s level-two section, and a pagebreak is being inserted.
>
> does the section.title.level2.properties attribute apply to <qandaset>
> titles as well? that would come as a real shock, since that's not
> how i read it.
Bingo. The template for qandaset titles calls the 'section.heading'
template. It uses a level one down from the current section level,
as you found out. You'll have to customize that to fix it.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org