xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Readman, Devon" <Devon.Read...@moh.gov.on.ca>
Subject RE: Footnotes on the following page
Date Tue, 03 Feb 2004 13:23:33 GMT
Here is the block of the stylesheet that is used to generate footnotes...it
first tests if the current element has an attribute (id) and if a child
elements exist (name & note...note is the element to be placed in the
footnote):


		<fo:block keep-together="always">      
			<!-- Print out PCG6 title -->
			<xsl:choose>
			<xsl:when test="@id">
				<fo:block id="{@id}" font-size="10pt"
font-weight="bold" padding-bottom="3pt" text-align="left">
					<fo:marker
marker-class-name="group6">
						<xsl:call-template
name="formatPcg6Id">
							<xsl:with-param
name="id" select="@id"/>			
						</xsl:call-template>
						<xsl:if test="name">
							<xsl:value-of
select="name"/>
							
							<xsl:if test="note">
	
<fo:footnote>
	
<fo:inline font-size="6pt" vertical-align="super">*</fo:inline>
	
<fo:footnote-body>
	
<fo:block font-size="8pt">
	
*<xsl:value-of select="note"/>
	
</fo:block>
	
</fo:footnote-body>
	
</fo:footnote>
							</xsl:if>

							
						</xsl:if>
					</fo:marker>
				</fo:block>
			</xsl:when>
			<xsl:otherwise>
				<fo:block>
				<fo:marker marker-class-name="group6">
					<xsl:text
disable-output-escaping="yes">&#160;</xsl:text>				
				</fo:marker>
				</fo:block>
			</xsl:otherwise>
			</xsl:choose>

			<xsl:apply-templates select="genericName"/>
		</fo:block>
-----Original Message-----
From: Chris Bowditch [mailto:bowditch_chris@hotmail.com]
Sent: Tuesday, February 03, 2004 5:41 AM
To: fop-user@xml.apache.org
Subject: Re: Footnotes on the following page


Readman, Devon wrote:

> My footnotes always appear on the following page where the footnote
> reference is inserted in the pdf document. Has anyone seen this before?

Can you provide a little more information please. What version of FOP 
are you using? And a small snippet of your FO would be helpful too.

Chris



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

---------------------------------------------------------------------
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