Skip to content

Commit

Permalink
Merge pull request #110 from figure002/add-cover-titlealt
Browse files Browse the repository at this point in the history
Add possibility to style the cover titlealt
  • Loading branch information
jelovirt authored Jan 1, 2024
2 parents 21299ce + dc4ee46 commit 6edf989
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/generator/com/elovirta/pdf/front-matter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@
<xsl:with-param name="prefix" select="'style-cover-title'"/>
</xsl:call-template>
</axsl:attribute-set>
<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>
</axsl:attribute-set>
</axsl:stylesheet>
</xsl:template>

</xsl:stylesheet>
</xsl:stylesheet>
10 changes: 10 additions & 0 deletions src/main/resources/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,16 @@
"$ref": "#/$defs/content-type"
}
]
},
"titlealt": {
"allOf": [
{
"$ref": "#/$defs/block-style-type"
},
{
"$ref": "#/$defs/content-type"
}
]
}
}
},
Expand Down

0 comments on commit 6edf989

Please sign in to comment.