Bug 452802 - TOC numbering and xrefs are incorrect in pdf output
Summary: TOC numbering and xrefs are incorrect in pdf output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Michael Hideo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-25 07:10 UTC by David O'Brien
Modified: 2010-11-24 03:59 UTC (History)
2 users (show)

Fixed In Version: 0.34
Clone Of:
Environment:
Last Closed: 2008-06-26 04:37:56 UTC
Embargoed:


Attachments (Terms of Use)

Description David O'Brien 2008-06-25 07:10:54 UTC
Description of problem:

The numbering in the TOC in my pdf files is a bit odd, basically like this:

1. Chapter 1
1. Section 1
1.1 Sub-section 1
1.2 Sub-section 2
2. Section 2
2.1 Sub-section 1
2.2 Sub-section 2
3. Section 3
2. Chapter 2
ditto
3. Chapter 3
ditto

In the actual document, the chapters are not numbered; numbering starts at the
first section, so in one respect the TOC is correct, but it's confusing.

Just looking at the TOC, I expected (for the same layout):
1.
1.1.
1.1.1.
1.1.2.
1.2.
1.2.1.
etc.

https://engineering.redhat.com/docbot/en-US/Red_Hat_Enterprise_IPA/1.0/pdf/Administrators_Reference/Administrators_Reference.pdf


This also affects xrefs. Instead of an xref displaying as 'Section 3.1.1.2. "How
to do something"' it actually displays as 'Section 1.1.2. "How to do
something"'. It completely omits the chapter reference.

In the online pdf, the link actually works; i.e., clicking the link takes you to
the correct position in the doc, but it is very confusing to read and in the
hard-copy version there is no way of knowing the correct chapter.

See "Configuring Users and Groups" in
https://engineering.redhat.com/docbot/en-US/Red_Hat_Enterprise_IPA/1.0/pdf/Administration_Guide/Administration_Guide.pdf


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Section 1.1.2. "How to do something"

Expected results:
Section 3.1.1.2. "How to do something"

Additional info:

Comment 1 Jeff Fearn 🐞 2008-06-26 04:37:56 UTC
section.label.includes.component.label was not being set. This is now set.


Note You need to log in before you can comment on or make changes to this bug.