[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: Re: toc frame in slides
Is there a way to have a cascade/hierarchy of gentext modifications like you can with the templates? For example, if I have a set of core gentext modifications that all of my output formats use, but also have sets that are unique to html, fo, etc., I want all of my stylesheets to point to a common set of modifications, but also to override or add certain ones in certain cases. From what I can tell, using the local.l10n.xml method, you can only have one set of local gentext definitions per customization layer. I can imagine a way to do this with entities, but it seems cludgy. Thanks, David -----Original Message----- From: Norman Walsh [mailto:ndw@nwalsh.com] Sent: Friday, November 09, 2001 6:11 AM To: docbook-apps@lists.oasis-open.org Subject: DOCBOOK-APPS: Re: toc frame in slides / Martin Perina <martin.perina@ataco.cz> was heard to say: | > No template named "slides" exists in the context named "title" in the "en" localization. | | The same problem I've solved last night. You need to add line | | <l:template name="slides" text="%t"/> | | to section | | <l:context name="title> | | in file common/en.xml in your XSL stylesheets directory. Or put this in your customization layer: <xsl:param name="local.l10n.xml" select="document('')"/> <i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0"> <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> <l:context name="title"> <l:template name="slides" text="%t"/> </l:context> </l:l10n> </i18n> The next release of the slides doctype will include this by default. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | Some people tell you you should http://www.oasis-open.org/docbook/ | not drink claret after Chair, DocBook Technical Committee | strawberries. They are | wrong.--William Maginn ---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.oasis-open.org/ob/adm.pl>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC