public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jürgen Purtz <[email protected]>
To: [email protected]
Subject: Re: Docbook 5.x
Date: Thu, 12 May 2016 21:46:11 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<CAF4Au4zUVOuWjWc+B72yvvpVo=TJad6=x9chig7Ls9DNa7Kgrg@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (86+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Docbook 5.x
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox