Skip to content

epub transformation fails (in OxGarage) due to missing file "epub-print.css" #555

@peterstadler

Description

@peterstadler

As reported on TEI-L, OxGarage fails to transform TEI -> ePub. The OxGarage error message is clear:

Error at char 23 in xsl:for-each/@select on line 222 column 86 of tei-to-epub.xsl:
FOUT1170: Failed to read input file: /usr/share/xml/tei/stylesheet/css/epub-print.css (No
such file or directory)

I thought this was already fixed by #394 but apparently only for epub3?! So I think a simple fix would be to have the relative links at

<xsl:param name="cssFile">../css/tei.css</xsl:param>
<xsl:param name="cssODDFile">../css/odd.css</xsl:param>
<xsl:param name="cssPrintFile">../css/epub-print.css</xsl:param>

point at (absolute) URLs.

For the record see also #412, but IMHO that should not stop us from applying the proposed "hack".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions