Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B25A5632D04 for ; Fri, 2 Apr 2010 15:50:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 17749-04 for ; Fri, 2 Apr 2010 18:50:20 +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 44BC3632725 for ; Fri, 2 Apr 2010 15:50:20 -0300 (ADT) 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 o32IoEZ7000346; Fri, 2 Apr 2010 14:50:15 -0400 (EDT) To: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= , Peter Eisentraut cc: pgsql-docs Subject: Re: PDF build issue with 9.0 Alpha5 In-reply-to: <1270189232.5018.7.camel@hp-laptop2.gunduz.org> References: <1270189232.5018.7.camel@hp-laptop2.gunduz.org> Comments: In-reply-to Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= message dated "Fri, 02 Apr 2010 09:20:32 +0300" Date: Fri, 02 Apr 2010 14:50:14 -0400 Message-ID: <345.1270234214@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/13 X-Sequence-Number: 5412 Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= 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 JADE.tex.call). 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 cross-reference). * abandon TeX-based document output path. regards, tom lane