Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id CFB691337B51 for ; Thu, 27 Jan 2011 23:07:44 -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 62964-06 for ; Fri, 28 Jan 2011 03:07:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 45E791337B4F for ; Thu, 27 Jan 2011 23:07:37 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 1D684348028; Thu, 27 Jan 2011 19:07:37 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wrRDNGbpqWDK; Thu, 27 Jan 2011 19:07:35 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [200.126.113.239]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id AAAFD348026; Thu, 27 Jan 2011 19:07:34 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id CF7486E808; Fri, 28 Jan 2011 00:07:31 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Josh Kupershmidt , pgsql-docs Subject: Re: Building PDFs error: \pdfendlink ended up in different nesting level than \pd From: Alvaro Herrera To: Tom Lane In-reply-to: <9473.1296172647@sss.pgh.pa.us> References: <9473.1296172647@sss.pgh.pa.us> Date: Fri, 28 Jan 2011 00:07:31 -0300 Message-Id: <1296183966-sup-7475@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201101/43 X-Sequence-Number: 6335 Excerpts from Tom Lane's message of jue ene 27 20:57:27 -0300 2011: > http://tug.org/errors.html > explains that this error message occurs when a hyperlink would get split > across a page boundary in the PDF output. The recommended solution is > to adjust your text to prevent the link from being split, which is > probably sensible from a usability standpoint even if it's a PITA for > development. So that explains why we get the error from perfectly valid > SGML, why it comes and goes after seemingly-unrelated changes, and why > you sometimes see it only in US or only in A4 output. Wow, that sucks. One wonders why it doesn't go to the trouble of moving the entire para to the next page, or some such. > (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? -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support