Skip to content

Commit

Permalink
Bibliography duplicate warning fixing, #407
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Apr 15, 2024
1 parent 74d1b44 commit 0a6fdc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/resources/sts2mn.adoc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5588,7 +5588,12 @@
<xsl:value-of select="translate($std-ref_, '&#x2011;', '-')"/>
</xsl:variable>
<xsl:if test="count($refs/ref[normalize-space(@referenceText) != '' and @referenceText = normalize-space($std-ref)]) &gt; 1">
<xsl:message>WARNING: Repeated reference - <xsl:copy-of select="."/></xsl:message>
<xsl:choose>
<xsl:when test="std/title"></xsl:when>
<xsl:otherwise>
<xsl:message>WARNING: Repeated reference - <xsl:copy-of select="."/></xsl:message>
</xsl:otherwise>
</xsl:choose>
</xsl:if>

</xsl:template> <!-- ref -->
Expand Down

0 comments on commit 0a6fdc8

Please sign in to comment.