Commit 8404d4e1 authored by Eva Huet's avatar Eva Huet
Browse files

TEI : fix styles locaux

parent c6e4351e
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -1231,6 +1231,11 @@
    <!--generic inline template -->
    <xsl:template match="tei:hi">
        <xsl:choose>
            <xsl:when test="contains(@rend, 'TEI_localcar')">
                <span class="{@rend}">
                    <xsl:apply-templates/>
                </span>
            </xsl:when>
            <xsl:when test="@rend='italic'">
                <i>
                    <xsl:apply-templates/>
@@ -1415,7 +1420,7 @@
            <xsl:if test="@rend">
                <xsl:attribute name="class" select="@rend"/>
            </xsl:if>
            <xsl:if test="parent::tei:body/tei:p[1] = . or parent::bodyInclusion/tei:p[1] = . or ancestor::tei:floatingText[@type='description']//tei:p[1] = .">
            <xsl:if test="(parent::tei:body/tei:p[1] = . or parent::bodyInclusion/tei:p[1] = . or ancestor::tei:floatingText[@type='description']//tei:p[1] = .) and not(preceding-sibling::tei:p[contains(@rend, 'TEI_localpara')])">
                <xsl:attribute name="class">firstPara</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates/>
@@ -2019,6 +2024,4 @@
    <xsl:template match="tei:text[@type='review']//tei:p[@rend='authority_mail']"/>
    <xsl:template match="tei:text[@type='review']//tei:p[@rend='authority_biography']"/>

    <!-- biblStruct : métadonnées du volume -->

</xsl:stylesheet>
 No newline at end of file