Bug 846899

Summary: Too many formal objects get ToC entries in PDF
Product: [Community] Publican Reporter: David O'Brien <daobrien>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jmorgan, lcarlon, rglasz, rlandman+disabled, rrajasek, xma
Target Milestone: 3.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.1.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-06 03:40:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David O'Brien 2012-08-09 05:08:07 UTC
Description of problem:

The <subtitle> value appears as a child entry to <title> in the Nav Bar in pdf output.
Also true of authorgroup.

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

How reproducible:
Probably always

Steps to Reproduce:
1. build a pdf book with <title> and <subtitle>
2. Inspect the TOC/Nav bar on the left
3.
  
Actual results:

"Subtitle" appears as a child of "Title". Apparently this is also the case with "Author Group" but we don't use this in OpenShift so I can't verify. Rudi noticed.

Expected results:

Neither should appear in the TOC or Nav Bar.

Additional info:

Comment 1 Ruediger Landmann 2012-08-09 06:24:34 UTC
Just to clarify; the TOC/Nav bar is the one presented in the PDF reader, not the website; issue presents in (at least) Okular, Evince, XPDF, and Adobe Reader.

Comment 3 Jeff Fearn 🐞 2012-11-07 05:53:46 UTC
Dev note: check out --xsl-style-sheet option

Comment 4 Ruediger Landmann 2012-11-12 02:06:25 UTC
*** Bug 875519 has been marked as a duplicate of this bug. ***

Comment 5 Ruediger Landmann 2012-11-13 00:54:07 UTC
*** Bug 875969 has been marked as a duplicate of this bug. ***

Comment 6 Jeff Fearn 🐞 2013-01-14 06:54:27 UTC
Changed usage from H to DIV where items where required.

This fix has been committed to the devel branch for inclusion in Publican 3.1.

Comment 7 xuezhi ma 2013-01-30 02:44:47 UTC
Verify version: publican-3.1.0-0-el6eng.noarch -> PASS

Verify steps:
1. build a pdf book with <title> and <subtitle>
2. Inspect the TOC/Nav bar on the left

Actual results:
Title, subtitle and author group are appear in the TOC or Nav Bar.