Commit a95a2362 authored by Eva Huet's avatar Eva Huet
Browse files

JATS : fix notes restart / following + ajustements CR

parent 6406d261
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@
                <xsl:if test="../body//fig">
                    <button id="tabtn-figures" class="tab-btn trans" data-key='figures' onclick="openTab('figures')"></button>                    
                </xsl:if>
                <xsl:if test="../back/fn-group">
                <xsl:if test="//fn">
                    <button id="tabtn-footnotes" class="tab-btn trans" data-key='notes' onclick="openTab('footnotes')"></button>
                </xsl:if>
                <button id="tabtn-metas" class="tab-btn" onclick="openTab('metas')">i</button>
@@ -247,7 +247,7 @@

            <div id="footnotes" class="content-tab" style="display:none">
                <ul>
                    <xsl:for-each select="../back//fn">
                    <xsl:for-each select="//fn">
                        <xsl:apply-templates select="."/>
                    </xsl:for-each>
                </ul>
@@ -418,6 +418,12 @@
        </span>
    </xsl:template>

    <xsl:template match="table-wrap-foot/fn-group"/>
    <xsl:template match="boxed-text/fn-group"/>
    <xsl:template match="app/fn-group"/>
    <xsl:template match="app-group/fn-group"/>
    <xsl:template match="table-wrap-foot"/>

    <!--link-->
    <xsl:template match="ext-link[@xlink:href]">
        <a href="{@xlink:href}"><xsl:apply-templates/></a>
@@ -1727,6 +1733,10 @@

    <xsl:template match="p[@content-type='authority_mail']"/>
    <xsl:template match="p[@content-type='authority_biography']"/>
    <xsl:template match="p[@content-type='authority_affiliation']"/>
    <xsl:template match="p[@content-type='authority_biography']"/>
    <xsl:template match="article[@article-type='review']//p[@content-type='author-aut'][not(ancestor::sec[contains(@id,'review')])]"/>
    <xsl:template match="article[@article-type='review']//p[@content-type='authority_affiliation'][not(ancestor::sec[contains(@id,'review')])]"/>

    <!-- annexes -->