Hi,

after some manual interventions (which must become part of an algorithm) it's possible to created the complete PDF file for the db4 production chain: *.sgml -- (perl) --> *.xml and after that step: postgres.xml -- (evaluate XInclude with xmllint) --> postgres_all.xml -- (xsltproc using standard db4 stylesheet) --> postgres_all.fo -- (fop) --> postgres_all.pdf. The fo/pdf generation takes about 1 minute.

Actually the layout of the resulting pdf file differs from the original one as I used only standard scripts without any adoption to the PostgreSQL styles. Additionally I'm missing some of the links.

Jürgen Purtz


On 04.05.2016 17:30, Jürgen Purtz wrote:
On 04.05.2016 16:51, Tom Lane wrote:
Ouch.  What about output to PDF?  While we don't care as much about
that as HTML for day-to-day use, it has to be feasible (ie, not hours).

            regards, tom lane

Actually I made tests using fop on single files (the converted sgml files). This works within seconds and in my very first mail from 2016-04-20 I added the results for the 'advanced.xml' file. When I try to convert the complete 'postgres_all.xml' file, fop crashes after some minutes. As fop is a Java application, it is possible that the assigned main memory is short (-Xms -Xmx, ...) - or it comes from some other Java specific issues. I will work on this in the next days.

Jürgen Purtz




--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to