Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D3157634752 for ; Fri, 2 Jul 2010 17:19:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 30868-02-5 for ; Fri, 2 Jul 2010 20:19:28 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id C7B3F6346C8 for ; Fri, 2 Jul 2010 17:19:29 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id o62KJQYq015845 for ; Fri, 2 Jul 2010 17:19:26 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id o62K80tT082150 for pgsql-docs@postgresql.org; Fri, 2 Jul 2010 17:08:00 -0300 (ADT) (envelope-from news) From: Chris Browne X-Newsgroups: pgsql.docs Subject: Re: Documentation and explanatory diagrams Date: Fri, 02 Jul 2010 15:23:20 -0400 Organization: cbbrowne Computing Inc Lines: 43 Message-ID: <87mxu9zo0n.fsf@cbbrowne.afilias-int.info> References: <201006302218.o5UMI7Y20379@momjian.us> <4C2CE863.9050109@usit.uio.no> <1278025728-sup-6251@alvh.no-ip.org> <1278035520.25901.1.camel@vanquo.pezone.net> <1278088510-sup-9250@alvh.no-ip.org> <15994.1278091116@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:wHk+5tm0UJZCwak0d69MTxy5aco= To: pgsql-docs@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-5 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/74 X-Sequence-Number: 5730 tgl@sss.pgh.pa.us (Tom Lane) writes: > Alvaro Herrera writes: >> Excerpts from Peter Eisentraut's message of jue jul 01 21:52:00 -0400 2010: >>> Is there something that makes installing dia more challenging than the >>> other documentation build tools? > >> Err, I dunno -- it's just an apt-get away for me, but what will Tom say >> when it doesn't work on his ancient HP-UX 10.20 system? > > I don't try to build the docs on that box anyway --- it does have > openjade but such an old version that they don't build. In practice > building the docs already takes much more modern infrastructure than > compiling the source code; and besides there are many fewer people > who care about doing it. > > A more interesting question is whether Marc can install a working > version of dia on whatever he uses to wrap the tarballs. Good news... It's not terribly difficult to use command line usage to get dia to export .png files. {wrox} dia --export=transport.png Transports.dia Transports.dia --> transport.png {wrox} file Transports.dia transport.png Transports.dia: gzip compressed data, from Unix transport.png: PNG image data, 753 x 774, 8-bit/color RGBA, non-interlaced So the makefile rule is pretty much: %.png : %.dia; dia --export=$@ $< I'll observe that while dia claims to be able to export in JPEG form, it doesn't necessarily work: {wrox} dia --export=transport.jpg Transports.dia ** (dia:946): CRITICAL **: dia error: do not know how to export into transport.jpg If we have a preference for JPEG, then that's presumably an ImageMagick run away... -- output = ("cbbrowne" "@" "gmail.com") http://linuxdatabases.info/info/languages.html HEADLINE: Suicidal twin kills sister by mistake!