You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tracked down the issue to what I believe is a missing prefix in the <xsl:template match="d:title" mode="sidebar.titlepage.recto.auto.mode"> template in the epub3/titlepage.templates.xsl stylesheet.
When the formal.object.heading template is called with the object param, the value of object is grabbed from <xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/>.
I've tested modifying the select to use the d prefix and target "ancestor-or-self::d:sidebar[1]".
I've run into an issue where I have the following markup:
which is getting rendered as follows when running the
epub3
stylesheets:I've tracked down the issue to what I believe is a missing prefix in the
<xsl:template match="d:title" mode="sidebar.titlepage.recto.auto.mode">
template in theepub3/titlepage.templates.xsl
stylesheet.When the
formal.object.heading
template is called with theobject
param, the value of object is grabbed from<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/>
.I've tested modifying the
select
to use thed
prefix and target"ancestor-or-self::d:sidebar[1]"
.This successfully produces the markup I expected:
I've confirmed that this appears to be an issue (unless I've misunderstood) with both the
1.79.2
stylesheets available athttps://github.com/docbook/xslt10-stylesheets/releases/download/release/1.79.2/docbook-xsl-1.79.2.zip
and when building with the latest stylesheets in GitHub (I used the Dockerfile in the
buildtools/
directory to build.)The text was updated successfully, but these errors were encountered: