EpiDoc / EFES

EFES (EpiDoc Front End Services) is a custom and readily customizable platform for publication and search/indexing of EpiDoc files, based on the Kiln platform
Apache License 2.0
31 stars 38 forks source link

External links #48

Closed SigiDoc closed 2 years ago

SigiDoc commented 5 years ago

It doesn't seem possible to add external links to the metadata and to the commentary.

gabrielbodard commented 5 years ago

This is an EpiDoc XSLT issue, not specific to EFES. You can either customize your local XSLT in the ROOT/stylesheets/epidoc directory, or open a ticket over at EpiDoc Sourceforge proposing that handing for <ref> be added to the stylesheets there.

SigiDoc commented 4 years ago

By adding this code to htm-tpl-struct-sigidoc.xsl we managed to add external (and internal) links both to metadata and commentary.

`

<a>
  <xsl:attribute name="href">
    <xsl:value-of select="@target"/>
  </xsl:attribute>
  <xsl:attribute name="target">_blank</xsl:attribute>
  <xsl:apply-templates/>
</a>

</xsl:template>`

gabrielbodard commented 2 years ago

We think this is both an EpiDoc Stylesheets issue, and fixed.