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] I don't understand how it works...

The uppercase version of key="Edition" is used in this context:

<xsl:template match="edition" mode="titlepage.mode">
  <xsl:apply-templates mode="titlepage.mode"/>
  <xsl:call-template name="gentext.space"/>
  <xsl:call-template name="gentext">
    <xsl:with-param name="key" select="'Edition'"/>

If you customize that l:gentext to be lowercase, it should work.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Jacques Foucry" <jacques@foucry.net>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, July 24, 2007 7:43 AM
Subject: [docbook-apps] I don't understand how it works...


I write my books in french. In the cover page I would like to have
the édition number (first -> première, second -> seconde, etc).

So in my book/info I've put
<edition os="linux2.4">Première</edition>
<edition os="linux2.6">Seconde</edition>

The result is, according of the os parameter :

Première Édition


Seconde Édition

The problem is the 'É' of édition which should be lower case ('é').

I try in my custom stylesheet something like that :

<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";
language="fr" english-language-name="French">
<l:gentext key="edition" text="édition"/>

But it does not work.

I tried something more stupid, just to see : changing in common/
fr.xml file the second Édition into édition.

The result still the same... So I don't understand how it works and
where I can do the change.

Thanks in advance for your help,
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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