[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Removing the trailing period in chapter/section labels
Thanks Bob, When you update the manual, mentioning that the trailing period in the *toc* is controlled independently by the autotoc.label.separator parameter might save some folks a little groping as well. Or, it might be obvious to people who get more sleep than I do. Cheers, Jeff. -----Original Message----- From: Bob Stayton [mailto:bobs@sagehill.net] Sent: Wednesday, January 21, 2009 1:06 PM To: Jeff Hooker; DocBook Apps Mailing List Subject: Re: [docbook-apps] Removing the trailing period in chapter/section labels The last period comes from the generated text templates in common/en.xml: <l:template name="section" text="%n. %t"/> (non-breaking space replaced by ordinary space for clarity here). So you'll need to add a 'local.l10n.xml' parameter to your customization layer and include a customized gentext for this bit. I'll add this info to the "Label punctuation" section of my book in the next edition. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Jeff Hooker" <Jeff_Hooker@pmc-sierra.com> To: "DocBook Apps Mailing List" <docbook-apps@lists.oasis-open.org> Sent: Wednesday, January 21, 2009 12:04 PM Subject: [docbook-apps] Removing the trailing period in chapter/section labels Hi folks, This one is embarrassing, but I've pored over the scripts for hours and I still can't figure out how to dump the trailing period used in label numbers. Basically, the Docbook scripts give me "1.2.3.4. Title" and I need "1.2.3.4 Title". I know. This should be simple, and likely is. I just can't find it in the scripts or in the docs. I've found intralabel.punctuation template, but I need the template that inserts the punctuation for the *current* node, not the parents of the current node. Cheers, Jeff. --------------------------------------------------------------------- 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]