Handle BoxListBullet

This commit is contained in:
Carol (Nichols || Goulding) 2022-09-06 11:27:07 -04:00 committed by Carol (Nichols || Goulding)
parent d1d0af3c08
commit 568562e065
2 changed files with 17 additions and 9 deletions

View File

@ -388,15 +388,14 @@ have. Relying on integer overflows wrapping behavior is considered an error.
> To explicitly handle the possibility of overflow, you can use these families
of methods provided by the standard library for primitive numeric types:
Unmatched: BoxListBullet
Unmatched: BoxListBullet
Unmatched: BoxListBullet
Unmatched: BoxListBullet
#### Floating-Point Types
> * Wrap in all modes with the `wrapping_*` methods, such as `wrapping_add`.
> * Return the `None` value if there is overflow with the `checked_*` methods.
> * Return the value and a boolean indicating whether there was overflow with
the `overflowing_*` methods.
> * Saturate at the values minimum or maximum values with the `saturating_*`
methods.
>
#### Floating-Point Types
Rust also has two primitive types for *floating-point numbers*, which are
numbers with decimal points. Rusts floating-point types are `f32` and `f64`,

View File

@ -97,6 +97,15 @@
</xsl:if>
</xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'BoxListBullet']]">
<xsl:text>> * </xsl:text>
<xsl:apply-templates select="*" />
<xsl:text>&#10;</xsl:text>
<xsl:if test="not(following-sibling::*[1][self::w:p]) or following-sibling::w:p[1][w:pPr/w:pStyle[@w:val != 'BoxListBullet']]">
<xsl:text>>&#10;</xsl:text>
</xsl:if>
</xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'BulletC' or @w:val = 'ListPlainC']]">
<xsl:text>* </xsl:text>
<xsl:apply-templates select="*" />