This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] extra page between cover and chapter with docbook



Ok, it should be <xsl:import ../> for both, duh! ;-) However, I have used just the following section for my title.xml (and then create the xsl which is imported):


<t:titlepage t:element="book" t:wrapper="fo:block">
   <t:titlepage-content t:side="recto">
     <title
            t:named-template="division.title"
            param:node="ancestor-or-self::book[1]"
            text-align="center"
            font-size="&hsize5;"
            space-before="&hsize5space;"
            font-weight="bold"
            font-family="{$title.fontset}"/>
     <author font-size="&hsize3;"
             space-before="&hsize2space;"
             keep-with-next="always"/>
       <copyright/>
   </t:titlepage-content>

</t:titlepage>


but I still see the second page which has a horizontal line at the top and the copyright info-- how can I just get rid of this second page as well? Do I need to override <t:titlepage-content t:side="verso"> somehow to not be used? Is this the second page that gets printed?


Thanks, Jason

Jason Novotny wrote:


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



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]