Bug 728561 - Part headings wrong in HTML and/or PDF output
Summary: Part headings wrong in HTML and/or PDF output
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.3
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ruediger Landmann
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-05 15:30 UTC by Norman Dunbar
Modified: 2013-07-04 06:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-04 06:11:52 UTC


Attachments (Terms of Use)

Description Norman Dunbar 2011-08-05 15:30:46 UTC
Description of problem:
When creating a book consisting of parts, the HTML and PDF output for the Part headings differ within the main TOC and in each "part" itself.

Version-Release number of selected component (if applicable):
Seen in publican 2.3 on Linux Mint 11.


How reproducible:
100%


Steps to Reproduce:
1. Create a book.
2. Add a part with this tag:

<part label="Part I">
<title>My Splendid Title</title>
..

3. Build HTML and/or PDF.
  

Actual results:
In the main Table Of Contents:

"Part I. My Splendid Title"

In the part itself:

"Part Part I. My Splendid Title"

If I remove the "Part " text from the label attribute on the <part> tag, I get the following:

In the main Table Of Contents:

"I. My Splendid Title"

In the part itself:

"Part I. My Splendid Title"


Expected results:
I expect both to be the same, viz:

In the main Table Of Contents:

"Part I. My Splendid Title"

In the part itself:

"Part I. My Splendid Title"


Additional info:
None.

Comment 1 Jeff Fearn 🐞 2013-07-04 06:11:52 UTC
We do not support using attributes for labels, it breaks translation.

To get this to work in Publican you'd need to:

1: make a custom brand
2: disable the auto labeling feature of upstream docbook xsl
3: possibly override some of Publican's custom xsl

Branding is our solution for when you disagree with us ;)

If you try to do this and can't get working I'm happy to help via the publican-list.


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