Commit 30f31ece authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files
parent 21871bcf
Pipeline #12816 passed with stages
in 5 minutes and 35 seconds
......@@ -193,7 +193,17 @@
</xsl:template>
<xsl:template match="back">
<xsl:apply-templates/>
<xsl:apply-templates select="ack"/>
<xsl:if test="not(ack)">
<xsl:apply-templates select="//author-notes"/>
<xsl:if test="not(fn-group/fn[@fn-type = 'con']) and not(//author-notes)">
<xsl:apply-templates select="//contrib[@equal-contrib = 'yes'][1]" mode="equal"/>
</xsl:if>
<xsl:if test="//contrib/email and not(//author-notes)">
<xsl:call-template name="list-emails"/>
</xsl:if>
</xsl:if>
<xsl:apply-templates select="*[not(self::ack)]"/>
</xsl:template>
<xsl:template match="front">
......@@ -1945,7 +1955,7 @@
<!-- author-notes -->
<xsl:template match="author-notes">
<xsl:if test="fn[not(@fn-type)] | fn[(@fn-type != 'con' and @fn-type != 'equal' and @fn-type != 'present-address')] | p | corresp">
<xsl:if test="fn[(@fn-type != 'con' and @fn-type != 'equal' and @fn-type != 'present-address')] | p | corresp">
<h2 id="author-notes">Author Information</h2>
<xsl:apply-templates select="p | corresp"/>
<xsl:call-template name="list-emails"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment