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, 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-05 22:40:47 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David O'Brien 2012-08-09 01:08:07 EDT
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 02:24:34 EDT
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 00:53:46 EST
Dev note: check out --xsl-style-sheet option
Comment 4 Ruediger Landmann 2012-11-11 21:06:25 EST
*** Bug 875519 has been marked as a duplicate of this bug. ***
Comment 5 Ruediger Landmann 2012-11-12 19:54:07 EST
*** Bug 875969 has been marked as a duplicate of this bug. ***
Comment 6 Jeff Fearn 2013-01-14 01:54:27 EST
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-29 21:44:47 EST
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.