| From | Sent On | Attachments |
|---|---|---|
| Jeff Powanda | Apr 30, 2007 6:12 pm | |
| Bob Stayton | Apr 30, 2007 11:45 pm | |
| Jeff Powanda | May 1, 2007 10:32 am | |
| Bob Stayton | May 1, 2007 1:05 pm | |
| Jeff Powanda | May 2, 2007 12:08 pm | |
| Jeff Powanda | May 7, 2007 10:39 pm | |
| Jeff Powanda | May 8, 2007 6:56 pm | |
| Bob Stayton | May 8, 2007 7:09 pm | |
| Jeff Powanda | May 17, 2007 11:39 am |
| Subject: | RE: [docbook-apps] table.of.contents.title.page.recto formatting not working | |
|---|---|---|
| From: | Jeff Powanda (jpow...@vocera.com) | |
| Date: | May 1, 2007 10:32:51 am | |
| List: | org.oasis-open.lists.docbook-apps | |
Sorry for not being more specific. The graphic is missing from the FO file.
Regards, Jeff Powanda
-----Original Message----- From: Bob Stayton [mailto:bo...@sagehill.net] Sent: Monday, April 30, 2007 11:46 PM To: Jeff Powanda; docb...@lists.oasis-open.org Subject: Re: [docbook-apps] table.of.contents.title.page.recto formatting not working
Can you be more specific about what "not working" means? Does the expected fo:external-graphic element appear in your FO file? That would indicate whether the problem is with the customization layer or FOP.
Bob Stayton Sagehill Enterprises DocBook Consulting bo...@sagehill.net
----- Original Message ----- From: Jeff Powanda <mailto:jpow...@vocera.com> To: docb...@lists.oasis-open.org Sent: Monday, April 30, 2007 6:13 PM Subject: [docbook-apps] table.of.contents.title.page.recto formatting not working
In my customization layer, I use the following template to format the TOC titlepage for PDF output. It's not working.
The tools I'm using are DocBook XSL 1.72 and FOP 0.93. The same "table.of.contents.titlepage.recto" template worked fine with FOP 0.25. Anyone know what's wrong?
<xsl:template name="table.of.contents.titlepage.recto">
<!-- Insert buckshot graphic at top of TOC title page. -->
<fo:block space-before.optimum="-0.6in" space-before.minimum="-0.6in" space-before.maximum="-0.6in"
space-after.optimum="0.25in" space-after.minimum="0.25in" space-after.maximum="0.25in">
<xsl:attribute name="text-align">right</xsl:attribute>
<fo:external-graphic>
<xsl:attribute name="src">
<xsl:value-of select="$chapter.titlepage.image"/>
</xsl:attribute>
<xsl:attribute name="height">1.271in</xsl:attribute>
<xsl:attribute name="width">2.563in</xsl:attribute>
<xsl:attribute name="content-width">2.563in</xsl:attribute>
</fo:external-graphic>
</fo:block>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="table.of.contents.titlepage.recto.style"
text-align="left"
margin-left="{$title.margin.left}"
font-size="18pt"
font-family="{$title.fontset}"
font-weight="bold"
start-indent="0in">
<!-- Put 4-dots graphic before TOC title. -->
<fo:external-graphic>
<xsl:attribute name="src">
<xsl:value-of select="$title.inline.image"/>
</xsl:attribute>
<xsl:attribute name="content-width">0.25in</xsl:attribute>
<xsl:attribute name="width">0.25in</xsl:attribute>
<xsl:attribute name="height">0.236in</xsl:attribute>
</fo:external-graphic>
<xsl:text> </xsl:text>
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'TableofContents'"/>
</xsl:call-template>
</fo:block>
</xsl:template>
Regards,
Jeff Powanda





