Bug 785697
Summary: | Index range entries are incorrect and display the final page twice. | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Norman Dunbar <norman> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED NOTABUG | QA Contact: | Ruediger Landmann <rlandman+disabled> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.8 | CC: | rlandman+disabled |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-16 07:30:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Norman Dunbar
2012-01-30 11:51:45 UTC
Hi, I believe there may be an error in your example, to quote the docbook guide: Place an IndexTerm at the beginning of the range with Class set to StartOfRange and give this term an ID. Place another IndexTerm at the end of the range with StartRef pointing to the ID of the starting IndexTerm. This second IndexTerm must be empty. Your endofrange indexterm is not empty. If you remove all content does it work? e.g. <indexterm class="endofrange" startref="StartOfPTR" /> FYI we don't override any of the index code. Hi Jeff, Yes that fixed it - thanks. My own source of information was http://www.sagehill.net/docbookxsl/GenerateIndex.html#Indexterms and there, the example given is as follows: <indexterm class="startofrange" id="makestuff"> <primary>Makefiles</primary></indexterm> ... <indexterm class="endofrange" startref="makestuff"> <primary>Makefiles</primary></indexterm> So that's where my error comes from. I think we can close this one. Thanks again. Cheers, Norm. Cool, there are probably some people who would want it displayed that way :) |