forked from kcl-ddh/kiln
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering of symbols #63
Labels
Comments
IreneVagionakis
pushed a commit
that referenced
this issue
Feb 26, 2022
The current templates in teig.xsl are not handling symbols as expected; see #63
Is anyone aware of a nicer way to write this |
I would try the following approaches:
teig.xsl should probably be reworked regardless so that $chardecl is not evaluated on every instance of tei:g! |
olvidalo
pushed a commit
to SigiDoc/Stylesheets
that referenced
this issue
Jun 19, 2023
The current templates in teig.xsl are not handling symbols as expected; see EpiDoc/EFES#63
olvidalo
pushed a commit
to SigiDoc/Stylesheets
that referenced
this issue
Jun 19, 2023
The current templates in teig.xsl are not handling symbols as expected; see EpiDoc/EFES#63
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 tocharDecl.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?
The text was updated successfully, but these errors were encountered: