Skip site navigation (1) Skip section navigation (2)

Re: PDF build issue with 9.0 Alpha5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: PDF build issue with 9.0 Alpha5
Date: 2010-04-02 18:50:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim(at)gunduz(dot)org> writes:
> I was trying to build PDF docs for 9.0 Alpha5, and I got this message:

> ! TeX capacity exceeded, sorry [number of strings=245830].

> I checked texmf.cnf, and all values match the ones that are defined in
> our docs. Which setting should I increase? Please note that Alpha4 PDF
> was built successfully on the same machine (an up2date Fedora 12). 

This looks rather nasty.  As best I can tell, there is a hard limit on
max_strings of 2^18; setting max_strings to more than that in texmf.cnf
does nothing.  Changing this would require modifying internal data
representations inside TeX.  That seems well beyond what anybody is
going to be willing to do to build the PG docs.

As a short-term expedient to get some alpha5 RPMs built, you could
disable generation of the index (remove "-i include-index" from

For an actual fix, it looks like we have got three alternatives:

* find out what's chewing up so many strings and get rid of it.

* break the manual into separate TeX documents (losing the ability to

* abandon TeX-based document output path.

			regards, tom lane

In response to


pgsql-docs by date

Next:From: Erik RijkersDate: 2010-04-02 19:50:05
Subject: Re: PDF build issue with 9.0 Alpha5
Previous:From: Magnus HaganderDate: 2010-04-02 15:29:44
Subject: Re: docs cleanup patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group