← Prev in month ← Prev in thread

Re: [docbook-apps] A simple question - Not working

From
"Cob Rtayton"
Date
2008-08-04T16:43:38+00:00
ID
006401c8f651$33899e60$6a00a8c0@pazu
Thread
Re: [docbook-apps] A simple question - Not working
Are you using DocBook 5?  If so, then element names in the XSL need to have 
a namespace prefix.

If you aren't using  DocBook 5, is the bibliography inside an article or 
section element?

Bob Stayton
Sagehill Enterprises


----- Original Message ----- 
From: "Pedro Pastor" <>
To: "Bob Stayton" <>
Cc: <>; <>
Sent: Thursday, July 31, 2008 8:10 AM
Subject: Re: [docbook-apps] A simple question - Not working

Sorry Bob for pestering you but I sent my previous reply before testing
your code (which I was sure was going to work).

I have included your code "as it is" in my customization XSL and I have
obtained exactly the same result as before (before inserting your code):
no page brake before <bibliography> element.

Any suggestion?

Regards,
Pedro

Bob Stayton escribió:
> I presume you mean a bibliography inside an article or section, as a 
> bibliography inside a book or part has its own page-sequence and so 
> automatically starts on a new page.
>
> This template added to a customization layer will work for bibliography:
>
> <xsl:template match="article/bibliography | section/bibliography">
>  <fo:block break-after="page"/>
>  <xsl:apply-imports/>
> </xsl:template>
>
> It inserts a page break block, and then applies the stock template for 
> processing the bibliography using xsl:apply-imports.
>
> Bob Stayton
> Sagehill Enterprises
> 
>
>
> ----- Original Message ----- From: "Pedro Pastor" <>
> To: <>; <>
> Sent: Friday, July 25, 2008 5:37 PM
> Subject: [docbook-apps] A simple question
>
>
> Sorry if this a naïve question, but I've been looking up at Bob's book
> and I couldn't find the answer.
>
> How could I control to print the "special" sections like Bibliogrphy,
> TOC... and the like in a new page. I mean, I'd like to have and
> automatic "page-brake" before those "blocks". I've found the way to do
> it for the different "section" levels but not for the former mentioned 
> ones.
>
> Regards,
> Pedro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: 
← Prev in month ← Prev in thread