Bug 578706 - Publican adds extra hyphens to screen examples
Summary: Publican adds extra hyphens to screen examples
Keywords:
Status: CLOSED DUPLICATE of bug 577068
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-01 05:55 UTC by David Jorm
Modified: 2014-10-21 00:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-06 01:15:05 UTC
Embargoed:


Attachments (Terms of Use)

Description David Jorm 2010-04-01 05:55:04 UTC
Description of problem:
Publican adds additional hyphens to screen examples. This only occurs for PDF rendering and does not occur for version 1.6.0.

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

How reproducible:


Steps to Reproduce:
1. Build a book using the snippet:

<screen>$ grep -E &#39;svm|vmx&#39; /proc/cpuinfo</screen>

2. The rendered PDF will show:
$ grep ­­--E ­-'svm|vmx' ­-/proc/cpuinfo
3. The rendered HTML is fine

Comment 1 Ruediger Landmann 2010-04-01 06:11:37 UTC
Confirmed that this is indeed a hyphenation issue:

when 

<xsl:-Param name="hyphenate.verbatim" select="0"/> 

in the pdf.xsl is changed to "1", the extra hyphen goes away, as with BZ 577068

Comment 2 Ruediger Landmann 2010-04-01 06:54:48 UTC
(In reply to comment #1)
> Confirmed that this is indeed a hyphenation issue:
> 
> when 
> 
> <xsl:-Param name="hyphenate.verbatim" select="0"/> 
> 
> in the pdf.xsl is changed to "1", the extra hyphen goes away, as with BZ 577068    

D'oh -- other way around, of course :)

Comment 3 Jeff Fearn 🐞 2010-04-06 01:15:05 UTC

*** This bug has been marked as a duplicate of bug 577068 ***


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