Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 378071337B7A for ; Thu, 27 Jan 2011 23:36:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 74867-05 for ; Fri, 28 Jan 2011 03:36:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id D9ED61337B51 for ; Thu, 27 Jan 2011 23:36:14 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0S3aCRc022029; Thu, 27 Jan 2011 22:36:13 -0500 (EST) To: Alvaro Herrera cc: Josh Kupershmidt , pgsql-docs Subject: Re: Building PDFs error: \pdfendlink ended up in different nesting level than \pd In-reply-to: <1296183966-sup-7475@alvh.no-ip.org> References: <9473.1296172647@sss.pgh.pa.us> <1296183966-sup-7475@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Fri, 28 Jan 2011 00:07:31 -0300" Date: Thu, 27 Jan 2011 22:36:12 -0500 Message-ID: <22027.1296185772@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/45 X-Sequence-Number: 6337 Alvaro Herrera writes: > Excerpts from Tom Lane's message of jue ene 27 20:57:27 -0300 2011: >> (Note: if you just do "make postgres-A4.pdf", make will unhelpfully >> throw away the tex-pdf intermediate file upon error. What I have done >> when I needed to look is to explicitly "make postgres-A4.tex-pdf" and >> then "make postgres-A4.pdf", which keeps make from discarding the >> tex-pdf file when the second step fails. I wonder though if we could >> tweak the makefile to make this less inconvenient.) > Maybe mark it .PRECIOUS? Well, it is only an intermediate file, so not sure we want that. I was wondering more about a behavior where the file would be thrown away on successful completion but *not* if pdftex fails. I think we could have that if the sequence were folded into just one make rule ... is there a good reason for .tex-pdf to be a separate target? regards, tom lane