xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <novo...@aei.mpg.de>
Subject Re: [docbook-apps] extra page between cover and chapter with docbook
Date Fri, 04 Jun 2004 09:12:58 GMT

Hi Bob,

    I'm using the following two lines which should be ok, no?

<xsl:import href="@docbook.xsl.base@/fo/docbook.xsl"/>

<!-- Specify title page properties -->
<xsl:include href="titlepage.xsl"/>


    Thanks, Jason

Bob Stayton wrote:

>Hi,
>Are you importing or including the docbook.xsl stylesheet in your
>customization layer?  It must be imported.  The difference permits the
>mechanism of import precedence to allow your new template with that name to
>override the existing one.
>
>Bob Stayton
>Sagehill Enterprises
>DocBook Consulting
>bobs@sagehill.net
>
>
>----- Original Message ----- 
>From: "Jason Novotny" <novotny@aei.mpg.de>
>To: "Bob Stayton" <bobs@sagehill.net>
>Cc: <fop-user@xml.apache.org>; <docbook-apps@lists.oasis-open.org>
>Sent: Thursday, June 03, 2004 3:02 AM
>Subject: Re: [docbook-apps] extra page between cover and chapter with
>docbook
>
>
>  
>
>>Hi Bob,
>>
>>    Thanks-- that worked just fine to get rid of the balnk page.
>>However, I still see the title and copyright on separate pages when I
>>want them both on the same cover page. I've been browsing your great
>>document and I confess it seems a little daunting. I've tried the
>>    
>>
>following:
>  
>
>>Copying docbook-xsl-1.65.1/fo/titlepage.templates.xml  to my
>>    
>>
>titlepage.xml
>  
>
>>running xslt as suggested to create my xsl:
>>
>>xsltproc -output titlepage.xsl docbook-xsl-1.65.1/template/titlepage.xsl
>>titlepage.xml
>>
>>and then including it in my customization file:
>>
>><xsl:include href="titlepage.xsl"/>
>>
>>Now I get:
>>
>> [xslt] : Fatal Error! java.lang.RuntimeException: ElemTemplateElement
>>error: Found more than one template named: book.titlepage.separator
>>Cause: java.lang.RuntimeException: ElemTemplateElement error: Found more
>>than one template named: book.titlepage.separator
>>
>>    Thanks, Jason
>>
>>Bob Stayton wrote:
>>
>>    
>>
>>>There is a workaround for this FOP problem in this message:
>>>
>>>http://lists.oasis-open.org/archives/docbook/200210/msg00122.html
>>>
>>>Bob Stayton
>>>Sagehill Enterprises
>>>DocBook Consulting
>>>bobs@sagehill.net
>>>
>>>
>>>----- Original Message ----- 
>>>From: "Jason Novotny" <novotny@aei.mpg.de>
>>>To: <fop-user@xml.apache.org>; <docbook-apps@lists.oasis-open.org>
>>>Sent: Thursday, June 03, 2004 1:27 AM
>>>Subject: [docbook-apps] extra page between cover and chapter with docbook
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>Hi and sorry for posting a question that is likely asked numerous times
>>>>but i couldn't find it on the FAQ. I'm using the docbook stylesheets and
>>>>after using FOP to render the fop I see my title on one page, the
>>>>copyright info on the very top of the second page and the third page is
>>>>blank. Any idea what I can do to just render the title and copyright on
>>>>the same page and have the TOC start on page? This is my docbook below:
>>>>
>>>><book>
>>>> <title>My Guide</title>
>>>> <bookinfo>
>>>>   <copyright>
>>>>     <year>2003, 2004</year>
>>>>     <holder>My Project</holder>
>>>>   </copyright>
>>>> </bookinfo>
>>>>
>>>><chapter id="intro">
>>>>
>>>>..
>>>>
>>>></>
>>>>
>>>>
>>>>   Thanks very much, Jason
>>>>
>>>>
>>>>To unsubscribe from this list, send a post to
>>>>
>>>>
>>>>        
>>>>
>>>docbook-apps-unsubscribe@lists.oasis-open.org, or visit
>>>http://www.oasis-open.org/mlmanage/.
>>>
>>>
>>>      
>>>
>>>>
>>>>        
>>>>
>>>
>>>
>>>      
>>>
>>
>>    
>>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message