OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] XREF text/label issue


Bob,
I'm using just the simple xrefs with linkends pointing to IDs. That's what is so strange.
 
OK I just did some testing with clean 1.75.2 and it works as advertised with and without my customization. I had done some updates to the 1.75.2 from the subversion that seems to have broken some of the labeling. So maybe I need to try the new release candidate first before I try to dig out the updates to 1.75.2.
 
More later...
 
Dean
 
 
In a message dated 09/03/10 11:12:03 Pacific Daylight Time, bobs@sagehill.net writes:
Hi Dean,
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:
 
Section 1.2, "Section Title"
 
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?
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
From: deannelson
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
 
 
 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]