pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers@lists.postgresql.org, Jürgen Purtz <juergen@purtz.de>
Subject: Re: pgsql: doc: Add some images
Date: Fri, 16 Aug 2019 16:00:48 -0400
Message-ID: <20190816200048.GA5514@alvherre.pgsql> (raw)
In-Reply-To: <E1h9Gp8-00089E-4B@gemulon.postgresql.org>

On 2019-Mar-27, Peter Eisentraut wrote:

> doc: Add some images
> 
> Add infrastructure for having images in the documentation, in SVG
> format.  Add two images to start with.  See the included README file
> for instructions.

> Author: Jürgen Purtz <juergen@purtz.de>
> Author: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

Now when I test Jürgen's new proposed image genetic-algorithm I find
that this stuff doesn't work in VPATH builds, at least for PDF -- I
don't get a build failure, but instead I get just a section title that
doesn't precede any actual image.  (There's a very small warning hidden
in the tons of other fop output).  If I edit the .fo file by hand to
make the path to .svg absolute, the image appears correctly.

I don't see any way in the fop docs to specify the base path for images.

I'm not sure what's a good way to fix this problem in a general way.
Would some new rule in the xslt would work?

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





view thread (6+ messages)  latest in thread

Message-ID: <20190816200048.GA5514@alvherre.pgsql>
Permalink:  ../20190816200048.GA5514@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190816200048.GA5514@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-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, peter@eisentraut.org, juergen@purtz.de
  Subject: Re: pgsql: doc: Add some images
  In-Reply-To: <20190816200048.GA5514@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