From: <no...@so...> - 2002-02-26 11:00:20
|
Bugs item #522902, was opened at 2002-02-26 02:58 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=373747&aid=522902&group_id=21935 Category: DocBook XSL FO Group: None Status: Open Resolution: None Priority: 5 Submitted By: Sven Kitschke (kicke) Assigned to: Nobody/Anonymous (nobody) Summary: emphasized phrase is generated twice Initial Comment: This applies to xsl 1.49 fo/inline.xsl . There are a unconditional call of the template inline.italicseq and conditional calls to other templates. I assume the unconditional call is a remainder from the older version. <xsl:template match="emphasis"> <!-- HERE <xsl:call-template name="inline.italicseq"/> --> <xsl:choose> <xsl:when test="@role='bold'"> <xsl:call-template name="inline.boldseq"/> </xsl:when> <!-- what about these? <xsl:when test="@role='underline'"> <fo:inline text-decoration="underline"> <xsl:call-template name="inline.charseq"/> </fo:inline> </xsl:when> <xsl:when test="@role='strikethrough'"> <fo:inline text-decoration="line-through"> <xsl:call-template name="inline.charseq"/> </fo:inline> </xsl:when> --> <xsl:otherwise> <xsl:call-template name="inline.italicseq"/> </xsl:otherwise> </xsl:choose> </xsl:template> Nevertheless, it's a great work. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=373747&aid=522902&group_id=21935 |