Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hzN7w-0003uw-RS for pgsql-hackers@arkaria.postgresql.org; Sun, 18 Aug 2019 15:29:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hzN7u-0002bI-GI for pgsql-hackers@arkaria.postgresql.org; Sun, 18 Aug 2019 15:29:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hzN7u-0002bB-4s for pgsql-hackers@lists.postgresql.org; Sun, 18 Aug 2019 15:29:50 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hzN7n-0008WL-8D for pgsql-hackers@lists.postgresql.org; Sun, 18 Aug 2019 15:29:48 +0000 Received: from [192.168.178.43] ([77.181.145.98]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1M72Xn-1hu9Ny0b6N-008bNT; Sun, 18 Aug 2019 17:29:33 +0200 Subject: Re: pgsql: doc: Add some images To: Alvaro Herrera , Peter Eisentraut Cc: pgsql-hackers@lists.postgresql.org References: <20190816200048.GA5514@alvherre.pgsql> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: <3a73caef-6892-14e7-d5e5-11ac19ab381a@purtz.de> Date: Sun, 18 Aug 2019 18:29:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190816200048.GA5514@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: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qH8TnqOfCM9NAaBXqrMbuKQwPz2f4U9BUtFP1CUNg5h8ZckNPP604 GQWF50PdJk1MGmMKMhijJcbNkIO4Q== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 16.08.19 23:00, Alvaro Herrera wrote: > 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 >> Author: Peter Eisentraut > 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? > Hello Alvaro, it is be possible that you face the following situation: the image subdirectory contains all ditaa and graphviz source files, but not all corresponding svg files. Those svg files are created by the given Makefile of this subdirectory resp. should be included in git (and patches - what was not the case in one of my patches). Can you acknowledge, that this is your starting situation when you miss the graphic in PDF? If no, please give us more information: operation system, ... . If yes, we have the following options: a) Make sure that all svg files exists in addition to the original source files (as it was originally planned) b) Run make in images subdirectory manually c) Append a line "    $(MAKE) -C images" to Makefile of sgml directory for PDF, HTML and EPUB targets to check the dependencies within the images subdirectory. Kind regards, Jürgen