Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
implemented inline graphics, dummy implementation for references.
  • Loading branch information
EsGeh authored and EsGeh committed Mar 25, 2019
1 parent a38cbb2 commit dabe858
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tei2html_utils/html_rules.xsl
Expand Up @@ -387,6 +387,32 @@
<xsl:value-of select="concat('$', ., '$')"/>
</xsl:template>

<xsl:template match="tei:graphic" mode="html">
<xsl:message>inline graphic</xsl:message>
<img src="{@url}">(missing pic)</img>
</xsl:template>

<xsl:template match="tei:note[@place = 'bottom']" mode="html">
<a href="#fn{@n}">
<sup>
<xsl:value-of select="@n"/>
</sup>
</a>
</xsl:template>

<xsl:template match="tei:bibl" mode="html">
<xsl:message>WARNING: bibliographic reference dummy implementation</xsl:message>
(reference to bibl.)
</xsl:template>

<xsl:template match="tei:ref" mode="html">
<xsl:message>WARNING: internal reference dummy implementation</xsl:message>
(internal reference)
</xsl:template>

<!-- index elements should not be printed in the text. They are invisible markers from which to generate the index-->
<xsl:template match="tei:index" mode="html"/>

<!--
<xsl:template match="//tei:div[not(@type='chapter' or @type='part')]/tei:head" mode="document-structure">
<xsl:choose>
Expand Down

0 comments on commit dabe858

Please sign in to comment.