cex: use the bullet in HTML

* data/xslt/xml2xhtml.xsl: here.
This commit is contained in:
Akim Demaille
2020-06-21 09:00:44 +02:00
parent 9e75066819
commit 3dd8f2305a
2 changed files with 7 additions and 2 deletions

5
TODO
View File

@@ -41,6 +41,11 @@ Use "•" instead of ".".
Not all the conflicts have counterexamples generated. See the "break"s in Not all the conflicts have counterexamples generated. See the "break"s in
counterexample_report_state. counterexample_report_state.
*** point, dot
We have too many names. In XML we use "point", in C "dot". A traditional
more accurate name of "item" is "pointed rule", so we should probably prefer
"point" to "dot".
** Bistromathic ** Bistromathic
- Hitting tab on a line with a syntax error is ugly - Hitting tab on a line with a syntax error is ugly

View File

@@ -531,12 +531,12 @@
<xsl:for-each select="rhs/*"> <xsl:for-each select="rhs/*">
<xsl:if test="position() = $point + 1"> <xsl:if test="position() = $point + 1">
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<span class="point">.</span> <span class="point">&#x2022;</span>
</xsl:if> </xsl:if>
<xsl:apply-templates select="."/> <xsl:apply-templates select="."/>
<xsl:if test="position() = last() and position() = $point"> <xsl:if test="position() = last() and position() = $point">
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<span class="point">.</span> <span class="point">&#x2022;</span>
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
<xsl:if test="$lookaheads"> <xsl:if test="$lookaheads">