Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 4C80A6326BB for ; Thu, 29 Apr 2010 13:22:09 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 56478-03 for ; Thu, 29 Apr 2010 16:21:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.postgresql.org (Postfix) with SMTP id 69C07632E7C for ; Thu, 29 Apr 2010 13:22:00 -0300 (ADT) Received: (qmail invoked by alias); 29 Apr 2010 16:21:58 -0000 Received: from a88-115-218-165.elisa-laajakaista.fi (EHLO [10.0.0.101]) [88.115.218.165] by mail.gmx.net (mp009) with SMTP; 29 Apr 2010 18:21:58 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX19Rd8V1vQRRI3+oakt4sdXpaTZHV9rkHiX10RXhYe wt18M72FuGRak1 Subject: Re: Why the separate jade calls for pdf and ps output? From: Peter Eisentraut To: Tom Lane Cc: pgsql-docs@postgreSQL.org In-Reply-To: <12064.1272552836@sss.pgh.pa.us> References: <12064.1272552836@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Apr 2010 19:21:56 +0300 Message-ID: <1272558116.20671.4.camel@vanquo.pezone.net> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64000000000000001 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/95 X-Sequence-Number: 5494 On tor, 2010-04-29 at 10:53 -0400, Tom Lane wrote: > doc/src/sgml/Makefile asserts > > # Regular TeX and pdfTeX have slightly differing requirements, so we > # need to distinguish the path we're taking. > > However, diff'ing the results shows that the .tex-pdf and .tex-ps output > files are actually identical. Would it be reasonable to simplify the > Makefile by eliminating the separate build rules? I guess we'd have to > make an arbitrary choice between texdvi-output and texpdf-output flags. It has to do with graphics support, because tex and pdftex support different graphics formats. Since we don't currently have any graphics, it's dead code. I think you can actually do away with it anyway because TeX should support graphics file references without extensions, ISTR. So the actual reason for this might have been RTF support. If it's in the way, remove it. We can always add it back when someone wants to add a graphic. (And in that case we'll probably have to do some additional coding somewhere anyway.)