Loading resources/styles/xml_2_html.css +6 −1 Changes for resources/styles/xml_2_html.css: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -1369,12 +1369,17 @@ body.dark #drag-bar:hover { text-align: right; } a { a, span.fig-call { color: var(--primary-color); text-decoration: none; transition: color var(--transition-fast); } label span.fig-call { color: var(--text-primary); } a:hover { color: var(--primary-hover); } Loading xsl/jats/jats2html.xsl +12 −0 Changes for xsl/jats/jats2html.xsl: 12 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -1121,12 +1121,24 @@ <!-- figures --> <xsl:template match="xref[@ref-type='fig']"> <xsl:choose> <xsl:when test="@rid = //table-wrap/@id"> <a> <xsl:attribute name="href"> <xsl:value-of select="concat('#main-', @rid)"/> </xsl:attribute> <xsl:apply-templates select="node()"/> </a> </xsl:when> <xsl:otherwise> <span class="fig-call"> <xsl:attribute name="data-target"> <xsl:value-of select="@rid"/> </xsl:attribute> <xsl:apply-templates/> </span> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="inline-graphic"> Loading xsl/tei/03-tei2html_core.xsl +12 −0 Changes for xsl/tei/03-tei2html_core.xsl: 12 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -829,6 +829,8 @@ </span> </xsl:when> <xsl:when test="@type='fig'"> <xsl:choose> <xsl:when test="substring-after(@target,'#') = //tei:figure[child::tei:table]/@xml:id"> <a> <xsl:attribute name="href"> <xsl:value-of select="concat('#main-', substring-after(@target,'#'))"/> Loading @@ -836,6 +838,16 @@ <xsl:apply-templates/> </a> </xsl:when> <xsl:otherwise> <span class="fig-call"> <xsl:attribute name="data-target"> <xsl:value-of select="substring-after(@target,'#')"/> </xsl:attribute> <xsl:apply-templates/> </span> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="@type='bibl'"> <span class="bib-ref-call"> <xsl:attribute name="data-target"> Loading Loading
resources/styles/xml_2_html.css +6 −1 Changes for resources/styles/xml_2_html.css: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -1369,12 +1369,17 @@ body.dark #drag-bar:hover { text-align: right; } a { a, span.fig-call { color: var(--primary-color); text-decoration: none; transition: color var(--transition-fast); } label span.fig-call { color: var(--text-primary); } a:hover { color: var(--primary-hover); } Loading
xsl/jats/jats2html.xsl +12 −0 Changes for xsl/jats/jats2html.xsl: 12 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -1121,12 +1121,24 @@ <!-- figures --> <xsl:template match="xref[@ref-type='fig']"> <xsl:choose> <xsl:when test="@rid = //table-wrap/@id"> <a> <xsl:attribute name="href"> <xsl:value-of select="concat('#main-', @rid)"/> </xsl:attribute> <xsl:apply-templates select="node()"/> </a> </xsl:when> <xsl:otherwise> <span class="fig-call"> <xsl:attribute name="data-target"> <xsl:value-of select="@rid"/> </xsl:attribute> <xsl:apply-templates/> </span> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="inline-graphic"> Loading
xsl/tei/03-tei2html_core.xsl +12 −0 Changes for xsl/tei/03-tei2html_core.xsl: 12 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -829,6 +829,8 @@ </span> </xsl:when> <xsl:when test="@type='fig'"> <xsl:choose> <xsl:when test="substring-after(@target,'#') = //tei:figure[child::tei:table]/@xml:id"> <a> <xsl:attribute name="href"> <xsl:value-of select="concat('#main-', substring-after(@target,'#'))"/> Loading @@ -836,6 +838,16 @@ <xsl:apply-templates/> </a> </xsl:when> <xsl:otherwise> <span class="fig-call"> <xsl:attribute name="data-target"> <xsl:value-of select="substring-after(@target,'#')"/> </xsl:attribute> <xsl:apply-templates/> </span> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="@type='bibl'"> <span class="bib-ref-call"> <xsl:attribute name="data-target"> Loading