OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] customize generated text


Le vendredi 21 janvier 2005, Bob Stayton disait :

>You are close.  By using the context="xref", you have changed the 
>generated
>text for cross references, but not for the title.  The chapter title is
>handled in the contexts with names "title", "title-numbered" and
>"title-unnumbered" in the gentext files.

Hum... Ok, I found that in common/fr.xsl

So I've changed the xref with title* but there is no change, chapter
stay Chapitre in french. :-(

This is my custom-layer file :

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
    <xsl:import
href="file:///Users/jacques/Applications/eclipse/plugins/com.oxygenxml.
editor_5.1.0/frameworks/docbook/xsl/fo/docbook.xsl"/>
    <xsl:param name="local.l10n.xml" select="document('')"/>
        <l:i8n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
        <l:l10n language="fr">
            <l:context name="title">
                <l:template name="chapter"
                    text="Article - %n &#8220;%t&#8821;"/>
            </l:context>
            <l:context name="title-numbered">
                <l:template name="chapter"
                    text="Article - %n &#8220;%t&#8821;"/>
            </l:context>
            <l:context name="title-unnumber">
                <l:template name="chapter" text="Article"/>
            </l:context>
        </l:l10n>
    </l:i8n>
    <xsl:param name="paper.type">A4</xsl:param>
</xsl:stylesheet>


Jacques
-- 
War is over, if you want it.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]