[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] docbook xsl stylesheets: "in the section called"
Well, I'm no expert, but I believe this behavior is due to the fact that with the default value of section.autolabel (zero), the sections don't have labels. It makes little sense to reference Section 5-1: "Some Title" if section 5-1 isn't labeled 5-1. I guess this is why it says "the section called "Some Title". On 4/12/06, Paul DuBois <paul@kitebird.com> wrote: > This is due to some change that was made a few releases back. Presumably > there is some benefit to the change, but it also causes the problem that > you're observing, which is definitely a disadvantage. > > I find that this makes it go away and restores the former behavior: > > <xsl:param name="section.autolabel" select="1"/> > > > > On 4/12/06 17:43, "Alan Ezust" <alan.ezust@gmail.com> wrote: > > > I'm browsing through the docbook-xsl stylesheets trying to determine > > which template rule outputs the phrase "in the section called". > > > > I can see clearly in the common/en.xml, there is this: > > <l:gentext key="sectioncalled" text="the section called"/> > > > > But where in the xsl stylesheets, is it using this gentext key? > > Alternately, what is the easiest way to change the generated xref text > > from "in the section called %t" to just "Section %n" (where %t is the > > section title, and %n is the section number). > > > > Following the instructions in the docbook-xsl documentation, I was > > able to achieve exactly the kind of xrefs I wanted for Chapters, > > Examples, Figures, Appendix, but it seems that Section is handled in a > > special way. > > > > --------------------------------------------------------------------- > > 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 > > -- http://chris.chiasson.name/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]