I can't duplicate you problem. I just tried a small customization that imports 1.75.2 and sets the params you listed, and I get xrefs to sections showing as:
So it seems to work in the base stylesheets, and I cannot tell what is going wrong on your system. Are you using xrefstyle attributes in your xrefs?
----- Original Message -----
Sent: Friday, September 03, 2010 10:39 AM
Subject: [docbook-apps] XREF text/label issue
Hello,
I have an issue that has either popped up or I just realized it. It has to do with the XREF in certain instances it does not display the numbered sections (i.e "see 1.2.3 Start Up Procedures"). This is correct when referencing figures and chapters, but it leaves off the number reference on sections and procedures and just leaves the title.
I'm pretty sure I have done something silly in the customization so I tried a bare 1.75.2 stylesheet with the following additions but could not seem to activate the number references, so I can't really say for sure that it happens in the stock stylesheets.
<xsl:param name="xref.with.number.and.title">1</xsl:param>
<xsl:param name="section.label.includes.component.label">1</xsl:param>
<xsl:param name="section.autolabel">1</xsl:param>
<xsl:param name="section.autolabel.max.depth">10</xsl:param>
<xsl:param name="chapter.autolabel">1</xsl:param>
<xsl:param name="generate.section.toc.level">2</xsl:param>
<xsl:param name="toc.max.depth" select="6"></xsl:param>
<xsl:param name="label.from.part" select="1"></xsl:param>
<xsl:param name="component.label.includes.part.label" select="1"></xsl:param>
So two questions:
1. What do I need to do to activate the numbered references on the above customization. I would assume that the first line should do it?
2. Any ideas where to check? Is this a design issue in the DB XSL that I missed?
Thanks
Dean Nelson