+<xsl:template match="tabela|tabelka">
+ <cmd name="par" />
+ <cmd name="vspace"><parm>1em</parm></cmd>
+ <group><cmd name="raggedright" />
+ <env name="longtabu"> to <TeXML escape="0">\textwidth </TeXML>
+ <!--parm><cmd name="textwidth"/></parm-->
+ <parm><TeXML escape="0"><xsl:value-of select="@_format" /></TeXML></parm>
+ <xsl:choose>
+ <xsl:when test="@ramka='1' or @ramki='1'">
+ <!--parm><spec cat="vert"/>X[1,l]<spec cat="vert"/>X[1,l]<spec cat="vert"/>X[1,l]<spec cat="vert"/>X[1,l]<spec cat="vert"/>X[1,l]<spec cat="vert"/></parm-->
+ <cmd name="hline" />
+ <xsl:apply-templates mode="wiersze-ramki"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!--parm>XXXXX</parm-->
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </env>
+ </group>
+ <cmd name="vspace"><parm>1em</parm></cmd>
+</xsl:template>
+<xsl:template match="wiersz" mode="wiersze-ramki">
+ <xsl:apply-templates />
+ <spec cat="esc"/><spec cat="esc"/>
+ <cmd name="hline" gr="0" />
+</xsl:template>
+<xsl:template match="wiersz">
+ <xsl:apply-templates />
+ <spec cat="esc"/><spec cat="esc"/>
+</xsl:template>
+
+<xsl:template match="kol">
+ <xsl:apply-templates mode="inline"/>
+ <xsl:if test="position() < last()">
+ <spec cat="align"/>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="punkt">
+ <cmd name="punkt"><parm>
+ <xsl:choose>
+ <xsl:when test=".//akap">
+ <xsl:apply-templates />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="inline"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </parm></cmd>
+</xsl:template>
+<xsl:template match="lista">
+ <xsl:if test="@typ='num'">
+ <cmd name="listanum">
+ <parm><xsl:apply-templates /></parm>
+ </cmd>
+ </xsl:if>
+ <xsl:if test="@typ='punkt'">
+ <cmd name="listapunkt">
+ <parm><xsl:apply-templates /></parm>
+ </cmd>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="ilustr">
+ <cmd name="ilustr">
+ <parm><xsl:value-of select="@src" /></parm>
+ <parm><xsl:value-of select="@alt" /></parm>
+ </cmd>
+</xsl:template>
+