Re: Building PDFs error: \pdfendlink ended up in different nesting level than \pd

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Building PDFs error: \pdfendlink ended up in different nesting level than \pd
Date: 2011-01-28 03:36:12
Message-ID: 22027.1296185772@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Alvaro Herrera <alvherre(at)commandprompt(dot)com> 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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2011-01-28 03:39:45 Problem with documentation of upgrades
Previous Message Bruce Momjian 2011-01-28 03:31:32 title capitalization