OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [docbook-apps] Corrupted PDF


On Jun  6, David Ashley (dashley@us.ibm.com) wrote:
 > All -
 > 
 > I seem to have reached some limit with a large document. The output is a 
 > large 6.5MB PDF. When you attempt to open it Acroread (or any other PDF 
 > reader) complains that the PDF is corrupt and it cannot be repaired. This 
 > started happening after I added a new section to the document that was not 
 > all that large. The following is my environment.
 > 
 > OS: Fedora Core 5 with the latest updates applied
 > Input document:  XML using v4.2 of the DTD
 > Output document: PDF
 > Stylesheet: DSSSL 1.79 with a small driver style sheet to enable section 
 > numbering
 > Command:  docbook2pdf -d ../shared/oorexx.dsl rexxref.sgml
 > 
 > There are no error or warning messages produced during the transformation.
 > 
 > If anyone has an idea of what I need to modify in order to create a valid 
 > PDF please let me know.
 > 
 > Thanks,
 > W. David Ashley
 > IBM Linux Technology Center
 > Linux Installation & Open Object Rexx Teams
 > IBM Phone: 512-838-0609 T/L 678-0609
 > Mobile Phone: 512-289-7506

docbook2pdf is a front end that performs multiple steps to get the final PDF,
so do a step at a time to see where the problem is.  It generates tex first,
then runs pdfjadetex to turn that into pdf.  You can try running docbook2dvi
and look at the output with xdvi.  Then, you can try running docbook2ps and
look at the output with gv.  If either of those work, you can try turning the
output into pdf with dvips followed by ps2pdf, or directly with dvipdf.  That
way, you can isolate which step is causing the corruption and/or find a work
around.

-- 
Neil Roeth


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]