Skip to content

Commit

Permalink
Use subtitle attribute set for titlealt
Browse files Browse the repository at this point in the history
  • Loading branch information
jelovirt committed Jan 1, 2024
1 parent d7edfc7 commit dc4ee46
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/generator/com/elovirta/pdf/front-matter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
<!-- </axsl:choose>-->
</fo:block>
<!-- set the subtitle -->
<fo:block axsl:use-attribute-sets="__frontmatter__titlealt">
<axsl:apply-templates select="$map//*[contains(@class,' bookmap/booktitlealt ')]"/>
</fo:block>
<axsl:apply-templates select="$map//*[contains(@class,' bookmap/booktitlealt ')]"/>
<!-- <fo:block axsl:use-attribute-sets="__frontmatter__owner">-->
<!-- <axsl:apply-templates select="$map//*[contains(@class,' bookmap/bookmeta ')]"/>-->
<!-- </fo:block>-->
<!-- cover image -->
<fo:block axsl:use-attribute-sets="image__block">
<axsl:call-template name="e:cover-image"/>
Expand Down Expand Up @@ -83,7 +84,7 @@
<xsl:with-param name="prefix" select="'style-cover-title'"/>
</xsl:call-template>
</axsl:attribute-set>
<axsl:attribute-set name="__frontmatter__titlealt">
<axsl:attribute-set name="__frontmatter__subtitle">
<xsl:call-template name="generate-attribute-set">
<xsl:with-param name="prefix" select="'style-cover-titlealt'"/>
</xsl:call-template>
Expand Down

0 comments on commit dc4ee46

Please sign in to comment.