Bug 175592

Summary: .sp's get placed throughout man file text
Product: [Fedora] Fedora Reporter: Paul Dickson <paul>
Component: docbook-style-xslAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.69.1-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-19 12:05:05 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:
Bug Depends On:    
Bug Blocks: 150221    

Description Paul Dickson 2005-12-13 03:29:03 UTC
Description of problem:
xmlto is creating man files with the .sp groff commands not preceeded with a
space or linefeed.  Groff then doesn't see these and incorporates them into the
output text.

Version-Release number of selected component (if applicable):
xmlto-0.0.18-9

How reproducible:
Always

Steps to Reproduce:
1. yum install git-core-0.99.9a
2. man git-repack (although any of the man file will have this)
3.
  
Actual results:
Excerpt:

DESCRIPTION
       This script is used to combine all objects that do not currently reside
       in a "pack", into a pack..sp A pack is a collection of objects,
       individually compressed, with delta compression applied, stored in a
       single file, with an associated index file..sp Packs are used to reduce
       the load on mirror systems, backup engines, disk storage, etc..sp


Expected results:

DESCRIPTION
       This script is used to combine all objects that do not currently reside
       in a "pack", into a pack.

       A pack is a collection of objects, individually compressed, with delta
       compression applied, stored in a single file, with an associated index
       file.

       Packs are used to reduce the load on mirror systems, backup engines,
       disk storage, etc.


Additional info:
This may be due to xmlto's use of:
  http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
or xmlto's interpretation.

I downloaded
http://kernel.org/pub/software/scm/git/RPMS/SRPMS/git-0.99.9m-1.src.rpm and did
a "rpmbuild --rebuild" to verify the problem.

Comment 1 Tim Waugh 2005-12-13 10:02:25 UTC
Definitely a style-sheet issue; xmlto is a tiny shell script that just runs
xsltproc.

Comment 2 Tim Waugh 2005-12-13 10:03:00 UTC
Would be good to get this fixed for FC5.

Comment 3 Tim Waugh 2006-01-19 12:05:05 UTC
Fixed in docbook-style-xsl-1.69.1-3.