Bug 601363 - cross reference not jumping to figures, tables
cross reference not jumping to figures, tables
Product: Publican
Classification: Community
Component: publican (Show other bugs)
alpha Linux
low Severity medium
: ---
: ---
Assigned To: Jeff Fearn
Fedora Extras Quality Assurance
: 603950 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2010-06-07 15:13 EDT by Kinman Cheung
Modified: 2010-11-23 23:19 EST (History)
4 users (show)

See Also:
Fixed In Version: 2.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-05 00:16:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kinman Cheung 2010-06-07 15:13:16 EDT
Description of problem:
The xref element generates the text for a figure or title correctly, but does not jump to that section of the html document when the link is clicked. Xref works as expected when used on sections.

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

How reproducible:
Open or edit an XML file and add a xref for a section, figure, and table. Add filler text, a subsection, image, and table that gets referenced. Build with publican and view the HTML.

Steps to Reproduce:
1. Open / edit a XML file
2. Add cross reference links: <xref linkend='foo1' />, <xref linkend='foo2' />, and <xref linkend='foo3' />
3. Add filler text (<para>whatever</para>) to stretch the page vertically
4. Add a diagram with <figure>:
  <figure id='foo1'><title>My Diagram</title>
        <imagedata contentwidth='100px' contentdepth='100px' align='center' fileref='images/my_diagram.png' format='PNG' />
5. Add a table:
  <table id='foo2'><title>My Table</title><tgroup cols='2'><tbody>
6. Add a subsection: <section id='foo3'><title>My Section</title><para>whatever</para></section>
7. build the HTML with publican
Actual results:
The links are generated with the correct text (Figure 1, "My Diagram", Table 1, "My Table", Section 1, "My Section") but only the link to the section actually jumps to the target.

Expected results:
The link to the table and the figure should also jump to their targets.

Additional info:
Tested with both double and single qoutes for linkend and id, bugged with both.
Actual file: file:///home/remote/kcheung/cc/RHCS8_CommonCriteria/Evidence_Documents/en-US/life-cycle/life-cycle_FLR.xml
Comment 1 Jeff Fearn 2010-06-09 00:07:30 EDT
ID's were not being set in the output for some formal objects.

Fixed in build 1.6.3-0.t99
Comment 2 Jeff Fearn 2010-06-14 20:45:03 EDT
*** Bug 603950 has been marked as a duplicate of this bug. ***

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