Bug 616112

Summary: IDs not set on admonitions or varlistentry
Product: [Community] Publican Reporter: Douglas Silas <dhensley>
Component: publicanAssignee: Michael Hideo <mhideo>
Status: CLOSED ERRATA QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: jfearn, mmcallis, publican-list, r.landmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: publican-2.2-0.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-10 19:26:09 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Douglas Silas 2010-07-19 13:23:01 EDT
Description of problem: setting the ID of an important admonition does not cause an anchor to be generated for that element, even if it is referenced via an xref. The xref does generate an href anchor that, however, is missing from the target. 

This is probably similar to bug 595564.


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

version=2.1

How reproducible:

Steps to Reproduce:
1. xref to the ID of an important admonition
2. publican build (html-single in this case)
3. open document, click on link to admonition, no jump
  
Actual results:

nothing

Expected results:

jump to link

Additional info:

Generated link HTML is:

<a class="xref" href="#important-Smart_package_group_removal" title="Smart package group removal">Smart package group removal</a>

Generated target HTML is:

<h2>Smart package group removal</h2><a id="id4869860" class="indexterm"></a><a id="id4869872" class="indexterm"></a>
Comment 1 Douglas Silas 2010-07-19 13:42:36 EDT
Perhaps the creation of anchors for indexing overrides or affects the generated anchors?
Comment 2 Douglas Silas 2010-07-22 17:07:54 EDT
Note: this problem also occurs when linking to varlistentry elements.
Comment 3 Jeff Fearn 2010-08-04 02:04:14 EDT
Set IDs on admonitions & varlistentry

Fixed in Build: 2.1-0%{?dist}.t13
Comment 4 Ruediger Landmann 2010-08-06 00:26:53 EDT
Verified in 2.1.t20