Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0wYu-0005Nl-DL for pgsql-docs@arkaria.postgresql.org; Thu, 12 May 2016 19:46:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0wYs-0003ug-Io for pgsql-docs@arkaria.postgresql.org; Thu, 12 May 2016 19:46:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b0wYs-0003uZ-2d for pgsql-docs@postgresql.org; Thu, 12 May 2016 19:46:18 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1b0wYp-0005t9-Bo for pgsql-docs@postgresql.org; Thu, 12 May 2016 19:46:16 +0000 Received: from [192.168.178.26] ([84.165.223.202]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0MV4mL-1b6eYT1RTJ-00YQzn for ; Thu, 12 May 2016 21:46:12 +0200 Subject: Re: Docbook 5.x To: pgsql-docs@postgresql.org References: <57179283.6080704@purtz.de> <20160503193441.GA61759@alvherre.pgsql> <572A0AD2.2070909@purtz.de> <6339.1462373477@sss.pgh.pa.us> <572A158A.1000903@purtz.de> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: <5734DD83.5010506@purtz.de> Date: Thu, 12 May 2016 21:46:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <572A158A.1000903@purtz.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:NLEQtp9QJm1jL5Sv+JINguIEaIFuru40vDdq34Qjm64MksvtToq fmpsqIhlxvOv6mirPfoTaRcyJ/udlOlPQr4W7Dos32yzWOE1Wn1F5bhQznMXwIJDYVdJvW8 IwCkjzDWeUc7e0zZBgcCeD00HoGwrl+Ys6K5o0mn6eIOI3BS/0CKMpxQpW+8KqCae9O1drW 2KQCmN7SYBtnpcsCsteag== X-UI-Out-Filterresults: notjunk:1;V01:K0:uOw8a1PPNw8=:cv10Pd0nN6w0wAIGM1Miyx aN9ouUxwsdWZBgsKsDJ5IJwlT9W23Fvgg9OfpQ7PHcF2KXhpyMNVE6nWhORIZxbUJAsCUt+Ra sgUx31EaYmagRMytSw9F+BzP/cRHxOZTkLiKDwIHjCDz0/qT8ake3eIEb/smluidtUvAJIG0w C1RYRNws0paLk9GgiwhGL+Ecb6jfBWGiF2uUkOFiqmsTRZZi4uvSPKHWHJsW22TtFpcxVlVIJ CByXYjrCGE3u5gl+16DVX6jKg9lApIRGyF3tMrcXJw/aISGq8a04v5iX/9NH8Vcvic8vQEDwx k5Dqw90VOnsGWKZt9gCVkTAjToY+YiIH8rO6/bvb6zJ38rk/AngzRBLVvKsMx7gWG5ApkDiXG bRnJE4oyZxuQwuOgV57tkyHZ1uhZoKfB2EfulWSRI2VYTmhs0tDPBZO4Pmz9cMUlIWIY9Wxfm rpiE5f1Wfp0c8Wk/jd35vw/cV/wSQCDsDhtPEKsNKmodRJTigVZ6cQWwe/JQ8SpY+aPobDTVq trQh6DsJnvgfOL+hA/WrPaV8rlrpClxXuOENCKshhcmQ227pOxq/RP7nRoXHhAZrNPoCZ4fTd ju8E7koAUMTxvXQtLDKpaHJLxU+J6tdXwEvaow4fgQ0LRfk9SzXEscP+0whCGZvfKYQGrB5YL P9pWavwhrODekwEiLGxcUPBmrYGEiOpqk3wWQBMm94K+plHgIHMggccBnDE4ipNld/apqfnQj cTo1JhYk536MtZJJ X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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