[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: Slides XSL
You can nab stuff from the localization xmls with: <p> <b> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'TableofContents'"/> </xsl:call-template> </b> </p> If you need something from within one of the "contexts", such as: <l:context name="glossary"> <l:template name="see" text="See "/> <l:template name="seealso" text="See Also "/> </l:context> You need to do this (from fo/glossary.xsl): <xsl:call-template name="gentext.template"> <xsl:with-param name="context" select="'glossary'"/> <xsl:with-param name="name" select="'see'"/> </xsl:call-template> To customize/add to the localizations, follow these instructions: http://www.dpawson.co.uk/docbook/styling/custom.html#d54e355 David > -----Original Message----- > From: Togan Muftuoglu [mailto:toganm@users.sourceforge.net] > Sent: Sunday, January 06, 2002 3:51 PM > To: Docbook-apps > Subject: DOCBOOK-APPS: Slides XSL > > > Hi, > > Although I have added a feature request at sourceforge, I need help in > getting this sorted out before the feature is implied if sounds Ok -:) > > in slides.xsl line 235 > > <a href="{$toc.html}"> > <xsl:text>Contents</xsl:text> > </a> > > and in line 661 > <xsl:template match ="slides" mode="toc"> > <p><b>Table of Contents</b></p> > <dl> > <xsl:apply-template select="section|foil" mode="toc"/> > </dl> > </xsl:template> > > What do I need to do to get the them use gentext variables ? > I know the > shortcut is change them at these points yet I have no guarentee to > produce everything in Turkish :-) and I want to be as modular as > possible. > > Thanks > -- > Togan Muftuoglu >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC