Обсуждение: Empty index in A4 version of 8.1 PDF documentation

Поиск
Список
Период
Сортировка

Empty index in A4 version of 8.1 PDF documentation

От
Benno Puetz
Дата:
I just downloaded the current documentation PDFs and found that the A4
version has no index whereas the US version does ...

Benno


Re: Empty index in A4 version of 8.1 PDF documentation

От
Alvaro Herrera
Дата:
Benno Puetz wrote:
> I just downloaded the current documentation PDFs and found that the A4
> version has no index whereas the US version does ...

That's probably because the A4 version got generated first and created
the index entries file as part of the process, while the Letter
version was able to reuse the file from the A4 run.

It would be neat to have some Makefile trickery to be able to detect
that the just-finished run was done without an index entries file and
and repeat the process in that case.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Re: Empty index in A4 version of 8.1 PDF documentation

От
Peter Eisentraut
Дата:
Alvaro Herrera wrote:
> That's probably because the A4 version got generated first and
> created the index entries file as part of the process, while the
> Letter version was able to reuse the file from the A4 run.

The index entries are only generated as a side effect of HTML builds.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: Empty index in A4 version of 8.1 PDF documentation

От
Tom Lane
Дата:
Alvaro Herrera <alvherre@commandprompt.com> writes:
> It would be neat to have some Makefile trickery to be able to detect
> that the just-finished run was done without an index entries file and
> and repeat the process in that case.

[ shrug... ] The standard solution is to run the build twice, no matter
what.  You have no way to be sure the existing index file is correct
even if it's present...

            regards, tom lane