Re: pdf does not build anymore

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Erik Rijkers <er(at)xs4all(dot)nl>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: pdf does not build anymore
Date: 2013-06-13 15:55:30
Message-ID: 20130613155530.GK5491@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
> > On Thu, Jun 13, 2013 at 3:45 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >> Also, FYI, this is claimed to be fixed in TeX Live 2012:
> >> https://bugzilla.redhat.com/show_bug.cgi?id=619481
> >> so a toolchain upgrade is the long-term answer.
>
> > Just to be clear, it's fixed in all texlive 2012 versions? Or just in
> > the fedora/RH patch?
>
> I don't think that Jindrich was claiming he'd fixed the bug himself;
> I read his comment as just that it'd been fixed by upstream. So it
> should be in everybody's versions.

I just tried on my laptop, which has wheezy and the same toolchain as
Borka; it took a few tries because the tex settings need some more
adjustments, but it is able to generate the 2960-page PDF.

BTW the advice we give about tex settings in our docs is outdated. I
first tried with the settings Kris Jurka suggested me years ago:
http://www.postgresql.org/message-id/Pine.BSO.4.64.0710081442210.18524@leary.csoft.net
but they are not enough; I had to raise pool_size for pdfjadetex even
more. Here's what I have that works. Maybe they're not all necessary,
but I really have no interest in pruning this. I put this in
/etc/texmf/texmf.d/20pgdocs.cnf and re-ran update-texmf:

hash_extra.jadetex = 32500
hash_extra.pdfjadetex = 500000
pool_size.jadetex = 500000
pool_size.pdfjadetex = 4000000
string_vacancies.jadetex = 45000
string_vacancies.pdfjadetex = 45000
max_strings.jadetex = 58500
max_strings.pdfjadetex = 500000
pool_free.jadetex = 47500
pool_free.pdfjadetex = 47500
nest_size.jadetex = 500
nest_size.pdfjadetex = 500
param_size.jadetex = 1500
param_size.pdfjadetex = 1500
save_size.jadetex = 5000
save_size.pdfjadetex = 50000
stack_size.jadetex = 1500
stack_size.pdfjadetex = 1500
extra_mem_bot.jadetex = 85000
extra_mem_bot.pdfjadetex = 85000

I also updated borka to have this configuration.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David Johnston 2013-06-14 02:20:05 Create Table ... Like Including Default & Sequences
Previous Message Tom Lane 2013-06-13 14:41:46 Re: pdf does not build anymore