Commit 5dfc3ba3 authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

#717 missing inline images

parent 2a80808b
Pipeline #12550 passed with stages
in 46 seconds
......@@ -2527,6 +2527,14 @@
</xsl:choose>
</xsl:variable> [inline-graphic-<xsl:value-of select="@xlink:href"/>-<xsl:value-of select="$ig-variant"/>] </xsl:template>
<xsl:template match="inline-graphic" mode="testing">
<xsl:variable name="filename" select="substring-before(concat(@xlink:href, '.'), '.')"/>
<xsl:variable name="graphics" select="substring-before(substring-after($filelist, concat($filename,':')), ';')"/>
<a href="{$graphics}" target="_blank" class="figure-expand" title="Click to open full size">
<img data-img="[graphic-{$filename}-medium]" src="{$graphics}" alt="inline image"/>
</a>
</xsl:template>
<xsl:template name="appendices-main-text">
<xsl:apply-templates select="//back/app-group/app" mode="testing"/>
</xsl:template>
......
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