There is no parameter for that, but you could do a customization.  All number 
labels are generated by processing an element in mode="label.markup".  Most of 
those templates are in common/labels.xsl, and there is one that matches on 
"figure|table|example" and one matching on "procedure".  You'll see how it adds 
a chapter number prefix, which you could replace by processing the closest 
ancestor section in mode="label.markup" to generate a 3.4.1 section number 
prefix.

That mode is used for the title, TOC, and xrefs, so they should all be 
consistent when you customize it.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


  ----- Original Message ----- 
  From: [EMAIL PROTECTED] 
  To: [email protected] 
  Sent: Tuesday, July 22, 2008 10:22 AM
  Subject: [docbook-apps] Figure and Procedure renumbering


  All,

  I am trying to find a way around this issue: 
  - in long chapters with many sections, figures can get a little lost ;-) When 
I have a figure in section 3.4.5 and its the second figure of the chapter, it 
is labeled as "Figure 3.2". The figures and procedures are labeled sequentially 
in the chapter, but I need them to be labeled a bit more sane - like Figure 
3.4.5-1 or 3.4-1 or something like that so that the user does not have to refer 
to the TOC to find the figure. This would help the xref's within the document 
to be more clear and useful.

  I could add the page number to the references, but that adds quite a bit of 
overhead in a "reference crowded" document.

  I've looked in the stylesheet parameter docs but nothing jumps out at me.

  Is there any help for the hurting? (The users have me by the throat and its 
rough out there ;-)

  Cheers,
  Dean Nelson







------------------------------------------------------------------------------
  Get fantasy football with free live scoring. Sign up for FanHouse Fantasy 
Football today.

Reply via email to