[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Suppress "Part n." in <part> title/toc entry?
On 6/13/05 15:57, "Tristan Fiedler" <fiedler@cshl.edu> wrote: > Hi Paul, > > I recall this thread which may help. See the last line. > > http://lists.oasis-open.org/archives/docbook-apps/200502/msg00246.html Thanks very much! This message, together with the "TOC Title" section in Bob's book, gave me enough information to come up with the following, which I put in my customization layer to achieve the desired effect: <!-- This stuff overrides the default <part> title template of "Part %n. %t" to suppress the "Part n." preceding the title text. --> <xsl:param name="local.l10n.xml" select="document('')"/> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> <l:l10n language="en"> <l:context name="title"> <l:template name="part" text="%t"/> </l:context> </l:l10n> </l:i18n> > > Cheers, Tristan > --- > Tristan J. Fiedler > Postdoctoral Fellow - Stein Lab > Cold Spring Harbor Laboratory > On Jun 13, 2005, at 4:46 PM, Paul DuBois wrote: > >> I guess I should be able to figure this out from the material in Bob's >> book, >> but I have tried and failed, so I will ask here. >> >> I have a document that has major divisions within <part> elements. When >> these are formatted for PDF output, the titles appear like this in the >> document and in the TOC: >> >> Part I. Title of first part >> Part II. Title of second part >> Part III. Title of third part >> Part IV. Title of fourth part >> etc. >> >> I would like to suppress the "Part n." portion of these titles. Is >> there a >> way to do this? Thanks. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> > > > --------------------------------------------------------------------- > 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]