Loading ui/xsl/ead/ead2fo.xsl +23 −14 Original line number Diff line number Diff line Loading @@ -130,11 +130,7 @@ </fo:root> </xsl:template> <!-- <xsl:template match="ead:odd | ead:bibliography | ead:bibliography/ead:bibref"> <fo:block> <xsl:apply-templates/> </fo:block> </xsl:template> --> <!-- Gestion de la référence bibliographique qui se trouve dans le frontmatter--> Loading Loading @@ -290,20 +286,20 @@ <xsl:choose> <xsl:when test="@type"> <xsl:choose> <xsl:when test="not(parent::ead:odd)"> <fo:block xsl:use-attribute-sets="head1"> <xsl:when test="parent::ead:odd"> <fo:block xsl:use-attribute-sets="head2"> <xsl:value-of select="@type"/> </fo:block> </xsl:when> <xsl:otherwise> <fo:block xsl:use-attribute-sets="head2"> <fo:block xsl:use-attribute-sets="head1"> <xsl:value-of select="@type"/> </fo:block> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <fo:block xsl:use-attribute-sets="head2"> <fo:block xsl:use-attribute-sets="head1"> <xsl:choose> <xsl:when test="self::ead:accessrestrict"> <xsl:text>Conditions d’accès</xsl:text> Loading Loading @@ -357,7 +353,7 @@ <xsl:text>Documents en relation</xsl:text> </xsl:when> <xsl:when test="self::ead:scopecontent"> <xsl:text>Présentation du Contenu</xsl:text> <xsl:text>Présentation du contenu</xsl:text> </xsl:when> <xsl:when test="self::ead:separatedmaterial"> <xsl:text>Documents séparés</xsl:text> Loading @@ -369,9 +365,9 @@ </fo:block> </xsl:otherwise> </xsl:choose> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> <xsl:apply-templates/> </fo:block> </xsl:template> Loading @@ -381,6 +377,21 @@ </fo:block> </xsl:template> <xsl:template match="ead:head"> <xsl:choose> <xsl:when test="parent::ead:bibliography"> <fo:block xsl:use-attribute-sets="head2"> <xsl:apply-templates/> </fo:block> </xsl:when> <xsl:otherwise> <fo:block xsl:use-attribute-sets="head1"> <xsl:apply-templates/> </fo:block> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="ead:bibliography/ead:bibref | ead:bibliography/ead:p"> <fo:block xsl:use-attribute-sets="bibref"> <xsl:apply-templates/> Loading Loading @@ -412,14 +423,12 @@ </xsl:template> <xsl:template match="ead:head">## <xsl:apply-templates/> %%</xsl:template> <xsl:template match="ead:list/ead:head" mode="titre_liste"> <xsl:apply-templates select="node()"/> </xsl:template> <xsl:template match="ead:list/ead:head"></xsl:template> <!-- <xsl:template match="ead:head" mode="sanstitre"></xsl:template> --> <!-- Les mots clés --> <xsl:template match="ead:controlaccess/ead:geogname | ead:controlaccess/ead:subject | ead:controlaccess/ead:genreform | ead:controlaccess/ead:persname"> Loading ui/xsl/ead/styles/styles-fo.xsl +0 −8 Original line number Diff line number Diff line Loading @@ -99,14 +99,6 @@ <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="color">#0056b3</xsl:attribute> </xsl:attribute-set> <!-- <xsl:attribute-set name="head"> <xsl:attribute name="font-family">serif</xsl:attribute> <xsl:attribute name="padding-top">8pt</xsl:attribute> <xsl:attribute name="padding-bottom">10pt</xsl:attribute> <xsl:attribute name="font-size">10pt</xsl:attribute> <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="color">red</xsl:attribute> </xsl:attribute-set> --> <xsl:attribute-set name="head2"> <xsl:attribute name="font-family">serif</xsl:attribute> <xsl:attribute name="padding-top">4pt</xsl:attribute> Loading Loading
ui/xsl/ead/ead2fo.xsl +23 −14 Original line number Diff line number Diff line Loading @@ -130,11 +130,7 @@ </fo:root> </xsl:template> <!-- <xsl:template match="ead:odd | ead:bibliography | ead:bibliography/ead:bibref"> <fo:block> <xsl:apply-templates/> </fo:block> </xsl:template> --> <!-- Gestion de la référence bibliographique qui se trouve dans le frontmatter--> Loading Loading @@ -290,20 +286,20 @@ <xsl:choose> <xsl:when test="@type"> <xsl:choose> <xsl:when test="not(parent::ead:odd)"> <fo:block xsl:use-attribute-sets="head1"> <xsl:when test="parent::ead:odd"> <fo:block xsl:use-attribute-sets="head2"> <xsl:value-of select="@type"/> </fo:block> </xsl:when> <xsl:otherwise> <fo:block xsl:use-attribute-sets="head2"> <fo:block xsl:use-attribute-sets="head1"> <xsl:value-of select="@type"/> </fo:block> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <fo:block xsl:use-attribute-sets="head2"> <fo:block xsl:use-attribute-sets="head1"> <xsl:choose> <xsl:when test="self::ead:accessrestrict"> <xsl:text>Conditions d’accès</xsl:text> Loading Loading @@ -357,7 +353,7 @@ <xsl:text>Documents en relation</xsl:text> </xsl:when> <xsl:when test="self::ead:scopecontent"> <xsl:text>Présentation du Contenu</xsl:text> <xsl:text>Présentation du contenu</xsl:text> </xsl:when> <xsl:when test="self::ead:separatedmaterial"> <xsl:text>Documents séparés</xsl:text> Loading @@ -369,9 +365,9 @@ </fo:block> </xsl:otherwise> </xsl:choose> <xsl:apply-templates/> </xsl:otherwise> </xsl:choose> <xsl:apply-templates/> </fo:block> </xsl:template> Loading @@ -381,6 +377,21 @@ </fo:block> </xsl:template> <xsl:template match="ead:head"> <xsl:choose> <xsl:when test="parent::ead:bibliography"> <fo:block xsl:use-attribute-sets="head2"> <xsl:apply-templates/> </fo:block> </xsl:when> <xsl:otherwise> <fo:block xsl:use-attribute-sets="head1"> <xsl:apply-templates/> </fo:block> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="ead:bibliography/ead:bibref | ead:bibliography/ead:p"> <fo:block xsl:use-attribute-sets="bibref"> <xsl:apply-templates/> Loading Loading @@ -412,14 +423,12 @@ </xsl:template> <xsl:template match="ead:head">## <xsl:apply-templates/> %%</xsl:template> <xsl:template match="ead:list/ead:head" mode="titre_liste"> <xsl:apply-templates select="node()"/> </xsl:template> <xsl:template match="ead:list/ead:head"></xsl:template> <!-- <xsl:template match="ead:head" mode="sanstitre"></xsl:template> --> <!-- Les mots clés --> <xsl:template match="ead:controlaccess/ead:geogname | ead:controlaccess/ead:subject | ead:controlaccess/ead:genreform | ead:controlaccess/ead:persname"> Loading
ui/xsl/ead/styles/styles-fo.xsl +0 −8 Original line number Diff line number Diff line Loading @@ -99,14 +99,6 @@ <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="color">#0056b3</xsl:attribute> </xsl:attribute-set> <!-- <xsl:attribute-set name="head"> <xsl:attribute name="font-family">serif</xsl:attribute> <xsl:attribute name="padding-top">8pt</xsl:attribute> <xsl:attribute name="padding-bottom">10pt</xsl:attribute> <xsl:attribute name="font-size">10pt</xsl:attribute> <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="color">red</xsl:attribute> </xsl:attribute-set> --> <xsl:attribute-set name="head2"> <xsl:attribute name="font-family">serif</xsl:attribute> <xsl:attribute name="padding-top">4pt</xsl:attribute> Loading