pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Re: PDF building with FOP
Date: Sat, 11 Mar 2017 00:19:45 -0300
Message-ID: <20170311031945.dwj5w7lai26lvf4z@alvherre.pgsql> (raw)
In-Reply-To: <8533aa6b-0f07-9d76-af3b-1f8515b1365e@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

Peter Eisentraut wrote:

> The questions for those who are building PDFs are
> 
> - Can you make the build work?

It worked fine for me after installing the "fop" package.  No need to
rerun configure.

> - Does the output look OK?

It looks generally sane in a very quick skim, modulo the problems we've
always had with PDFs, such as tables 9-44 and 9-45 being completely
unusable.

> Some tips:  FOP is extremely memory hungry.  You will probably have to
> fiddle with some Java memory settings to make it work.  One way is by
> edting ~/.foprc and set something like
> 
> FOP_OPTS='-Xmx1200m'          # fop upstream binary installation
> ADDITIONAL_FLAGS='-Xmx1200m'  # centos/fedora
> JAVA_ARGS='-Xmx1200m'         # debian

I didn't have to change anything; it just worked out of the box.


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



view thread (6+ messages)  latest in thread

Message-ID: <20170311031945.dwj5w7lai26lvf4z@alvherre.pgsql>
Permalink:  ../20170311031945.dwj5w7lai26lvf4z@alvherre.pgsql/
Also on:    postgresql.org/message-id/20170311031945.dwj5w7lai26lvf4z@alvherre.pgsql

 · 

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: pgsql-docs@postgresql.org
  Cc: alvherre@2ndquadrant.com, peter.eisentraut@2ndquadrant.com
  Subject: Re: PDF building with FOP
  In-Reply-To: <20170311031945.dwj5w7lai26lvf4z@alvherre.pgsql>

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

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