Bug 489243

Summary: duplicate footnotes in PDF
Product: [Community] Publican Reporter: Dana Mison <dmison>
Component: publicanAssignee: Brian Forte <bforte>
Status: CLOSED NOTABUG QA Contact: Content Services Development <ecs-dev-list>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: bforte, jfearn, mmcallis, publican-list, rlandman
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-06 00:48:29 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 Dana Mison 2009-03-09 02:55:39 UTC
Description of problem:
If the same URL is repeated on a page it produces two identical footnotes.  It would be nice if Publican could detect this and reuse the first footnote for the subsequent ones.

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

How reproducible:
Everytime

Steps to Reproduce:
1.  Add two <ulink> elements that point to the same URL so they will appear on the same page.
2. Generate pdf
  
Actual results:
Two identical footnotes are produced 

Expected results:
One footnote referred to by both.

Additional info:
The docbook element <footnoteref> may be useful here.

Comment 1 Dana Mison 2009-03-09 06:47:13 UTC
by "nice" I mean "professional-looking" ;-)

Comment 2 Dana Mison 2009-04-06 00:42:13 UTC
It would also be great if a similar idea could be applied to all footnotes.  ie. if the content is identical and they are being rendered for the same page.

Comment 3 Jeff Fearn 🐞 2009-04-06 00:48:29 UTC
This behaviour would need to be done in FOP because publican can't know if two links are on the same page since the page is laid out by FOP.