OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


Thanks you very much, Bob for your help.

I'm using DocBook 4, BUT I'm using the namespace aware version of the 
DocBook-XSL. That's the reason it didn't work (Sorry). Adding the 
namespace prefix to your code, it works perfect.

Best regards.
Pedro


Bob Stayton escribiˇ:
> 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
> bobs@sagehill.net
>
>
> ----- Original Message ----- From: "Pedro Pastor" <pps@dlsi.ua.es>
> To: "Bob Stayton" <bobs@sagehill.net>
> Cc: <docbook-apps@lists.oasis-open.org>; <pps@ua.es>
> 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
>> bobs@sagehill.net
>>
>>
>> ----- Original Message ----- From: "Pedro Pastor" <pps@dlsi.ua.es>
>> To: <docbook-apps@lists.oasis-open.org>; <pps@ua.es>
>> 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: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]