<xsl:text> .PP </xsl:text>
<xsl:for-each select="node()">
<xsl:choose>
- <xsl:when test="self::literallayout|self::informaltable|self::screen|self::programlisting|self::itemizedlist|self::orderedlist|self::variablelist">
+ <xsl:when test="self::literallayout|self::informaltable|self::screen|
+ self::programlisting|self::itemizedlist|
+ self::orderedlist|self::variablelist|self::simplelist">
<xsl:text> </xsl:text>
<xsl:apply-templates select="."/>
</xsl:when>
<xsl:for-each select="node()">
<xsl:choose>
<xsl:when test="self::literallayout|self::screen|self::programlisting|
- self::itemizedlist|self::orderedlist|self::variablelist">
+ self::itemizedlist|self::orderedlist|self::variablelist|
+ self::simplelist">
<xsl:text> </xsl:text>
<xsl:apply-templates select="."/>
</xsl:when>
<xsl:text>.LP .RE .IP </xsl:text>
</xsl:template>
+<!-- simplelist -->
+
+<xsl:template match="simplelist[@type='inline']">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='inline']/member">
+ <xsl:apply-templates/>
+ <xsl:text>, </xsl:text>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='inline']/member[position()=last()]"
+ priority="2">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='vert' and @columns='1']">
+ <xsl:text> .IP </xsl:text>
+ <xsl:apply-templates/>
+ <xsl:text>.LP </xsl:text>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='vert' and @columns='1']/member">
+ <xsl:apply-templates/>
+ <xsl:text> </xsl:text>
+</xsl:template>
+
</xsl:stylesheet>