PDF generation problem solved for me

Gavin Henry ghenry at suretecsystems.com
Thu Apr 7 15:42:46 UTC 2005



<quote who="Tommy Reynolds">
> I've been looking into using Apache FOP to render PDF's, instead of the
> buggy-as-a-summer-night PassiveTeX.  While there is a FOP rewrite under
> way, the latest public version has a show-stopper bug triggered by
> DocBook projects larger than something trivial: the dreaded "duplicate
> id" bug.
>
> Riz Virk <Riz at cambridgedocs.com> kindly sent me a patch that appears to
> eliminate the bug.  I tried it out on a ~300 page document I'm writing
> and it rendered PDF just fine.  The patch is licensed under the Apache
> license, so it should be OK for our use here.
>
> The patch is attached.

Superb!!! I can't wait to test it!!!


> Just download the FOP source from
> http://government-grants.org/mirrors/apache.org/xml/fop/source/fop-0.20.5-src.tar.gz
> and then:
>
> Replace the file "src/org/apache/fop/datatypes/IDReferences.java" with
> the attached file.
>
> Go back to the top-level FOP directory and type:
>
> $ ant
>
> You'll need to get "ant" and the "java-1.4.2-gcj-compat-1.4.2.0-11jpp"
> packages from the "jpackage.org" YUM repository.  You'll also need the
> "gcc-java" RPM.
>
> If you don't want to go to this trouble, the 1.5MB "fop.jar" file is
> at: http://www.megacoder.com/fop/fop.jar
>
> This, plus the modified "xmlto" I did earlier may be good enough
> until the FOP rewrite is complete (no date for that, though).
>
> Cheers!
> --
> fedora-docs-list mailing list
> fedora-docs-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-docs-list




More information about the docs mailing list