Bug 49677
Summary: | db2rtf generates an RTF file which has one line per page. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <vivekv> | ||||
Component: | docbook-utils | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | CC: | dcm | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-08-13 19:16:40 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: | |||||||
Attachments: |
|
Description
Need Real Name
2001-07-23 01:21:14 UTC
Please send me an example SGML document, or we might not be looking at the same thing. Thanks. Created attachment 24887 [details]
The sample file that demonstrates the problem and the generated RTF
Thanks. Okay, I see the same thing with MS-Word 2000. It isn't something obvious like unix2dosifying the file; I tried that. Do you know when this last worked, or has it always behaved like this? Actually I am using the db2xxx for the first time. I have always used openjade -t rtf -d .../print/docbook.dsl myfile.sgml to generate the files. That still works fine. The problem seems to be with db2xxx (the associated stylesheet I guess) Yes. The stylesheet is /usr/share/sgml/docbook/utils-*/docbook-utils.dsl. If you copy that file to /tmp/style.dsl and take out the section entitled 'Margins' (lines 175-227), and use db2rtf -d /tmp/style.dsl ..., does that work any better? After some experimentation, it seems that this bit is the problem: ;;How big do you want the margin at the bottom? (define %bottom-margin% (if (equal? %visual-acuity% "large-type") 7.5pi 2pi)) If I take that out, it works fine. Of course taking that out produces a rather large margin at the bottom of postscript files :\ - still, better than breakage I suppose. But bizarrely, if I change it to 9.5pi/8pi (from print/dbparam.dsl) rather than removing it altogether, it _still_ breaks. Why would that be? but if you remove it altogether it should default to what is in print/dbparam.dsl - are you sure it is not broken without it? Otherwise I would think that there is a bug in Norman's code which allows for these overrides to happen. I will ask him about it - we can remove for the release. I must have done something wrong before; you're right, there is no difference if overridden or not. Changing the '2pi' to '5pi' is sufficient to fix the problem, so I think I'll do that. yeah - that looks all right to me That change is in docbook-utils-0.6.9-2. |