4 The kindle seems to render certain lists with an extra line break.
5 To work around this for now, we remove the first <para> for itemized
9 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
11 <xsl:import href="@DOCBOOK_STYLESHEETS@/epub/docbook.xsl"/>
13 <xsl:template match="/">
20 <xsl:template match="itemizedlist/listitem/para[position() = 1]">
21 <!-- still process any anchors embedded in the <listitem> -->
22 <xsl:call-template name="anchor">
23 <xsl:with-param name="node" select="parent::listitem"/>
25 <xsl:apply-templates/>
28 <xsl:template match="orderedlist/listitem/para[position() = 1]">
29 <!-- still process any anchors embedded in the <listitem> -->
30 <xsl:call-template name="anchor">
31 <xsl:with-param name="node" select="parent::listitem"/>
33 <xsl:apply-templates/>