Skip to content

Commit

Permalink
OASIS format finetuning
Browse files Browse the repository at this point in the history
Reintroduced uppercasing via <glossterm> into the 0.8 (current) Docbook stylesheets
  • Loading branch information
DavidFatDavidF committed Sep 7, 2023
1 parent 8836674 commit 1c9037b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dmlex-v1.0/specification/stylesheets/oasis-specification-fo-a4.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,17 @@
border-before-style="solid" border-before-width="1pt"/>
<xsl:apply-imports/>
</xsl:template>

<!-- Uppercasing normative keywords via <glossterm> -->

<xsl:template match="glossterm">

<fo:inline font-style="normal" font-weight="normal">
<xsl:value-of select="translate(., '&lower;', '&upper;')"/>
</fo:inline>

</xsl:template>


<!--remove these interim features
<xsl:param name="section-automatic-page-break" select="'no'"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,12 @@
<xsl:apply-templates/>
</b>
</xsl:template>
<!-- Uppercasing normative keywords via <glossterm> -->

<xsl:template match="glossterm">
<xsl:value-of select="translate(., '&lower;', '&upper;')"/>
</xsl:template>


<!--the entire template has to change just to get italics and no bold-->
<xsl:template name="formal.object.heading">
Expand Down

0 comments on commit 1c9037b

Please sign in to comment.