Here's the nub of how we're doing it. This is in a template which is handed the values for keeper, bullet-char and I show a trimmed version of the bullet-text macro. (Choose your own font of course, or let it be inherited.)

<fo:list-item margin-left="{$bullet-offset}" keep-with-next="{$keeper}">
          <fo:list-item-label end-indent="label-end()">
<fo:block font-family="ITCStoneSerifCom-Medium" font-weight="normal" font-style="normal">
              <xsl:value-of select="$bullet-char"/>
            </fo:block>
          </fo:list-item-label>
          <xsl:call-template name="bullet-text"/>
        </fo:list-item>

    <xsl:template name="bullet-text">
        <fo:list-item-body start-indent="body-start()">
            <fo:block line-stacking-strategy="font-height" >
                <xsl:value-of select="text()"/>
            </fo:block>
        </fo:list-item-body>
    </xsl:template>


On 10/12/2012 09:11 AM, stan69 wrote:
Hi, I am trying to create a bulleted list like this:
                           <xsl:if test="roleStatement">
                             <fo:list-block>
                               <xsl:for-each select="roleStatement">
                                 <fo:list-item>
                                   <fo:list-item-label>
                                     <fo:block>*</fo:block>
                                   </fo:list-item-label>
                                   <fo:list-item-body>
                                     <fo:block><xsl:value-of
select="."/></fo:block>
                                   </fo:list-item-body>
                                 </fo:list-item>
                               </xsl:for-each>
                             </fo:list-block>
                           </xsl:if>

...but in the resulting PDF the * is overprinted with the body text.  Can
you tell me what I'm doing wrong?
Thanks, Stan



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FO-list-label-being-overprinted-with-list-body-tp37032.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to