Skip to content

Rendering of symbols #63

@IreneVagionakis

Description

@IreneVagionakis

Since the inclusion in EFES of the latest version of the EpiDoc Stylesheets, symbols are not displayed correctly anymore (and in some cases their presence prevents the inscriptions from being displayed: see iospe-5.238). The problem seems to be in webapps/ROOT/kiln/stylesheets/epidoc/teig.xsl at lines 59 and 101, whose paths to charDecl.xml and to a custom CharDecl are not processed correctly.

Everything works by replacing

<xsl:variable name="chardecl" select="if (//t:charDecl) then //t:charDecl else doc('charDecl.xml')"/>
with
<xsl:variable name="chardecl" select="if (//t:charDecl) then //t:charDecl else doc(concat('file:',system-property('user.dir'),'/webapps/ROOT/kiln/stylesheets/epidoc/charDecl.xml'))"/>

and

<xsl:variable name="externalCharDecl" select="substring-before($parsedRef, '#')"/>
with
<xsl:variable name="externalCharDecl" select="concat('file:',system-property('user.dir'),'/webapps/ROOT/content/xml/authority/', substring-before($parsedRef, '#'))"/>

but this solution is not good since it would only work inside EFES and since I imagine there is a prettier way to specify these paths. @ajenhl and @gabrielbodard, any suggestions?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions