[publican-list] [Bug 473019] HTML: Author_Group "<orgname>" merged between "<surname>" and "<surname>"

bugzilla at redhat.com bugzilla at redhat.com
Sun Nov 30 22:48:40 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=473019





--- Comment #3 from Jeff Fearn <jfearn at redhat.com>  2008-11-30 17:48:39 EDT ---
This is a bug in the non-customised XSL and is therefore not a bug in Publican.

You should transfer this bug to the appropriate Fedora component or open a bug
upstream.

Below is my discussion of the problem that has been introduced in to the common
XSL, hopeful this will help the package maintainers resolve this issue for you.

This issue is caused by a change to
/usr/share/sgml/docbook/xsl-stylesheets-1.74.0/common/common.xsl

Line 577 reads:

  <xsl:if test="$node//orgname">
    <xsl:if test="$node//honorific or $node//firstname
                  or ($node//othername and $author.othername.in.middle != 0)">
      <xsl:text> </xsl:text>
    </xsl:if>
    <xsl:apply-templates select="$node//orgname[1]"/>
  </xsl:if>

The solution, IMHO, is to get a variable, which defaults off, added to that if
statement.

e.g.

in params.xsl:

<xsl:param name="weird.use.of.orgname" select="0"/>

in common.xsl:

<xsl:if test="$node//orgname and $weird.use.of.orgname != 0">

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list