Skip to content

Commit

Permalink
map default values for numeric figures and spacing to normal
Browse files Browse the repository at this point in the history
  • Loading branch information
mkraetke committed Oct 10, 2023
1 parent 4b62999 commit ddf56f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xsl/modules/prop-mapping/map-props.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,9 @@
<xsl:function name="docx2hub:docx-numeric-figures" as="xs:string?">
<xsl:param name="numeric-figures" as="attribute(w14:val)"/>
<xsl:choose>
<xsl:when test="$numeric-figures eq 'default'">
<xsl:sequence select="'normal'"/>
</xsl:when>
<xsl:when test="$numeric-figures eq 'oldStyle'">
<xsl:sequence select="'oldstyle-nums'"/>
</xsl:when>
Expand All @@ -1234,6 +1237,9 @@
<xsl:function name="docx2hub:docx-numeric-spacing" as="xs:string?">
<xsl:param name="numeric-spacing" as="attribute(w14:val)"/>
<xsl:choose>
<xsl:when test="$numeric-spacing eq 'default'">
<xsl:sequence select="'normal'"/>
</xsl:when>
<xsl:when test="$numeric-spacing eq 'proportional'">
<xsl:sequence select="'proportional-nums'"/>
</xsl:when>
Expand Down

0 comments on commit ddf56f5

Please sign in to comment.