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

fix lien appel / figure

parent 28361d6e
Loading
Loading
Loading
Loading
+11 −0
Changes for xsl/jats/jats2html.xsl: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1118,6 +1118,17 @@
        </section>
    </xsl:template>

        <!-- figures -->

    <xsl:template match="xref[@ref-type='fig']">
        <a>
            <xsl:attribute name="href">
                <xsl:value-of select="concat('#main-', @rid)"/>
            </xsl:attribute>
            <xsl:apply-templates select="node()"/>
        </a>
    </xsl:template>

    <xsl:template match="inline-graphic">
        <a class="img" rel="fancyboxgallery" href="{substring-after(@xlink:href, 'data/')}">
            <img class="img" src="{substring-after(@xlink:href, 'data/')}"/>
+8 −0
Changes for xsl/tei/03-tei2html_core.xsl: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -828,6 +828,14 @@
                    </a>
                </span>
            </xsl:when>
            <xsl:when test="@type='fig'">
                <a>
                    <xsl:attribute name="href">
                        <xsl:value-of select="concat('#main-', substring-after(@target,'#'))"/>
                    </xsl:attribute>
                    <xsl:apply-templates/>
                </a>
            </xsl:when>
            <xsl:when test="@type='bibl'">
                <span class="bib-ref-call">
                    <xsl:attribute name="data-target">